diff options
author | Bryan Drewery <bdrewery@FreeBSD.org> | 2016-05-11 17:40:51 +0000 |
---|---|---|
committer | Bryan Drewery <bdrewery@FreeBSD.org> | 2016-05-11 17:40:51 +0000 |
commit | 73571281f5747b72748a265cc6a6846760549f45 (patch) | |
tree | 6109ba2b2d84b913b3a5744b17166345a0813fdc /share | |
parent | a7f3dd6f72ee10d6e076d0e880746b7b79c74d13 (diff) | |
download | src-73571281f5747b72748a265cc6a6846760549f45.tar.gz src-73571281f5747b72748a265cc6a6846760549f45.zip |
DIRDEPS_BUILD: Exclude host tools for Makefile.depend.host as well.
Sponsored by: EMC / Isilon Storage Division
Notes
Notes:
svn path=/head/; revision=299472
Diffstat (limited to 'share')
-rw-r--r-- | share/mk/local.gendirdeps.mk | 31 |
1 files changed, 18 insertions, 13 deletions
diff --git a/share/mk/local.gendirdeps.mk b/share/mk/local.gendirdeps.mk index b477c9b44209..08608d4cc44f 100644 --- a/share/mk/local.gendirdeps.mk +++ b/share/mk/local.gendirdeps.mk @@ -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} |