From 066dca4e5ea4e327cb6367d7dd03c740bf11dc74 Mon Sep 17 00:00:00 2001 From: oster Date: Wed, 2 Aug 2006 21:37:41 +0000 Subject: [PATCH] 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'. --- distrib/common/Makefile.bootcd | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/distrib/common/Makefile.bootcd b/distrib/common/Makefile.bootcd index 5ccbf2188834..bd2935a358a8 100644 --- a/distrib/common/Makefile.bootcd +++ b/distrib/common/Makefile.bootcd @@ -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