modular kernconf

Chuck Swiger cswiger at mac.com
Wed Feb 11 14:01:27 PST 2009


On Feb 11, 2009, at 12:31 PM, Buganini wrote:
[ ... ]
> This way I can customize my kernconf cleanly and easily.
> Like today I want to try USB2, I just change the GENERIC to USB2, then
> I got what I want.
>
> I dont like to make a replica GENERIC then modify it,
> because sometimes options in the SCHED section changes,
> and in this case, if I want to try USB2, things become dirty.
>
> Or any better ideas?

You should look into the way the include directive is used for the SMP  
and PAE kernels (ie, /usr/src/sys/i386/conf/SMP).  You can make  
specific changes to GENERIC to enable or disable things without having  
to roll an entire kernel config file....

Regards,
-- 
-Chuck



More information about the freebsd-current mailing list