genode/repos/libports/lib/mk/qemu-usb.mk
Josef Söntgen 9918a8f88d qemu-usb: update port to 5.2.0
The contrib code is updated from 2.4.1 to version 5.2.0 and the used
device-model is changed to QEMU xHCI. Due to this change older guests
OSes, namely Windows 7, that relied on the NEC xHCI device-model will
not work anymore.

The 'Qemu::Controller' interface was extended by an 'info' method, which
returns the vendor and product ID. This allows for removing the
hard-coded values in the VirtualBox glue code.

Issue #4018.
2021-02-23 12:02:44 +01:00

22 lines
417 B
Makefile

LIB_DIR = $(REP_DIR)/src/lib/qemu-usb
QEMU_USB_DIR = $(call select_from_ports,qemu-usb)/src/lib/qemu/hw/usb
CC_WARN=
INC_DIR += $(LIB_DIR) $(QEMU_USB_DIR)
LIBS = qemu-usb_include
SRC_CC = dummies.cc qemu_emul.cc host.cc
SRC_C = hcd-xhci.c hcd-xhci-pci.c core.c bus.c
SHARED_LIB = yes
LD_OPT += --version-script=$(LIB_DIR)/symbol.map
vpath %.c $(QEMU_USB_DIR)
vpath %.cc $(LIB_DIR)
CC_CXX_WARN_STRICT =