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}/lib/lib9p | |||||
CFLAGS+=-I${SRCTOP}/sys | CFLAGS+=-I${SRCTOP}/sys | ||||
jhb: I don't think you need the .PATH? You aren't adding source files from this directory, only… | |||||
Done Inline ActionsIndeed. jceel: Indeed. | |||||
.PATH: ${SRCTOP}/sys/cam/ctl | .PATH: ${SRCTOP}/sys/cam/ctl | ||||
PROG= bhyve | PROG= bhyve | ||||
PACKAGE= bhyve | PACKAGE= bhyve | ||||
MAN= bhyve.8 | MAN= bhyve.8 | ||||
BHYVE_SYSDIR?=${SRCTOP} | BHYVE_SYSDIR?=${SRCTOP} | ||||
Show All 26 Lines | SRCS= \ | ||||
pci_emul.c \ | pci_emul.c \ | ||||
pci_hda.c \ | pci_hda.c \ | ||||
pci_fbuf.c \ | pci_fbuf.c \ | ||||
pci_hostbridge.c \ | pci_hostbridge.c \ | ||||
pci_irq.c \ | pci_irq.c \ | ||||
pci_lpc.c \ | pci_lpc.c \ | ||||
pci_nvme.c \ | pci_nvme.c \ | ||||
pci_passthru.c \ | pci_passthru.c \ | ||||
pci_virtio_9p.c \ | |||||
pci_virtio_block.c \ | pci_virtio_block.c \ | ||||
pci_virtio_console.c \ | pci_virtio_console.c \ | ||||
pci_virtio_net.c \ | pci_virtio_net.c \ | ||||
pci_virtio_rnd.c \ | pci_virtio_rnd.c \ | ||||
pci_virtio_scsi.c \ | pci_virtio_scsi.c \ | ||||
pci_uart.c \ | pci_uart.c \ | ||||
pci_xhci.c \ | pci_xhci.c \ | ||||
pm.c \ | pm.c \ | ||||
post.c \ | post.c \ | ||||
ps2kbd.c \ | ps2kbd.c \ | ||||
ps2mouse.c \ | ps2mouse.c \ | ||||
rfb.c \ | rfb.c \ | ||||
rtc.c \ | rtc.c \ | ||||
smbiostbl.c \ | smbiostbl.c \ | ||||
sockstream.c \ | sockstream.c \ | ||||
task_switch.c \ | task_switch.c \ | ||||
uart_emul.c \ | uart_emul.c \ | ||||
usb_emul.c \ | usb_emul.c \ | ||||
Not Done Inline ActionsThis can't be committed as is (unconditionally disabling Capsicum in bhyve). For initial testing purposes you could add some sort of off-by-default conditional block that disables Capsicum and enables 9p, although it's preferable if we can address Capsicum in 3p before commit. emaste: This can't be committed as is (unconditionally disabling Capsicum in bhyve). For initial… | |||||
usb_mouse.c \ | usb_mouse.c \ | ||||
virtio.c \ | virtio.c \ | ||||
vga.c \ | vga.c \ | ||||
xmsr.c \ | xmsr.c \ | ||||
spinup_ap.c \ | spinup_ap.c \ | ||||
iov.c | iov.c | ||||
.PATH: ${BHYVE_SYSDIR}/sys/amd64/vmm | .PATH: ${BHYVE_SYSDIR}/sys/amd64/vmm | ||||
SRCS+= vmm_instruction_emul.c | SRCS+= vmm_instruction_emul.c | ||||
LIBADD= vmmapi md pthread z util sbuf cam | LIBADD= vmmapi md pthread z util sbuf cam 9p casper cap_pwd cap_grp | ||||
.if ${MK_INET_SUPPORT} != "no" | .if ${MK_INET_SUPPORT} != "no" | ||||
CFLAGS+=-DINET | CFLAGS+=-DINET | ||||
.endif | .endif | ||||
.if ${MK_INET6_SUPPORT} != "no" | .if ${MK_INET6_SUPPORT} != "no" | ||||
CFLAGS+=-DINET6 | CFLAGS+=-DINET6 | ||||
.endif | .endif | ||||
.if ${MK_OPENSSL} == "no" | .if ${MK_OPENSSL} == "no" | ||||
Show All 16 Lines |
I don't think you need the .PATH? You aren't adding source files from this directory, only using headers, correct?