aboutsummaryrefslogtreecommitdiff
path: root/lib/libelf
diff options
context:
space:
mode:
authorEd Maste <emaste@FreeBSD.org>2016-04-21 12:58:29 +0000
committerEd Maste <emaste@FreeBSD.org>2016-04-21 12:58:29 +0000
commit2821bdccaaa2dc9e04e3d6a865b6da57ef0f0cb8 (patch)
tree0063aee2166157b20b3d10fff6c319161a3b1619 /lib/libelf
parent53219aa88a4c32c5900c7d8c2a45589502ef9d4a (diff)
Notes
Diffstat (limited to 'lib/libelf')
-rw-r--r--lib/libelf/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libelf/Makefile b/lib/libelf/Makefile
index fc956bf73495..55ce30b8eb47 100644
--- a/lib/libelf/Makefile
+++ b/lib/libelf/Makefile
@@ -5,8 +5,8 @@ SHLIBDIR?= /lib
.include <bsd.own.mk>
-TOP= ${.CURDIR:H:H}/contrib/elftoolchain
-SRCDIR= ${TOP}/libelf
+ELFTCDIR=${SRCTOP}/contrib/elftoolchain
+SRCDIR= ${ELFTCDIR}/libelf
.PATH: ${SRCDIR}
@@ -80,7 +80,7 @@ SRCS+= sys/elf32.h sys/elf64.h sys/elf_common.h
GENSRCS= libelf_fsize.c libelf_msize.c libelf_convert.c
CLEANFILES= ${GENSRCS}
CLEANDIRS= sys
-CFLAGS+= -I. -I${SRCDIR} -I${TOP}/common
+CFLAGS+= -I. -I${SRCDIR} -I${ELFTCDIR}/common
sys/elf32.h sys/elf64.h sys/elf_common.h: ${.CURDIR}/../../sys/${.TARGET} .NOMETA
mkdir -p ${.OBJDIR}/sys