mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-26 00:41:08 +00:00
7a11384177
The pthread API is considered a standard feature of libc so better to simply merge it with the libc. Pthreads are in fact already a part of the libc in the form of weak symbols. This merger is also a prerequisite for better integrating pthreads with the libc I/O task. Fix #3054
26 lines
484 B
Makefile
26 lines
484 B
Makefile
LIBUSB_DIR := $(call select_from_ports,libusb)/src/lib/libusb
|
|
LIBS += libc libc_pipe
|
|
|
|
# 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 =
|