Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Aug 2017 05:23:49 +0000 (UTC)
From:      Ngie Cooper <ngie@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r321845 - head/tools/tools/zfsboottest
Message-ID:  <201708010523.v715Nn61046996@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ngie
Date: Tue Aug  1 05:23:49 2017
New Revision: 321845
URL: https://svnweb.freebsd.org/changeset/base/321845

Log:
  Standardize on SRCTOP instead of .CURDIR-relative paths
  
  MFC after:	3 days

Modified:
  head/tools/tools/zfsboottest/Makefile

Modified: head/tools/tools/zfsboottest/Makefile
==============================================================================
--- head/tools/tools/zfsboottest/Makefile	Tue Aug  1 05:16:14 2017	(r321844)
+++ head/tools/tools/zfsboottest/Makefile	Tue Aug  1 05:23:49 2017	(r321845)
@@ -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?201708010523.v715Nn61046996>