diff options
author | bdrewery <bdrewery@FreeBSD.org> | 2015-11-18 21:39:58 +0000 |
---|---|---|
committer | bdrewery <bdrewery@FreeBSD.org> | 2015-11-18 21:39:58 +0000 |
commit | e891ac8c5938b7f1c596cbc08c9b0df298532fb3 (patch) | |
tree | 3b8e04ad1089cc3f2c6f2dc98e0b389ffb2c1827 /include/Makefile | |
parent | c372459ab7e169df7357365b8580caf0e2ab7356 (diff) | |
download | FreeBSD-src-e891ac8c5938b7f1c596cbc08c9b0df298532fb3.zip FreeBSD-src-e891ac8c5938b7f1c596cbc08c9b0df298532fb3.tar.gz |
META MODE: Fix changing what "MACHINE=host" means when computing dirdeps for include/.
The _SKIP_BUILD is used while computing DIRDEPS. If MACHINE=host is passed in
then this logic was replacing 'MACHINE' with a literal value of the host arch,
which then caused the dirdeps graph to be wrong since it no longer had the
literal 'host' for any of include's dependencies.
This is a NOP currently since include/ is not usually built with MACHINE=host.
Sponsored by: EMC / Isilon Storage Division
Diffstat (limited to 'include/Makefile')
-rw-r--r-- | include/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/Makefile b/include/Makefile index 61bfbc6..d59900f 100644 --- a/include/Makefile +++ b/include/Makefile @@ -376,7 +376,7 @@ symlinks: @touch ${.OBJDIR}/${.TARGET} .endif -.if ${MACHINE} == "host" +.if ${MACHINE} == "host" && !defined(_SKIP_BUILD) # we're here because we are building a sysroot... # we need MACHINE et al set correctly HOST_MACHINE!= uname -m |