Changeset View
Changeset View
Standalone View
Standalone View
usr.sbin/bhyve/Makefile
# | # | ||||
# $FreeBSD$ | # $FreeBSD$ | ||||
# | # | ||||
.include <src.opts.mk> | .include <src.opts.mk> | ||||
CFLAGS+=-I${SRCTOP}/sys | CFLAGS+=-I${SRCTOP}/sys -I${SRCTOP}/lib/libvmmapi | ||||
jhb: You shouldn't need this change. We might need to ensure that vmmapi_amd64.h gets installed to… | |||||
Done Inline ActionsThis is needed in for compiling the bhyveload/bhyve/bhyvectl binaries. When the libvmmapi.h header is included, that path is needed for finding /lib/libvmmapi/amd64/libvmmapi_amd64.h. Without that part I get this error when compiling: In file included from /path/to/freebsd/usr.sbin/bhyveload/bhyveload.c:86: /path/to/objdirprefix/path/to/freebsd/amd64.amd64/tmp/usr/include/vmmapi.h:146:10: fatal error: 'amd64/vmmapi_amd64.h' file not found #include <amd64/vmmapi_amd64.h> alexandru.elisei_gmail.com: This is needed in for compiling the bhyveload/bhyve/bhyvectl binaries. When the libvmmapi.h… | |||||
.PATH: ${SRCTOP}/sys/cam/ctl | .PATH: ${SRCTOP}/sys/cam/ctl | ||||
PROG= bhyve | PROG= bhyve | ||||
PACKAGE= bhyve | PACKAGE= bhyve | ||||
DEBUG_FLAGS= -g -O0 | DEBUG_FLAGS= -g -O0 | ||||
MAN= bhyve.8 | MAN= bhyve.8 | ||||
▲ Show 20 Lines • Show All 84 Lines • Show Last 20 Lines |
You shouldn't need this change. We might need to ensure that vmmapi_amd64.h gets installed to /usr/include instead, but this change shouldn't be needed. (likewise for the other binary Makefiles)