make buildkernel not -j >1 safe?

Thomas E. Spanjaard tgen at
Wed Dec 13 11:34:14 PST 2006

Thomas E. Spanjaard wrote:
It seems the BEFORE_DEPEND stuff is done too soon. Perhaps the .ORDER in should read something like this:

.ORDER: ${_MACHINE_FWD}/include/machine ${_FWDHDRS} assym.s ${_LHDRS}
. ORDER: ${_MACHINE_FWD}/include/machine ${_FWDHDRS} ${_LHDRS} 

Only fixes the BEFORE_DEPEND stuff, but not genassym.o.

genassym.o: $S/machine/$P/$M/genassym.c forwarding-headers

Fixes the latter. I'll try some more things later on, but this appears 
to work. I'll see what the minimum required is (maybe just the 
additional dependency on the forwarding-headers target for genassym.o is 
enough), and then commit that if no objections arise.

        Thomas E. Spanjaard
        tgen at
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pgp00012.pgp
Type: application/octet-stream
Size: 186 bytes
Desc: "Description: OpenPGP digital signature"
URL: <>

More information about the Bugs mailing list