From 0d26206d040af150c18ff67b0456da73404b2299 Mon Sep 17 00:00:00 2001 From: Bryan Drewery Date: Tue, 10 Jul 2018 21:20:49 +0000 Subject: [PATCH] Fix parsing of create-kernel-packages MFC after: 3 days Reported by: rene --- Makefile.inc1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.inc1 b/Makefile.inc1 index f84142bdda2d..1aeab3a26c93 100644 --- a/Makefile.inc1 +++ b/Makefile.inc1 @@ -1798,12 +1798,12 @@ create-world-package-${pkgname}: .PHONY -o ${REPODIR}/$$(${PKG_CMD} -o ABI_FILE=${WSTAGEDIR}/bin/sh config ABI)/${PKG_VERSION} .endfor -create-kernel-packages: .PHONY _default_flavor= -default .if make(*package*) && exists(${KSTAGEDIR}/kernel.meta) . if ${MK_DEBUG_FILES} != "no" _debug=-debug . endif +create-kernel-packages: .PHONY . for flavor in "" ${_debug} create-kernel-packages: create-kernel-packages-flavor${flavor:C,^""$,${_default_flavor},} create-kernel-packages-flavor${flavor:C,^""$,${_default_flavor},}: _pkgbootstrap .PHONY