diff --git a/usr.sbin/bhyve/Makefile b/usr.sbin/bhyve/Makefile index d85403c5b722..7d2e2f0ed171 100644 --- a/usr.sbin/bhyve/Makefile +++ b/usr.sbin/bhyve/Makefile @@ -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