NetBSD-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Does build.sh dump things into /usr/obj/ ?
On Sat, 07 Jun 2008 12:35:53 +0200
Christian Baer <christian.baer%uni-dortmund.de@localhost> wrote:
> Steven M. Bellovin wrote:
>
> >> Read /usr/src/BUILDING for details. The answer to the specific
> >> question is that it builds into /usr/src. I suspect FreeBSD has a
> >> better answer...
> >>
> > I'm told that I'm wrong, and that if /usr/obj exists NetBSD will
> > DTRT.
> >
> > Personally, I have a script that puts obj, tools, netbsd, and
> > release under /usr/BUILD, so I can wipe them all out very easily
> > when I want to do a clean build.
>
> I don't suppose, you'd care to share that script?
I'd be embarrassed to post it... But here's the heart of it:
PATH=$PREFIX/tools/bin:$PATH /usr/src/build.sh $update -j 3 \
-D $PREFIX/netbsd \
-O $PREFIX/obj \
-T $PREFIX/tools \
-R $PREFIX/release \
$* \
kernel=$host
--Steve Bellovin, http://www.cs.columbia.edu/~smb
Home |
Main Index |
Thread Index |
Old Index