Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 May 2008 12:37:00 +0200
From:      Marian Cerny <jojo@matfyz.cz>
To:        gahn <ipfreak@yahoo.com>
Cc:        freebsd-current@freebsd.org, freebsd-questions@freebsd.org
Subject:   Re: the problem for compiling customized kernel
Message-ID:  <20080526103700.GA6137@icomvision.com>
In-Reply-To: <483A6F4B.50700@saeab.se>
References:  <655295.65067.qm@web52105.mail.re2.yahoo.com> <483A6F4B.50700@saeab.se>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080526103700.GA6137>