Subject: Re: 3.1 cross-build breaks with . in PATH
To: NetBSD Toolchain and Build Technical Discussion List <tech-toolchain@NetBSD.org>
From: der Mouse <mouse@Rodents.Montreal.QC.CA>
List: tech-toolchain
Date: 03/20/2007 17:48:27
[quotes reordered for replying convenience]

> E.g. NOCLEANDIR is essentially the same as "build.sh -u", no?

Close, but nto quite; -u sets MKUPDATE, which does more than just
NOCLEANDIR.

> USETOOLS is, it seems to me, mandatory -- as far as I can see you
> can't override it -- it is always set to "yes" when using build.sh

That seems like a bug to me; you should be able to do something like
"USETOOLS=never build.sh -D / build" to get more or less the effect of
a pre-build.sh "make build".

> TOOLDIR is definitely settable with "build.sh -T"

> I think all the rest can be controlled with "build.sh -V var=value"

Hm, despite my multiple readings through BUILDING, I managed to miss
those.  Thanks for pointing them out - and in the process pointing up a
problem with build.sh: it presents a form of feature overload, enough
that I missed two important things during multiple read-throughs of
BUILDING.

/~\ The ASCII				der Mouse
\ / Ribbon Campaign
 X  Against HTML	       mouse@rodents.montreal.qc.ca
/ \ Email!	     7D C8 61 52 5D E7 2D 39  4E F1 31 3E E8 B3 27 4B