mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
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
This commit is contained in:
parent
3b828e4492
commit
bf0c0f96cf
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
||||
#
|
||||
|
|
|
|||
Loading…
Reference in a new issue