Allow the location of the kernel source tree to be overridden.

This makes it easier for the bhyve executable to be built
out of the tree.
This commit is contained in:
Peter Grehan 2016-04-10 05:58:19 +00:00
parent 113f2316c6
commit 5ccf6ce169

View File

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