For debugging we sometimes run makefiles forcing level > 0

Ensure setup that should have happened at level 0 is done.
This commit is contained in:
Simon J. Gerraty 2015-06-11 13:51:52 +00:00
parent de1eae5ccb
commit 92f755617b

View File

@ -4,7 +4,7 @@
# XXX some of this should be in meta.sys.mk
# we assume that MK_META_MODE=yes
.if ${.MAKE.LEVEL} == 0
.if empty(OBJROOT) || ${.MAKE.LEVEL} == 0
.if !empty(SB)
SB_OBJROOT ?= ${SB}/obj/
# this is what we use below