mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-22 15:02:25 +00:00
5e4e634625
If `select_from_ports` is evaluated lazily, we might miss a port during the dependency check. A way to prevent this is to use the `:=` operator. Fixes genodelabs/genode#4618
26 lines
518 B
PHP
26 lines
518 B
PHP
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
|
|
LIBS += libc
|
|
LIBS += libyuv
|
|
|
|
SRC_CC = dummies.cc qemu_emul.cc host.cc webcam.cc
|
|
|
|
SRC_C = desc.c hcd-xhci.c hcd-xhci-pci.c core.c bus.c
|
|
SRC_C += dev-webcam.c
|
|
|
|
SHARED_LIB = yes
|
|
|
|
LD_OPT += --version-script=$(LIB_DIR)/symbol.map
|
|
|
|
vpath dev-webcam.c $(LIB_DIR)
|
|
vpath %.c $(QEMU_USB_DIR)
|
|
vpath %.cc $(LIB_DIR)
|
|
|
|
CC_CXX_WARN_STRICT =
|