2022-09-23 13:05:17 +00:00
|
|
|
LIB_DIR = $(REP_DIR)/src/lib/qemu-usb
|
|
|
|
QEMU_USB_DIR := $(call select_from_ports,qemu-usb)/src/lib/qemu/hw/usb
|
2015-12-10 16:24:22 +00:00
|
|
|
|
|
|
|
CC_WARN=
|
|
|
|
|
|
|
|
INC_DIR += $(LIB_DIR) $(QEMU_USB_DIR)
|
|
|
|
|
2021-03-16 08:44:23 +00:00
|
|
|
LIBS = qemu-usb_include
|
|
|
|
LIBS += libc
|
|
|
|
LIBS += libyuv
|
2015-12-10 16:24:22 +00:00
|
|
|
|
2021-03-16 08:44:23 +00:00
|
|
|
SRC_CC = dummies.cc qemu_emul.cc host.cc webcam.cc
|
2015-12-10 16:24:22 +00:00
|
|
|
|
2021-03-16 08:44:23 +00:00
|
|
|
SRC_C = desc.c hcd-xhci.c hcd-xhci-pci.c core.c bus.c
|
|
|
|
SRC_C += dev-webcam.c
|
2015-12-10 16:24:22 +00:00
|
|
|
|
|
|
|
SHARED_LIB = yes
|
|
|
|
|
|
|
|
LD_OPT += --version-script=$(LIB_DIR)/symbol.map
|
|
|
|
|
2021-03-16 08:44:23 +00:00
|
|
|
vpath dev-webcam.c $(LIB_DIR)
|
2015-12-10 16:24:22 +00:00
|
|
|
vpath %.c $(QEMU_USB_DIR)
|
|
|
|
vpath %.cc $(LIB_DIR)
|
2018-01-03 17:40:54 +00:00
|
|
|
|
|
|
|
CC_CXX_WARN_STRICT =
|