svn commit: r304569 - stable/10/usr.sbin/bhyve

Alexander Motin mav at FreeBSD.org
Sun Aug 21 17:57:33 UTC 2016


Author: mav
Date: Sun Aug 21 17:57:32 2016
New Revision: 304569
URL: https://svnweb.freebsd.org/changeset/base/304569

Log:
  MFC r298355:
  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

Modified:
  stable/10/usr.sbin/bhyve/Makefile
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/usr.sbin/bhyve/Makefile
==============================================================================
--- stable/10/usr.sbin/bhyve/Makefile	Sun Aug 21 17:26:16 2016	(r304568)
+++ stable/10/usr.sbin/bhyve/Makefile	Sun Aug 21 17:57:32 2016	(r304569)
@@ -8,6 +8,8 @@ DEBUG_FLAGS= -g -O0 
 
 MAN=	bhyve.8
 
+BHYVE_SYSDIR?=${SRCTOP}
+
 SRCS=	\
 	atkbdc.c		\
 	acpi.c			\
@@ -43,7 +45,7 @@ SRCS=	\
 	xmsr.c			\
 	spinup_ap.c
 
-.PATH:	${.CURDIR}/../../sys/amd64/vmm
+.PATH:  ${BHYVE_SYSDIR}/sys/amd64/vmm
 SRCS+=	vmm_instruction_emul.c
 
 DPADD=	${LIBVMMAPI} ${LIBMD} ${LIBUTIL} ${LIBPTHREAD}


More information about the svn-src-stable-10 mailing list