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:
parent
242dae6299
commit
066dca4e5e
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue