"make buildworld" -- builds the kernel and the libraries (both kernel and
user level)

"make buildkernel" -- builds only the kernel

You can build kernels with different configuration files using "make
buildkernel KERNCONF=<kernel2>". Once you do the 'build', the kernel image
is stored as /kernel

More information in the FreeBSD Handbook. http://www.freebsd.org


Pavan Balaji,
Intel Corporation

    "Only the Paranoid Survive"  --  Andy Grove


> -----Original Message-----
> From: John Mills [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, July 16, 2002 10:04 PM
> To: FreeBSD-questions
> Subject: Question on order and targets of kernel and world builds
> 
> 
> Hello -
> 
> I would appreciate a bit more information on the 'world' and 'kernel'
> building process. Please point me at the right section of the 
> Handbook or
> Greg's book if there is a succinct description.
> 
> I have been doing 'CVSUP' followed by:
> 
> # make buildworld
> # make installworld
> # make buildkernel
> # make installkernel
> 
> without really knowing if this was a useful order or exactly 
> what I was
> accomplishing with each target. My question is:
> 
>  1) Can I 'make buildworld' to create my tools and supporting 
> files, then
>  2) Use the newly made "world" to 'make buildkernel', and then
>  3) 'make installworld; make installkernel' to install these 
> new filesets
>     for general use?
> 
> I would like to know if this is an acceptable and 
> conservative way to do a
> rebuild, and to better understand what I get at each step.
> 
> TIA for any guidance.
> 
>  - John Mills
> 
> 
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-questions" in the body of the message
> 

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message

Reply via email to