mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-23 15:32:25 +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
29 lines
725 B
Makefile
29 lines
725 B
Makefile
MIRROR_FROM_REP_DIR := lib/import/import-libc.mk \
|
|
lib/symbols/libc \
|
|
lib/symbols/libm \
|
|
|
|
content: $(MIRROR_FROM_REP_DIR)
|
|
|
|
$(MIRROR_FROM_REP_DIR):
|
|
$(mirror_from_rep_dir)
|
|
|
|
PORT_DIR := $(call port_dir,$(REP_DIR)/ports/libc)
|
|
|
|
content: include
|
|
|
|
include:
|
|
mkdir $@
|
|
cp -r $(PORT_DIR)/include/* $@/
|
|
cp -r $(REP_DIR)/include/libc $@/
|
|
cp -r $(REP_DIR)/include/libc-genode $@/
|
|
cp $(REP_DIR)/src/lib/libc/task.h $@/libc/
|
|
|
|
content: LICENSE
|
|
|
|
LICENSE:
|
|
(echo "Based on FreeBSD, which is BSD licensed:"; \
|
|
echo " http://www.freebsd.org/copyright/freebsd-license.html"; \
|
|
echo "Genode-specific adaptations are AGPLv3 licensed:"; \
|
|
echo " http://genode.org/about/licenses") > $@
|
|
|