Subject: Re: build.sh...
To: Greywolf <greywolf@starwolf.com>
From: Todd Vierling <tv@wasabisystems.com>
List: current-users
Date: 02/01/2002 09:19:15
On Thu, 31 Jan 2002, Greywolf wrote:

: 	Does build.sh actually work reliably yet?

In my opinion, yes.

: I want:
: 	objdirs to be suffixed with .system-release-arch.

Set OBJHOSTMACHINE= in mk.conf.

: 	build.sh to quit crapping out on me in various places.
:
: That in mind, I have had to add an install target in src/tools/compat
: [because nbmake isn't finding one].

There's zero problem finding one here.  Mind posting your build commands and
error dump?  The inclusion of <bsd.hostlib.mk> should provide a do-nothing
install target.

:  I am enclosing a nice little shell
: script I call 'tool', because I'm really sick of typing
:
: 	/usr/src/tools/tools.NetBSD-1.5ZA-i386/nbmake-i386
:
: every time I should just be able to call 'make' or something short,
: like 'tool nbmake-i386'.

You can actually put $TOOLDIR in $PATH if you so desire; the programs are
now namespace clean as far as that goes, so they won't clash with the rest
of your $PATH.

: Can someone tell me where I'm going wrong?

: NBUILDJOBS=3

This is the only thing I can see as a problem.  NBUILDJOBS doesn't appear to
be working correctly, and I really don't know why at this moment.  So this
should be left unset for now.

(Parallel "nbmake-i386 -jN" in most subdirs seems to work, but it completely
craps out at the top level for some reason.  This is on my to-do list.)

-- 
-- Todd Vierling <tv@wasabisystems.com>  *  Wasabi & NetBSD:  Run with it.
-- CDs, Integration, Embedding, Support -- http://www.wasabisystems.com/