packages: Allow staging world/kernel in parallel.

MFC after:	2 weeks
Sponsored by:	Dell EMC Isilon
This commit is contained in:
Bryan Drewery 2017-06-23 18:26:47 +00:00
parent dd7b4c153a
commit 00c44825d6

View File

@ -1536,12 +1536,18 @@ package-pkg: .PHONY
real-packages: stage-packages create-packages sign-packages .PHONY real-packages: stage-packages create-packages sign-packages .PHONY
stage-packages: .PHONY stage-packages-world: .PHONY
@mkdir -p ${REPODIR} ${WSTAGEDIR} ${KSTAGEDIR} @mkdir -p ${WSTAGEDIR}
${_+_}@cd ${.CURDIR}; \
${MAKE} DESTDIR=${WSTAGEDIR} -DNO_ROOT stageworld
stage-packages-kernel: .PHONY
@mkdir -p ${KSTAGEDIR}
${_+_}@cd ${.CURDIR}; \ ${_+_}@cd ${.CURDIR}; \
${MAKE} DESTDIR=${WSTAGEDIR} -DNO_ROOT stageworld; \
${MAKE} DESTDIR=${KSTAGEDIR} -DNO_ROOT stagekernel ${MAKE} DESTDIR=${KSTAGEDIR} -DNO_ROOT stagekernel
stage-packages: .PHONY stage-packages-world stage-packages-kernel
create-packages: _pkgbootstrap .PHONY create-packages: _pkgbootstrap .PHONY
@mkdir -p ${REPODIR} @mkdir -p ${REPODIR}
${_+_}@cd ${.CURDIR}; \ ${_+_}@cd ${.CURDIR}; \