Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Sep 2006 11:23:24 -0400
From:      Sean Bryant <sean@cyberwang.net>
To:        "Gouverneur, Thomas" <tgouverneur@be.tiauto.com>
Cc:        "'freebsd-stable@freebsd.org'" <freebsd-stable@freebsd.org>, 'Pete French' <petefrench@ticketswitch.com>
Subject:   Re: Building a kernel with config ?
Message-ID:  <451945EC.6040300@cyberwang.net>
In-Reply-To: <B6D948D84090A54ABCD88AA391DAAC8C049CF550@tiasbel00ex00.be.eu.tiauto.com>
References:  <B6D948D84090A54ABCD88AA391DAAC8C049CF550@tiasbel00ex00.be.eu.tiauto.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Gouverneur, Thomas wrote:
> Make buildkernel KERNCONF=CONFIG
> Make installkernel KERNCONF=CONFIG
> 
> 
> This is enough for only compiling kernel and not world and this is the 
> Smartest way according to FreeBSD handbook.
> 
> --
> Thomas Gouverneur
> Junior UNIX Administrator
> TI Automotive
> 
> -----Original Message-----
> From: owner-freebsd-stable@freebsd.org
> [mailto:owner-freebsd-stable@freebsd.org] On Behalf Of Pete French
> Sent: mardi 26 septembre 2006 12:24
> To: freebsd-stable@freebsd.org
> Subject: Building a kernel with config ?
> 
>> On Mon, 25 Sep 2006 11:34:42 -0700, "Kevin Oberman" <oberman@es.net>
> wrote:
>> 2. Building a kernel with config is not officially supported. It's at
>>   your risk and may not work in all cases. Build a kernel with:
>>   cd /usr/src
>>   make buildkernel
> 
> I was not aware that you wern't supposed to use config anymore - and I
> am not convinced that the suggested alternative is actually a replacement
> as I thought that buildkernel required you to have built the world first ?
> Is this no longer true ? If it *is* true thhen what is the alternative to
> using 'config' which should be used if you are on a system where you do
> not have the time or the disc space to rebuild the world and simply want
> to recompile the kernel ?
> 
> -pete.
> _______________________________________________
> freebsd-stable@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"
> 
> The information contained in this transmission may contain privileged and confidential information.  It is intended only for the use of the person(s) named above. If you are not the intended recipient, you are hereby notified that any review, dissemination, distribution or duplication of this communication is strictly prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message.
> _______________________________________________
> freebsd-stable@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"


Another way you could achieve the same thing is:
make kernel KERNCONF=KERNNAME

this will combine both steps in to one.
Also for those who want to omit the KERNCONF step set KERNCONF in 
/etc/make.conf and you can omit the KERNCONF argument.

Its sometimes nice to keep things really simple.



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