genode/repos/base-linux/recipes/api/base-linux/content.mk
Norman Feske bf62d6b896 Move timer from os to base repository
Since the timer and timeout handling is part of the base library (the
dynamic linker), it belongs to the base repository.

Besides moving the timer and its related infrastructure (alarm, timeout
libs, tests) to the base repository, this patch also moves the timer
from the 'drivers' subdirectory directly to 'src' and disamibuates the
timer's build locations for the various kernels. Otherwise the different
timer implementations could interfere with each other when using one
build directory with multiple kernels.

Note that this patch changes the include paths for the former os/timer,
os/alarm.h, os/duration.h, and os/timed_semaphore.h to base/.

Issue #3101
2019-01-14 12:33:57 +01:00

22 lines
549 B
Makefile

FROM_BASE_LINUX := etc src/lib/syscall src/lib/lx_hybrid lib/import
FROM_BASE_LINUX_AND_BASE := lib/mk src/lib/base src/include
FROM_BASE := src/lib/alarm src/lib/timeout
content: $(FROM_BASE_LINUX) $(FROM_BASE_LINUX_AND_BASE) $(FROM_BASE) LICENSE
$(FROM_BASE_LINUX):
mkdir -p $@
cp -r $(REP_DIR)/$@/* $@
$(FROM_BASE_LINUX_AND_BASE):
mkdir -p $@
cp -r $(GENODE_DIR)/repos/base/$@/* $@
cp -r $(REP_DIR)/$@/* $@
$(FROM_BASE):
mkdir -p $@
cp -r $(GENODE_DIR)/repos/base/$@/* $@
LICENSE:
cp $(GENODE_DIR)/LICENSE $@