Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 5 Aug 2017 17:11:41 +0000 (UTC)
From:      Ngie Cooper <ngie@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org
Subject:   svn commit: r322107 - stable/11/tools/tools/zfsboottest
Message-ID:  <201708051711.v75HBf6g029687@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ngie
Date: Sat Aug  5 17:11:40 2017
New Revision: 322107
URL: https://svnweb.freebsd.org/changeset/base/322107

Log:
  MFC r321845:
  
  Standardize on SRCTOP instead of .CURDIR-relative paths

Modified:
  stable/11/tools/tools/zfsboottest/Makefile
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/tools/tools/zfsboottest/Makefile
==============================================================================
--- stable/11/tools/tools/zfsboottest/Makefile	Sat Aug  5 17:02:57 2017	(r322106)
+++ stable/11/tools/tools/zfsboottest/Makefile	Sat Aug  5 17:11:40 2017	(r322107)
@@ -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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201708051711.v75HBf6g029687>