aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/hyperv
diff options
context:
space:
mode:
authorEnji Cooper <ngie@FreeBSD.org>2017-03-04 11:38:03 +0000
committerEnji Cooper <ngie@FreeBSD.org>2017-03-04 11:38:03 +0000
commit64a0982bee3db2236df43357e70ce8dddbc21d48 (patch)
tree76664a67496ac3cd9e3d5d272a5a6e430068848a /usr.sbin/hyperv
parentb71fb1a4aa198495970831c748fa2d132621fe3d (diff)
downloadsrc-64a0982bee3db2236df43357e70ce8dddbc21d48.tar.gz
src-64a0982bee3db2236df43357e70ce8dddbc21d48.zip
usr.sbin: normalize paths using SRCTOP-relative paths or :H when possible
This simplifies make logic/output MFC after: 1 month Sponsored by: Dell EMC Isilon
Notes
Notes: svn path=/head/; revision=314659
Diffstat (limited to 'usr.sbin/hyperv')
-rw-r--r--usr.sbin/hyperv/tools/kvp/Makefile8
-rw-r--r--usr.sbin/hyperv/tools/vss/Makefile8
2 files changed, 8 insertions, 8 deletions
diff --git a/usr.sbin/hyperv/tools/kvp/Makefile b/usr.sbin/hyperv/tools/kvp/Makefile
index e1bc47c0011f..ca87371881fb 100644
--- a/usr.sbin/hyperv/tools/kvp/Makefile
+++ b/usr.sbin/hyperv/tools/kvp/Makefile
@@ -2,12 +2,12 @@
.include <bsd.own.mk>
-HV_KVP_DAEMON_DISTDIR?= ${.CURDIR}/../../../../contrib/hyperv/tools
-.PATH: ${HV_KVP_DAEMON_DISTDIR}
+HV_KVP_DAEMON_DISTDIR?= ${SRCTOP}/contrib/hyperv/tools
+.PATH: ${HV_KVP_DAEMON_DISTDIR}
PROG= hv_kvp_daemon
-MAN= hv_kvp_daemon.8
+MAN= hv_kvp_daemon.8
-CFLAGS+= -I${.CURDIR}/../../../../sys/dev/hyperv/utilities
+CFLAGS+= -I${SRCTOP}/sys/dev/hyperv/utilities
.include <bsd.prog.mk>
diff --git a/usr.sbin/hyperv/tools/vss/Makefile b/usr.sbin/hyperv/tools/vss/Makefile
index c9a2e6a96106..d6fb6a3ef482 100644
--- a/usr.sbin/hyperv/tools/vss/Makefile
+++ b/usr.sbin/hyperv/tools/vss/Makefile
@@ -3,12 +3,12 @@ DIRDEPS = lib/libc
.include <bsd.own.mk>
-HV_VSS_DAEMON_DISTDIR?= ${.CURDIR}/../../../../contrib/hyperv/tools
-.PATH: ${HV_VSS_DAEMON_DISTDIR}
+HV_VSS_DAEMON_DISTDIR?= ${SRCTOP}/contrib/hyperv/tools
+.PATH: ${HV_VSS_DAEMON_DISTDIR}
PROG= hv_vss_daemon
-MAN= hv_vss_daemon.8
+MAN= hv_vss_daemon.8
-CFLAGS+= -I${.CURDIR}/../../../../sys/dev/hyperv/utilities
+CFLAGS+= -I${SRCTOP}/sys/dev/hyperv/utilities
.include <bsd.prog.mk>