Subject: Re: kernel 'make install' problem?
To: None <current-users@NetBSD.org>
From: Alan Barrett <apb@cequrux.com>
List: current-users
Date: 05/28/2006 17:52:13
On Sun, 28 May 2006, Steven M. Bellovin wrote:
> > > I just build a kernel, using build.sh.  As I usually do, I did a
> > > 'cd' to the build directory and did a 'make install'.  It failed
> > > with these messages:
[...]
> > > Using nbmake from the tools directory didn't help;
[...]
> Why should a kernel build (well, install) reference something outside
> of the build tree?

You should probably be using ${TOOLDIR}/bin/nbmake-${ARCH} instead of
/usr/bin/make or ${TOOLDIR}/bin/nbmake.  That will set some variables to
prevent references outside the build tree.

--apb (Alan Barrett)