summaryrefslogtreecommitdiffstats
path: root/usr.bin/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 /usr.bin/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 'usr.bin/Makefile')
-rw-r--r--usr.bin/Makefile15
1 files changed, 14 insertions, 1 deletions
diff --git a/usr.bin/Makefile b/usr.bin/Makefile
index 298903e..88628fb 100644
--- a/usr.bin/Makefile
+++ b/usr.bin/Makefile
@@ -9,7 +9,8 @@
# Moved to secure: bdes
#
-SUBDIR= alias \
+SUBDIR= ${_addr2line} \
+ alias \
apply \
asa \
awk \
@@ -41,6 +42,7 @@ SUBDIR= alias \
du \
ee \
elf2aout \
+ ${_elfcopy} \
elfdump \
enigma \
env \
@@ -119,6 +121,7 @@ SUBDIR= alias \
nfsstat \
nice \
nl \
+ ${_nm} \
nohup \
opieinfo \
opiekey \
@@ -150,12 +153,14 @@ SUBDIR= alias \
seq \
shar \
showmount \
+ ${_size} \
sockstat \
soeliminate \
sort \
split \
stat \
stdbuf \
+ ${_strings} \
su \
systat \
tabs \
@@ -236,6 +241,14 @@ SUBDIR+= calendar
_clang= clang
.endif
+.if ${MK_ELFTOOLCHAIN_TOOLS} != "no"
+_addr2line= addr2line
+_elfcopy= elfcopy
+_nm= nm
+_size= size
+_strings= strings
+.endif
+
.if ${MK_FMAKE} != "no"
SUBDIR+= make
.endif
OpenPOWER on IntegriCloud