genode/repos/libports/lib/mk/libusb.mk
Norman Feske 366bba0227 Exclude higher-level repos from strict warnings
This is a follow-up commit to "Increase default warning level", which
overrides Genode's new default warning level for targets contained in
higher-level repositories. By explicitly whitelisting all those targets,
we can selectively adjust them to the new strictness over time - by
looking out for 'CC_CXX_WARN_STRICT' in the target description files.

Issue #465
2018-01-17 12:14:36 +01:00

26 lines
492 B
Makefile

LIBUSB_DIR := $(call select_from_ports,libusb)/src/lib/libusb
LIBS += libc libc_pipe pthread
# find 'config.h'
INC_DIR += $(REP_DIR)/src/lib/libusb
INC_DIR += $(LIBUSB_DIR)/libusb
SRC_C = core.c \
descriptor.c \
io.c \
strerror.c \
sync.c \
hotplug.c \
os/poll_posix.c \
os/threads_posix.c
SRC_CC = genode_usb_raw.cc
vpath %.c $(LIBUSB_DIR)/libusb
vpath %.cc $(REP_DIR)/src/lib/libusb
SHARED_LIB = yes
CC_CXX_WARN_STRICT =