Fix parsing of create-kernel-packages

MFC after:	3 days
Reported by:	rene
This commit is contained in:
Bryan Drewery 2018-07-10 21:20:49 +00:00
parent 072ffd4b20
commit 0d26206d04

View File

@ -1798,12 +1798,12 @@ create-world-package-${pkgname}: .PHONY
-o ${REPODIR}/$$(${PKG_CMD} -o ABI_FILE=${WSTAGEDIR}/bin/sh config ABI)/${PKG_VERSION} -o ${REPODIR}/$$(${PKG_CMD} -o ABI_FILE=${WSTAGEDIR}/bin/sh config ABI)/${PKG_VERSION}
.endfor .endfor
create-kernel-packages: .PHONY
_default_flavor= -default _default_flavor= -default
.if make(*package*) && exists(${KSTAGEDIR}/kernel.meta) .if make(*package*) && exists(${KSTAGEDIR}/kernel.meta)
. if ${MK_DEBUG_FILES} != "no" . if ${MK_DEBUG_FILES} != "no"
_debug=-debug _debug=-debug
. endif . endif
create-kernel-packages: .PHONY
. for flavor in "" ${_debug} . for flavor in "" ${_debug}
create-kernel-packages: create-kernel-packages-flavor${flavor:C,^""$,${_default_flavor},} create-kernel-packages: create-kernel-packages-flavor${flavor:C,^""$,${_default_flavor},}
create-kernel-packages-flavor${flavor:C,^""$,${_default_flavor},}: _pkgbootstrap .PHONY create-kernel-packages-flavor${flavor:C,^""$,${_default_flavor},}: _pkgbootstrap .PHONY