packages: Allow creating kernel/world packages in parallel.
MFC after: 2 weeks Sponsored by: Dell EMC Isilon
This commit is contained in:
parent
00c44825d6
commit
48c22674a8
@ -1548,15 +1548,22 @@ stage-packages-kernel: .PHONY
|
|||||||
|
|
||||||
stage-packages: .PHONY stage-packages-world stage-packages-kernel
|
stage-packages: .PHONY stage-packages-world stage-packages-kernel
|
||||||
|
|
||||||
create-packages: _pkgbootstrap .PHONY
|
_repodir: .PHONY
|
||||||
@mkdir -p ${REPODIR}
|
@mkdir -p ${REPODIR}
|
||||||
|
|
||||||
|
create-packages-world: _pkgbootstrap _repodir .PHONY
|
||||||
${_+_}@cd ${.CURDIR}; \
|
${_+_}@cd ${.CURDIR}; \
|
||||||
${MAKE} DESTDIR=${WSTAGEDIR} \
|
${MAKE} DESTDIR=${WSTAGEDIR} \
|
||||||
PKG_VERSION=${PKG_VERSION} create-world-packages ; \
|
PKG_VERSION=${PKG_VERSION} create-world-packages
|
||||||
|
|
||||||
|
create-packages-kernel: _pkgbootstrap _repodir .PHONY
|
||||||
|
${_+_}@cd ${.CURDIR}; \
|
||||||
${MAKE} DESTDIR=${KSTAGEDIR} \
|
${MAKE} DESTDIR=${KSTAGEDIR} \
|
||||||
PKG_VERSION=${PKG_VERSION} DISTDIR=kernel \
|
PKG_VERSION=${PKG_VERSION} DISTDIR=kernel \
|
||||||
create-kernel-packages
|
create-kernel-packages
|
||||||
|
|
||||||
|
create-packages: .PHONY create-packages-world create-packages-kernel
|
||||||
|
|
||||||
create-world-packages: _pkgbootstrap .PHONY
|
create-world-packages: _pkgbootstrap .PHONY
|
||||||
@rm -f ${WSTAGEDIR}/*.plist 2>/dev/null || :
|
@rm -f ${WSTAGEDIR}/*.plist 2>/dev/null || :
|
||||||
@cd ${WSTAGEDIR} ; \
|
@cd ${WSTAGEDIR} ; \
|
||||||
|
Loading…
Reference in New Issue
Block a user