summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorngie <ngie@FreeBSD.org>2017-08-05 17:11:40 +0000
committerngie <ngie@FreeBSD.org>2017-08-05 17:11:40 +0000
commita6b244f7f4809dba5c2c8bf545b3c04dcdd81af9 (patch)
tree1840a09c4760c049a05c11b5c74898c09dc547cf /tools
parent523731da064491ef750ce347b5ce5a591811af2c (diff)
downloadFreeBSD-src-a6b244f7f4809dba5c2c8bf545b3c04dcdd81af9.zip
FreeBSD-src-a6b244f7f4809dba5c2c8bf545b3c04dcdd81af9.tar.gz
MFC r321845:
Standardize on SRCTOP instead of .CURDIR-relative paths
Diffstat (limited to 'tools')
-rw-r--r--tools/tools/zfsboottest/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/tools/zfsboottest/Makefile b/tools/tools/zfsboottest/Makefile
index 4b08a2d..1f6084e 100644
--- a/tools/tools/zfsboottest/Makefile
+++ b/tools/tools/zfsboottest/Makefile
@@ -1,6 +1,6 @@
# $FreeBSD$
-.PATH: ${.CURDIR}/../../../sys/boot/zfs ${.CURDIR}/../../../sys/cddl/boot/zfs
+.PATH: ${SRCTOP}/sys/boot/zfs ${SRCTOP}/sys/cddl/boot/zfs
BINDIR?= /usr/bin
SCRIPTSDIR?= /usr/bin
@@ -11,8 +11,8 @@ SCRIPTSNAME= zfsboottest.sh
MAN=
CFLAGS= -O1 \
- -I${.CURDIR}/../../../sys/boot/zfs \
- -I${.CURDIR}/../../../sys/cddl/boot/zfs \
+ -I${SRCTOP}/sys/boot/zfs \
+ -I${SRCTOP}/sys/cddl/boot/zfs \
-I. \
-fdiagnostics-show-option \
-W -Wextra -Wno-sign-compare -Wno-unused-parameter
@@ -23,7 +23,7 @@ LIBADD+= md
beforedepend zfsboottest.o: machine
CLEANFILES+= machine
machine:
- ln -sf ${.CURDIR}/../../../sys/i386/include machine
+ ln -sf ${SRCTOP}/sys/i386/include machine
.endif
.include <bsd.prog.mk>
OpenPOWER on IntegriCloud