the problem for compiling customized kernel

Marian Cerny jojo at matfyz.cz
Mon May 26 10:55:57 UTC 2008


On 2008-05-26 10:05 +0200, Thomas Nyström wrote:
> gahn skrev:
> >I have weird a problem to compile a customized kernel after I used
> >"freebsd-update" untility.
> >
> >I followed the exact instructions in the "handbook" and for some reasons'
> >it stuck with the "GENERIC":
> >
> >make buildkernel KERNELCONF=laptop
> >
> >During the compilation, I noticed, instead of using the customized
> >file "laptop->/root/kernels/laptop", the compilation uses the file 
> >"GENERIC".
> 
> Try using the command:
> 
> make buildkernel KERNCONF=laptop
> 
> instead, drop the letters 'EL' from the commandline!

You might find handy to put the following line into /etc/make.conf so
you don't have to keep in your mind what to put into command line when
rebuilding kernel:

KERNCONF ?= laptop

Marian Cerny


More information about the freebsd-current mailing list