From 00c44825d623855c59ed655999421c0bd3bad37d Mon Sep 17 00:00:00 2001 From: Bryan Drewery Date: Fri, 23 Jun 2017 18:26:47 +0000 Subject: [PATCH] packages: Allow staging world/kernel in parallel. MFC after: 2 weeks Sponsored by: Dell EMC Isilon --- Makefile.inc1 | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/Makefile.inc1 b/Makefile.inc1 index cd45ff43fa32..8244721238b9 100644 --- a/Makefile.inc1 +++ b/Makefile.inc1 @@ -1536,12 +1536,18 @@ package-pkg: .PHONY real-packages: stage-packages create-packages sign-packages .PHONY -stage-packages: .PHONY - @mkdir -p ${REPODIR} ${WSTAGEDIR} ${KSTAGEDIR} +stage-packages-world: .PHONY + @mkdir -p ${WSTAGEDIR} + ${_+_}@cd ${.CURDIR}; \ + ${MAKE} DESTDIR=${WSTAGEDIR} -DNO_ROOT stageworld + +stage-packages-kernel: .PHONY + @mkdir -p ${KSTAGEDIR} ${_+_}@cd ${.CURDIR}; \ - ${MAKE} DESTDIR=${WSTAGEDIR} -DNO_ROOT stageworld; \ ${MAKE} DESTDIR=${KSTAGEDIR} -DNO_ROOT stagekernel +stage-packages: .PHONY stage-packages-world stage-packages-kernel + create-packages: _pkgbootstrap .PHONY @mkdir -p ${REPODIR} ${_+_}@cd ${.CURDIR}; \