We need to .WAIT until 'prepare' is done, and then .WAIT until

'copy-releasedir' is done before doing 'image'.  Failure to do so
leads to a race condition that may result in build errors on
parallel builds with '-j 4' and '-j 16'.
This commit is contained in:
oster 2006-08-02 21:37:41 +00:00
parent 242dae6299
commit 066dca4e5e
1 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.bootcd,v 1.1 2006/06/02 22:35:22 hubertf Exp $
# $NetBSD: Makefile.bootcd,v 1.2 2006/08/02 21:37:41 oster Exp $
#
# Makefile snipped to create a CD/DVD ISO
#
@ -46,7 +46,7 @@ CLEANFILES+= bootxx
_INSTKERELNOBJDIR!= cd ${.CURDIR}/../../instkernel && ${PRINTOBJDIR}
dependall all: prepare copy-releasedir image
dependall all: prepare .WAIT copy-releasedir .WAIT image
prepare:
${MKDIR} cdrom