genode/repos/libports/lib/mk/qemu-usb.mk
Sebastian Sumpf a640be9a24 qemu-usb: xHCI model as library
NEC USB3 controller ported from Qemu 2.4.1. See README for more
details.

Issue #1863.
2016-02-05 10:47:43 +01:00

20 lines
380 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 core.c bus.c
SHARED_LIB = yes
LD_OPT += --version-script=$(LIB_DIR)/symbol.map
vpath %.c $(QEMU_USB_DIR)
vpath %.cc $(LIB_DIR)