Subject: Re: toolchain/21563: latest crunchgen break build.sh -j x for x >= 4
To: <>
From: David Laight <david@l8s.co.uk>
List: netbsd-bugs
Date: 05/15/2003 18:59:30
> The 'problem' is all to do with the 'realall' target in bsd.prog.mk
> being invoked at the wrong time and/or with the wrong makefile.

I've fxed it (I hope) by making Makefile.crunch build '${PROG}.crunched'
instead of 'all'.  This stops a load of baggage (requests to build ${PROG})
being picked up from bsd.own.mk and bsd.prog.mk.

I suspect it could be fixed by adding a .WAIT (or two or three) into
the relevant places in bsd.{own,prog}.mk but that placing got me completely
beaten :-(

There is a slight side effect that I don't think there is a dependency
present that will force the ${PROG}.mk file to be rebuilt...

	David

-- 
David Laight: david@l8s.co.uk