diff options
author | emaste <emaste@FreeBSD.org> | 2016-04-21 12:58:29 +0000 |
---|---|---|
committer | emaste <emaste@FreeBSD.org> | 2016-04-21 12:58:29 +0000 |
commit | 55c6dd387976111bbcfd088fe769dafa767021bc (patch) | |
tree | 0063aee2166157b20b3d10fff6c319161a3b1619 /usr.bin | |
parent | 39859f6ff983fcd0a0c2857cee891566c7b63baf (diff) | |
download | FreeBSD-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')
-rw-r--r-- | usr.bin/addr2line/Makefile | 2 | ||||
-rw-r--r-- | usr.bin/cxxfilt/Makefile | 2 | ||||
-rw-r--r-- | usr.bin/elfcopy/Makefile | 2 | ||||
-rw-r--r-- | usr.bin/nm/Makefile | 2 | ||||
-rw-r--r-- | usr.bin/readelf/Makefile | 2 | ||||
-rw-r--r-- | usr.bin/size/Makefile | 2 | ||||
-rw-r--r-- | usr.bin/strings/Makefile | 2 |
7 files changed, 7 insertions, 7 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} diff --git a/usr.bin/cxxfilt/Makefile b/usr.bin/cxxfilt/Makefile index 0f7b596..75f3941 100644 --- a/usr.bin/cxxfilt/Makefile +++ b/usr.bin/cxxfilt/Makefile @@ -2,7 +2,7 @@ .include <src.opts.mk> -ELFTCDIR= ${.CURDIR:H:H}/contrib/elftoolchain +ELFTCDIR= ${SRCTOP}/contrib/elftoolchain SRCDIR= ${ELFTCDIR}/cxxfilt .PATH: ${SRCDIR} diff --git a/usr.bin/elfcopy/Makefile b/usr.bin/elfcopy/Makefile index 444fa18..cc99fa3 100644 --- a/usr.bin/elfcopy/Makefile +++ b/usr.bin/elfcopy/Makefile @@ -2,7 +2,7 @@ .include <src.opts.mk> -ELFTCDIR= ${.CURDIR:H:H}/contrib/elftoolchain +ELFTCDIR= ${SRCTOP}/contrib/elftoolchain ELFCOPYDIR= ${ELFTCDIR}/elfcopy .PATH: ${ELFCOPYDIR} diff --git a/usr.bin/nm/Makefile b/usr.bin/nm/Makefile index 0b8e223..113553f 100644 --- a/usr.bin/nm/Makefile +++ b/usr.bin/nm/Makefile @@ -2,7 +2,7 @@ .include <src.opts.mk> -ELFTCDIR= ${.CURDIR:H:H}/contrib/elftoolchain +ELFTCDIR= ${SRCTOP}/contrib/elftoolchain NMDIR= ${ELFTCDIR}/nm .PATH: ${NMDIR} diff --git a/usr.bin/readelf/Makefile b/usr.bin/readelf/Makefile index 4919f7a..8f7dec5 100644 --- a/usr.bin/readelf/Makefile +++ b/usr.bin/readelf/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -ELFTCDIR= ${.CURDIR:H:H}/contrib/elftoolchain +ELFTCDIR= ${SRCTOP}/contrib/elftoolchain READELFDIR= ${ELFTCDIR}/readelf .PATH: ${READELFDIR} diff --git a/usr.bin/size/Makefile b/usr.bin/size/Makefile index 54b512b..d7c8e41 100644 --- a/usr.bin/size/Makefile +++ b/usr.bin/size/Makefile @@ -2,7 +2,7 @@ .include <src.opts.mk> -ELFTCDIR= ${.CURDIR:H:H}/contrib/elftoolchain +ELFTCDIR= ${SRCTOP}/contrib/elftoolchain SIZEDIR= ${ELFTCDIR}/size .PATH: ${SIZEDIR} diff --git a/usr.bin/strings/Makefile b/usr.bin/strings/Makefile index 68e37b8..e3c82f4 100644 --- a/usr.bin/strings/Makefile +++ b/usr.bin/strings/Makefile @@ -2,7 +2,7 @@ .include <src.opts.mk> -ELFTCDIR= ${.CURDIR:H:H}/contrib/elftoolchain +ELFTCDIR= ${SRCTOP}/contrib/elftoolchain .PATH: ${ELFTCDIR}/strings |