summaryrefslogtreecommitdiffstats
path: root/lib/Makefile
diff options
context:
space:
mode:
authoremaste <emaste@FreeBSD.org>2014-12-01 17:49:42 +0000
committeremaste <emaste@FreeBSD.org>2014-12-01 17:49:42 +0000
commitc79f6538fe5b1fe35382903168b76167be44db9e (patch)
treeb5191de270f7e85906a95d316dda5b037968fa58 /lib/Makefile
parent1941346c9da7dde6f28d67d3053d7713294d012c (diff)
downloadFreeBSD-src-c79f6538fe5b1fe35382903168b76167be44db9e.zip
FreeBSD-src-c79f6538fe5b1fe35382903168b76167be44db9e.tar.gz
Build infrastructure for elftoolchain tools
Set WITH_ELFTOOLCHAIN_TOOLS in src.conf to use the elftoolchain version of the following tools: * addr2line * elfcopy (strip / mcs) * nm * size * strings Reviewed by: bapt (earlier version) Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D1224
Diffstat (limited to 'lib/Makefile')
-rw-r--r--lib/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/Makefile b/lib/Makefile
index d87b32e..8bd5653 100644
--- a/lib/Makefile
+++ b/lib/Makefile
@@ -45,6 +45,7 @@ SUBDIR= ${SUBDIR_ORDERED} \
libdpv \
libdwarf \
libedit \
+ ${_libelftc} \
${_libevent} \
libexecinfo \
libexpat \
@@ -190,6 +191,10 @@ _clang= clang
_cuse= libcuse
.endif
+.if ${MK_ELFTOOLCHAIN_TOOLS} != "no"
+_libelftc= libelftc
+.endif
+
.if ${MK_GPIB} != "no"
_libgpib= libgpib
.endif
OpenPOWER on IntegriCloud