DragonFly BSD
DragonFly users List (threaded) for 2009-10
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: you must buildworld before you buildkernel. why ?


From: Saifi Khan <saifi.khan@xxxxxxxxxxxxxxx>
Date: Tue, 13 Oct 2009 16:29:53 +0530 (IST)

On Mon, 12 Oct 2009, Robert Luciani wrote:

> > # make buildkernel KERNCONF=SYNERGY
> > You must buildworld before buildkernel.  If you wish
> > to build a kernel using native tools, config it manually
> > or use the nativekernel target if you are in a rush
> > *** Error code 1
> 
> The answer is staring you in the face:
> If you wish to build a custom kernel with native build tools (in other
> words the versions installed on your system as opposed to the versions
> in the source tree you've synced to) you can do it by using the
> nativekernel target.
> 
> # make KERNCONF=SYNERGY nativekernel
> 
> ~Robert
> 

Bob, thanks for pointing that out.

The line "You must buildworld before buildkernel ..." is
technically correct, but doesn't suggest what the user should do
if (s)he just has src-sys.tgz !

As i looked around (prior to your reply), the Handbook had a
section which mentioned,

"""
When only the kernel source is installed, you need to change
step 2, above, to this:

# make nativekernel KERNCONF=MYKERNEL
"""


thanks
Saifi.




[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]