DIRDEPS_BUILD: Exclude host tools for Makefile.depend.host as well.

Sponsored by:	EMC / Isilon Storage Division
This commit is contained in:
bdrewery 2016-05-11 17:40:51 +00:00
parent 49384bc9ea
commit 8a99d06e03

View File

@ -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}