mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-20 06:07:59 +00:00
46c846ef91
issue #4158
29 lines
584 B
Makefile
29 lines
584 B
Makefile
LIBUSB_DIR := $(call select_from_ports,libusb)/src/lib/libusb
|
|
LIBS += libc
|
|
|
|
# find 'config.h'
|
|
INC_DIR += $(REP_DIR)/src/lib/libusb
|
|
|
|
INC_DIR += $(LIBUSB_DIR)/libusb
|
|
|
|
# internal/thread_create.h for Libc::pthread_create
|
|
INC_DIR += $(call select_from_repositories,src/lib/libc)
|
|
|
|
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 =
|