summaryrefslogtreecommitdiffstats
path: root/usr.sbin/bhyve/Makefile
diff options
context:
space:
mode:
authormav <mav@FreeBSD.org>2016-08-21 17:57:32 +0000
committermav <mav@FreeBSD.org>2016-08-21 17:57:32 +0000
commita72e34eae60a6435397bd732acddebee0404c946 (patch)
treefc6afdae92385b215ddc42ada7d2f6ee3d3d9e8c /usr.sbin/bhyve/Makefile
parent3084b0218b240a3fc43f54f17d92fc9422b3c8c2 (diff)
downloadFreeBSD-src-a72e34eae60a6435397bd732acddebee0404c946.zip
FreeBSD-src-a72e34eae60a6435397bd732acddebee0404c946.tar.gz
MFC r298355:
Don't use SYSDIR to avoid conflicts with existing usage. Also, use SRCTOP to locate the top of the source tree instead of a relative path. PR: 208856
Diffstat (limited to 'usr.sbin/bhyve/Makefile')
-rw-r--r--usr.sbin/bhyve/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.sbin/bhyve/Makefile b/usr.sbin/bhyve/Makefile
index cc61b13..7eb692c 100644
--- a/usr.sbin/bhyve/Makefile
+++ b/usr.sbin/bhyve/Makefile
@@ -8,6 +8,8 @@ DEBUG_FLAGS= -g -O0
MAN= bhyve.8
+BHYVE_SYSDIR?=${SRCTOP}
+
SRCS= \
atkbdc.c \
acpi.c \
@@ -43,7 +45,7 @@ SRCS= \
xmsr.c \
spinup_ap.c
-.PATH: ${.CURDIR}/../../sys/amd64/vmm
+.PATH: ${BHYVE_SYSDIR}/sys/amd64/vmm
SRCS+= vmm_instruction_emul.c
DPADD= ${LIBVMMAPI} ${LIBMD} ${LIBUTIL} ${LIBPTHREAD}
OpenPOWER on IntegriCloud