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: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Pete French
Sent: mardi 26 septembre 2006 12:24
To: [email protected]
Subject: Building a kernel with config ?

On Mon, 25 Sep 2006 11:34:42 -0700, "Kevin Oberman" <[EMAIL PROTECTED]>
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.
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

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.
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


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.
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to