From bf0c0f96cf58267dff54475fbcbe472208c5cf28 Mon Sep 17 00:00:00 2001 From: Bryan Drewery Date: Sat, 21 May 2016 01:31:51 +0000 Subject: [PATCH] WITH_META_MODE: Use META_MODE rather than .MAKE.MODE for buildkernel. This is mostly a style change so that other code does not duplicate it. The problem is when META_MODE needs to be disabled but it has been overridden by .MAKE.MODE. Sponsored by: EMC / Isilon Storage Division --- Makefile.inc1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.inc1 b/Makefile.inc1 index 36134f5f56c..0192155ec64 100644 --- a/Makefile.inc1 +++ b/Makefile.inc1 @@ -533,7 +533,7 @@ KMAKE= ${KMAKEENV} ${MAKE} ${.MAKEFLAGS} ${KERNEL_FLAGS} KERNEL=${INSTKERNNAME} .if ${MK_META_MODE} == "yes" # meta mode normally is disallowed when building from curdir==objdir, but we # want to allow it for the kernel build. -KMAKE+= .MAKE.MODE="${.MAKE.MODE} curdirOk=yes" +KMAKEENV+= META_MODE="${.MAKE.MODE} curdirOk=yes" .endif #