aboutsummaryrefslogtreecommitdiff
path: root/lib/libelf
diff options
context:
space:
mode:
authorEnji Cooper <ngie@FreeBSD.org>2017-01-20 04:54:09 +0000
committerEnji Cooper <ngie@FreeBSD.org>2017-01-20 04:54:09 +0000
commitb18d12ba9e4004232baf0d954f724fc6a8ef2317 (patch)
treec070d23bccdd02398311870387c6804c33c8ca4c /lib/libelf
parent5741e8889da9cf30bac22cf89b7bce62c39f19ad (diff)
downloadsrc-b18d12ba9e4004232baf0d954f724fc6a8ef2317.tar.gz
src-b18d12ba9e4004232baf0d954f724fc6a8ef2317.zip
Use SRCTOP-relative paths to other directories instead of .CURDIR-relative ones
This simplifies pathing in make/displayed output MFC after: 3 weeks Sponsored by: Dell EMC Isilon
Notes
Notes: svn path=/head/; revision=312510
Diffstat (limited to 'lib/libelf')
-rw-r--r--lib/libelf/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libelf/Makefile b/lib/libelf/Makefile
index 55ce30b8eb47..5c1cb8c19a45 100644
--- a/lib/libelf/Makefile
+++ b/lib/libelf/Makefile
@@ -82,7 +82,7 @@ CLEANFILES= ${GENSRCS}
CLEANDIRS= sys
CFLAGS+= -I. -I${SRCDIR} -I${ELFTCDIR}/common
-sys/elf32.h sys/elf64.h sys/elf_common.h: ${.CURDIR}/../../sys/${.TARGET} .NOMETA
+sys/elf32.h sys/elf64.h sys/elf_common.h: ${SRCTOP}/sys/${.TARGET} .NOMETA
mkdir -p ${.OBJDIR}/sys
ln -sf ${.ALLSRC} ${.TARGET}