svn commit: r299472 - head/share/mk
Bryan Drewery
bdrewery at FreeBSD.org
Wed May 11 17:40:52 UTC 2016
Author: bdrewery
Date: Wed May 11 17:40:51 2016
New Revision: 299472
URL: https://svnweb.freebsd.org/changeset/base/299472
Log:
DIRDEPS_BUILD: Exclude host tools for Makefile.depend.host as well.
Sponsored by: EMC / Isilon Storage Division
Modified:
head/share/mk/local.gendirdeps.mk
Modified: head/share/mk/local.gendirdeps.mk
==============================================================================
--- head/share/mk/local.gendirdeps.mk Wed May 11 17:38:09 2016 (r299471)
+++ head/share/mk/local.gendirdeps.mk Wed May 11 17:40:51 2016 (r299472)
@@ -21,21 +21,26 @@ GENDIRDEPS_FILTER.host+= \
Ngnu/usr.bin/cc/* \
.endif
-GENDIRDEPS_FILTER+= \
- Nlib/clang/include.host \
- Nusr.bin/addr2line.host \
- Nusr.bin/ar.host \
- Nusr.bin/clang/clang.host \
- Nusr.bin/elfcopy.host \
- Nusr.bin/elfdump.host \
- Nusr.bin/nm.host \
- Nusr.bin/readelf.host \
- Nusr.bin/size.host \
- Nusr.bin/strings.host \
- Nusr.bin/strip.host \
+GENDIRDEPS_FILTER_HOST_TOOLS+= \
+ Nlib/clang/include \
+ Nusr.bin/addr2line \
+ Nusr.bin/ar \
+ Nusr.bin/clang/clang \
+ Nusr.bin/elfcopy \
+ Nusr.bin/elfdump \
+ Nusr.bin/nm \
+ Nusr.bin/readelf \
+ Nusr.bin/size \
+ Nusr.bin/strings \
+ Nusr.bin/strip \
Ngnu/usr.bin/cc* \
- Ngnu/usr.bin/binutils*.host \
+ Ngnu/usr.bin/binutils* \
+.if ${MACHINE} != "host"
+GENDIRDEPS_FILTER+= ${GENDIRDEPS_FILTER_HOST_TOOLS:C,$,.host,}
+.else
+GENDIRDEPS_FILTER+= ${GENDIRDEPS_FILTER_HOST_TOOLS}
+.endif
.endif
GENDIRDEPS_FILTER+= ${GENDIRDEPS_FILTER.${MACHINE}:U}
More information about the svn-src-all
mailing list