make buildkernel not -j >1 safe?

Thomas E. Spanjaard tgen at netphreax.net
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 
kern.fwd.mk should read something like this:

.ORDER: ${_MACHINE_FWD}/include/machine ${_FWDHDRS} assym.s ${_LHDRS}
. ORDER: ${_MACHINE_FWD}/include/machine ${_FWDHDRS} ${_LHDRS} 
${BEFORE_DEPEND} \
        genassym.o

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.

Cheers,
--
        Thomas E. Spanjaard
        tgen at netphreax.net
Attachment:
signature.asc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pgp00012.pgp
Type: application/octet-stream
Size: 186 bytes
Desc: "Description: OpenPGP digital signature"
URL: <http://lists.dragonflybsd.org/pipermail/bugs/attachments/20061213/1376b5e3/attachment-0022.obj>


More information about the Bugs mailing list