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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user