diff options
author | sjg <sjg@FreeBSD.org> | 2013-03-17 03:09:08 +0000 |
---|---|---|
committer | sjg <sjg@FreeBSD.org> | 2013-03-17 03:09:08 +0000 |
commit | 957bb16f6aea665da3742c28d0f9e0d3fcf3671e (patch) | |
tree | 52c5ed6c7fd522a1cf720dfa2eedc47c1f5ed853 | |
parent | 412ce312ae17f09b4e703a87cdb0928895d5bb05 (diff) | |
download | FreeBSD-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.
-rw-r--r-- | share/mk/local.sys.mk | 6 |
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} |