From 957bb16f6aea665da3742c28d0f9e0d3fcf3671e Mon Sep 17 00:00:00 2001 From: sjg Date: Sun, 17 Mar 2013 03:09:08 +0000 Subject: 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. --- share/mk/local.sys.mk | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'share/mk/local.sys.mk') 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} -- cgit v1.1