Thread: build a kernel
View Single Post
Old 18th December 2015
IdOp's Avatar
IdOp IdOp is offline
Too dumb for a smartphone
Join Date: May 2008
Location: twisting on the daemon's fork(2)
Posts: 836

Originally Posted by philo_neo71 View Post
Whitch file configuration can i apply my parametres ?
it's GENERIC 's file ?
You could, but then your custom kernel would still identify itself as GENERIC, e.g., in uname output. This could be confusing to you, and certainly to others if you reported a problem.

So, the recommended way it to copy the GENERIC file in the usr/src/sys/arch/.../conf/ directory to another unique file in that directory, say, MY_KERNEL. Then make your changes to the new config file and compile with

% ./ ... kernel=MY_KERNEL

Replacing MY_KERNEL with a more descriptive name would be wise.
Reply With Quote