On Thu, Jan 18, 2001 at 10:13:15AM +0200, Neil Blakey-Milner wrote:
> Hi,
> 
> I've kept on forgetting to apply a patch similar to this one.
> 
> "make buildkernel" currently fails if a "make buildworld" has not
> previously been done on the machine (and still has the populated object
> environment) because OBJFORMAT_PATH is explicitly set to only use
> ${WORLDTMP}/usr/libexec.  At least for the kernel build phase, this may
> be an error, since we already use 'gcc', 'ld', and friends from $PATH.
> 
> Anyway, the attached patch fixes at least buildkernel in the way most
> obvious to me, but I'm sure there may be a more useful place to place
> the addition of OBJFORMAT_PATH, since $PATH is made to include the
> supplied $PATH environment variable in many other places.  I'm not
> willing to make a judgement whether using the supplied OBJFORMAT_PATH is
> correct in any of those places, but I wish to fix the buildkernel
> target.

Hear hear.  We had to back out the 'make buildkernel' within PicoBSD
because there was no guarentee that the user had ever done a make
buildworld.  Additionally if you do an
        env MAKEOBJDIRPREFIX=/usr/myobj make buildkernel
you have the same problem even if someone did do a make buildworld.

Joe


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

Reply via email to