summaryrefslogtreecommitdiffstats
path: root/usr.bin/addr2line
diff options
context:
space:
mode:
authoremaste <emaste@FreeBSD.org>2016-04-21 12:58:29 +0000
committeremaste <emaste@FreeBSD.org>2016-04-21 12:58:29 +0000
commit55c6dd387976111bbcfd088fe769dafa767021bc (patch)
tree0063aee2166157b20b3d10fff6c319161a3b1619 /usr.bin/addr2line
parent39859f6ff983fcd0a0c2857cee891566c7b63baf (diff)
downloadFreeBSD-src-55c6dd387976111bbcfd088fe769dafa767021bc.zip
FreeBSD-src-55c6dd387976111bbcfd088fe769dafa767021bc.tar.gz
elftoolchain: Use ${SRCTOP} for the top of the FreeBSD tree
It's provided by sys.mk so there's no need to derive it from ${.CURDIR}. Suggested by: ngie Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D5998
Diffstat (limited to 'usr.bin/addr2line')
-rw-r--r--usr.bin/addr2line/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/addr2line/Makefile b/usr.bin/addr2line/Makefile
index 6fe20f3..fe9883f 100644
--- a/usr.bin/addr2line/Makefile
+++ b/usr.bin/addr2line/Makefile
@@ -2,7 +2,7 @@
.include <src.opts.mk>
-ELFTCDIR= ${.CURDIR:H:H}/contrib/elftoolchain
+ELFTCDIR= ${SRCTOP}/contrib/elftoolchain
ADDR2LINEDIR= ${ELFTCDIR}/addr2line
.PATH: ${ADDR2LINEDIR}
OpenPOWER on IntegriCloud