summaryrefslogtreecommitdiffstats
path: root/share/mk/local.sys.mk
diff options
context:
space:
mode:
authorsjg <sjg@FreeBSD.org>2013-03-17 03:09:08 +0000
committersjg <sjg@FreeBSD.org>2013-03-17 03:09:08 +0000
commit957bb16f6aea665da3742c28d0f9e0d3fcf3671e (patch)
tree52c5ed6c7fd522a1cf720dfa2eedc47c1f5ed853 /share/mk/local.sys.mk
parent412ce312ae17f09b4e703a87cdb0928895d5bb05 (diff)
downloadFreeBSD-src-957bb16f6aea665da3742c28d0f9e0d3fcf3671e.zip
FreeBSD-src-957bb16f6aea665da3742c28d0f9e0d3fcf3671e.tar.gz
If building for "host" and we do not have Makefile.depend.host;
do not update it. This allows us to avoid populating the tree with Makefile.depend.host that aren't absolutely necessary.
Diffstat (limited to 'share/mk/local.sys.mk')
-rw-r--r--share/mk/local.sys.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/share/mk/local.sys.mk b/share/mk/local.sys.mk
index 98827a5..aea9a75 100644
--- a/share/mk/local.sys.mk
+++ b/share/mk/local.sys.mk
@@ -186,9 +186,9 @@ STAGED_INCLUDE_DIR= ${STAGE_OBJTOP}/include
.include "sys.dependfile.mk"
-.if ${MACHINE} == "host"
-# need a machine specific file
-.MAKE.DEPENDFILE= ${.MAKE.DEPENDFILE_PREFIX}.${MACHINE}
+.if ${.MAKE.LEVEL} > 0 && ${MACHINE} == "host" && ${.MAKE.DEPENDFILE:E} != "host"
+# we can use this but should not update it.
+UPDATE_DEPENDFILE= NO
.endif
.MAKE.META.BAILIWICK = ${SB} ${OBJROOT} ${STAGE_ROOT}
OpenPOWER on IntegriCloud