LIB_DIR = $(call select_from_repositories,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 += desc.c hcd-xhci.c hcd-xhci-pci.c core.c bus.c LD_OPT += --version-script=$(LIB_DIR)/symbol.map vpath %.c $(QEMU_USB_DIR) vpath %.cc $(LIB_DIR) CC_CXX_WARN_STRICT =