diff options
author | bdrewery <bdrewery@FreeBSD.org> | 2015-11-25 19:44:51 +0000 |
---|---|---|
committer | bdrewery <bdrewery@FreeBSD.org> | 2015-11-25 19:44:51 +0000 |
commit | cbc5242afd27883fc700d661c55fd6bf3b0f50f2 (patch) | |
tree | 6f111423884fb2c8c82e0def32b067c17e66183c /share/mk/src.libnames.mk | |
parent | 52255645fb90fea4463237052ca49411638d381a (diff) | |
download | FreeBSD-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/src.libnames.mk')
-rw-r--r-- | share/mk/src.libnames.mk | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/share/mk/src.libnames.mk b/share/mk/src.libnames.mk index d78d6e2..94d41e8 100644 --- a/share/mk/src.libnames.mk +++ b/share/mk/src.libnames.mk @@ -7,6 +7,9 @@ .error src.libnames.mk cannot be included directly. .endif +.if !target(__<src.libnames.mk>__) +__<src.libnames.mk>__: + .include <src.opts.mk> .if ${.OBJDIR:S,${.CURDIR},,} != ${.OBJDIR} @@ -368,3 +371,4 @@ LIBBSNMPTOOLS?= ${LIBBSNMPTOOLSDIR}/libbsnmptools.a LIBAMUDIR= ${ROOTOBJDIR}/usr.sbin/amd/libamu LIBAMU?= ${LIBAMUDIR}/libamu/libamu.a +.endif # !target(__<src.libnames.mk>__) |