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
This commit is contained in:
grehan 2016-04-20 17:05:32 +00:00
parent 32dcf3933a
commit 541bd491e7

View File

@ -9,7 +9,7 @@ DEBUG_FLAGS= -g -O0
MAN= bhyve.8
SYSDIR?=${.CURDIR}/../..
BHYVE_SYSDIR?=${SRCTOP}
SRCS= \
atkbdc.c \
@ -45,7 +45,7 @@ SRCS= \
xmsr.c \
spinup_ap.c
.PATH: ${SYSDIR}/sys/amd64/vmm
.PATH: ${BHYVE_SYSDIR}/sys/amd64/vmm
SRCS+= vmm_instruction_emul.c
LIBADD= vmmapi md pthread