summaryrefslogtreecommitdiffstats
path: root/share/mk/local.gendirdeps.mk
diff options
context:
space:
mode:
authorbdrewery <bdrewery@FreeBSD.org>2015-11-25 19:44:51 +0000
committerbdrewery <bdrewery@FreeBSD.org>2015-11-25 19:44:51 +0000
commitcbc5242afd27883fc700d661c55fd6bf3b0f50f2 (patch)
tree6f111423884fb2c8c82e0def32b067c17e66183c /share/mk/local.gendirdeps.mk
parent52255645fb90fea4463237052ca49411638d381a (diff)
downloadFreeBSD-src-cbc5242afd27883fc700d661c55fd6bf3b0f50f2.zip
FreeBSD-src-cbc5242afd27883fc700d661c55fd6bf3b0f50f2.tar.gz
META MODE: Fix 'make bootstrap-tools'.
The main problem was bitrot after elftoolchain being swapped in for the GNU toolchain. This also reworks how the list of 'host allowed' libraries is determined to only allow INTERNALLIBs, which is needed for libelftc to come in. For usr.bin/readelf use the same hack, as libelf and libdward, to bring in the needed sys/ headers for host builds. This has not yet been a problem due to readelf not being built as a host tool in buildworld. This is possible in the meta build though when building the toolchain. Sponsored by: EMC / Isilon Storage Division
Diffstat (limited to 'share/mk/local.gendirdeps.mk')
-rw-r--r--share/mk/local.gendirdeps.mk11
1 files changed, 11 insertions, 0 deletions
diff --git a/share/mk/local.gendirdeps.mk b/share/mk/local.gendirdeps.mk
index a790cbc..dc65d16 100644
--- a/share/mk/local.gendirdeps.mk
+++ b/share/mk/local.gendirdeps.mk
@@ -14,6 +14,7 @@ GENDIRDEPS_FILTER+= \
Ntargets/pseudo/stage* \
Ntools/*
+# Exclude toolchain which is handled special.
.if ${RELDIR:Mtargets*} == ""
.if ${RELDIR:Nusr.bin/clang/*:Ngnu/usr.bin/cc/*:Nlib/clang*} != ""
GENDIRDEPS_FILTER.host+= \
@@ -22,7 +23,17 @@ GENDIRDEPS_FILTER.host+= \
.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 \
Ngnu/usr.bin/cc* \
Ngnu/usr.bin/binutils*.host \
OpenPOWER on IntegriCloud