Replace ${CURDIR}/../.. with ${CURDIR:H:H} in elftoolchain
This produces a nicer path in debug info and build logs. MFC after: 1 week Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
20ff6f8501
commit
60b9a17328
@ -2,7 +2,7 @@
|
||||
.include <bsd.own.mk>
|
||||
|
||||
PACKAGE=lib${LIB}
|
||||
TOP= ${.CURDIR}/../../contrib/elftoolchain
|
||||
TOP= ${.CURDIR:H:H}/contrib/elftoolchain
|
||||
SRCDIR= ${TOP}/libdwarf
|
||||
|
||||
.PATH: ${SRCDIR}
|
||||
|
@ -5,7 +5,7 @@ SHLIBDIR?= /lib
|
||||
|
||||
.include <bsd.own.mk>
|
||||
|
||||
TOP= ${.CURDIR}/../../contrib/elftoolchain
|
||||
TOP= ${.CURDIR:H:H}/contrib/elftoolchain
|
||||
SRCDIR= ${TOP}/libelf
|
||||
|
||||
.PATH: ${SRCDIR}
|
||||
|
@ -4,7 +4,7 @@
|
||||
PACKAGE=lib${LIB}
|
||||
INTERNALLIB=
|
||||
|
||||
ELFTCDIR= ${.CURDIR}/../../contrib/elftoolchain
|
||||
ELFTCDIR= ${.CURDIR:H:H}/contrib/elftoolchain
|
||||
|
||||
.PATH: ${ELFTCDIR}/libelftc
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
.include <src.opts.mk>
|
||||
|
||||
ELFTCDIR= ${.CURDIR}/../../contrib/elftoolchain
|
||||
ELFTCDIR= ${.CURDIR:H:H}/contrib/elftoolchain
|
||||
ADDR2LINEDIR= ${ELFTCDIR}/addr2line
|
||||
|
||||
.PATH: ${ADDR2LINEDIR}
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
.include <src.opts.mk>
|
||||
|
||||
ELFTCDIR= ${.CURDIR}/../../contrib/elftoolchain
|
||||
ELFTCDIR= ${.CURDIR:H:H}/contrib/elftoolchain
|
||||
SRCDIR= ${ELFTCDIR}/cxxfilt
|
||||
|
||||
.PATH: ${SRCDIR}
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
.include <src.opts.mk>
|
||||
|
||||
ELFTCDIR= ${.CURDIR}/../../contrib/elftoolchain
|
||||
ELFTCDIR= ${.CURDIR:H:H}/contrib/elftoolchain
|
||||
ELFCOPYDIR= ${ELFTCDIR}/elfcopy
|
||||
|
||||
.PATH: ${ELFCOPYDIR}
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
.include <src.opts.mk>
|
||||
|
||||
ELFTCDIR= ${.CURDIR}/../../contrib/elftoolchain
|
||||
ELFTCDIR= ${.CURDIR:H:H}/contrib/elftoolchain
|
||||
NMDIR= ${ELFTCDIR}/nm
|
||||
|
||||
.PATH: ${NMDIR}
|
||||
|
@ -1,6 +1,6 @@
|
||||
# $FreeBSD$
|
||||
|
||||
ELFTCDIR= ${.CURDIR}/../../contrib/elftoolchain
|
||||
ELFTCDIR= ${.CURDIR:H:H}/contrib/elftoolchain
|
||||
READELFDIR= ${ELFTCDIR}/readelf
|
||||
|
||||
.PATH: ${READELFDIR}
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
.include <src.opts.mk>
|
||||
|
||||
ELFTCDIR= ${.CURDIR}/../../contrib/elftoolchain
|
||||
ELFTCDIR= ${.CURDIR:H:H}/contrib/elftoolchain
|
||||
SIZEDIR= ${ELFTCDIR}/size
|
||||
|
||||
.PATH: ${SIZEDIR}
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
.include <src.opts.mk>
|
||||
|
||||
ELFTCDIR= ${.CURDIR}/../../contrib/elftoolchain
|
||||
ELFTCDIR= ${.CURDIR:H:H}/contrib/elftoolchain
|
||||
|
||||
.PATH: ${ELFTCDIR}/strings
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user