svn commit: r297778 - head/usr.sbin/bhyve

Peter Grehan grehan at FreeBSD.org
Sun Apr 10 05:58:20 UTC 2016


Author: grehan
Date: Sun Apr 10 05:58:19 2016
New Revision: 297778
URL: https://svnweb.freebsd.org/changeset/base/297778

Log:
  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.

Modified:
  head/usr.sbin/bhyve/Makefile

Modified: head/usr.sbin/bhyve/Makefile
==============================================================================
--- head/usr.sbin/bhyve/Makefile	Sun Apr 10 05:06:58 2016	(r297777)
+++ head/usr.sbin/bhyve/Makefile	Sun Apr 10 05:58:19 2016	(r297778)
@@ -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


More information about the svn-src-all mailing list