From 8218636a63d1830b2c9587e4bf71dd2270298df7 Mon Sep 17 00:00:00 2001 From: bdrewery Date: Wed, 5 Jul 2017 19:24:38 +0000 Subject: [PATCH] Fix create-kernel-packages with multiple BUILDKERNELS after r320284 Submitted by: Kyle Evans Reviewed by: ngie --- Makefile.inc1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile.inc1 b/Makefile.inc1 index a3189cd84644..03b8322cf57c 100644 --- a/Makefile.inc1 +++ b/Makefile.inc1 @@ -1641,8 +1641,8 @@ create-kernel-packages-flavor${flavor:C,^""$,${_default_flavor},}: _pkgbootstrap .for _kernel in ${BUILDKERNELS:[2..-1]} .if exists(${KSTAGEDIR}/kernel.${_kernel}.meta) .for flavor in "" -debug -create-kernel-packages: create-kernel-packages-extra-flavor${flavor:C,^""$,${_default_flavor},} -create-kernel-packages-extra-flavor${flavor:C,^""$,${_default_flavor},}: _pkgbootstrap .PHONY +create-kernel-packages: create-kernel-packages-extra-flavor${flavor:C,^""$,${_default_flavor},}-${_kernel} +create-kernel-packages-extra-flavor${flavor:C,^""$,${_default_flavor},}-${_kernel}: _pkgbootstrap .PHONY @cd ${KSTAGEDIR}/kernel.${_kernel} ; \ awk -f ${SRCDIR}/release/scripts/mtree-to-plist.awk \ -v kernel=yes -v _kernconf=${_kernel} \