bf62d6b896
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
27 lines
645 B
Makefile
27 lines
645 B
Makefile
include $(GENODE_DIR)/repos/base/recipes/src/base_content.inc
|
|
|
|
content: README
|
|
README:
|
|
cp $(REP_DIR)/recipes/src/base-fiasco/README $@
|
|
|
|
content: lib/import config
|
|
lib/import config:
|
|
$(mirror_from_rep_dir)
|
|
|
|
content: src/kernel/fiasco
|
|
src/kernel:
|
|
$(mirror_from_rep_dir)
|
|
|
|
KERNEL_PORT_DIR := $(call port_dir,$(REP_DIR)/ports/fiasco)
|
|
|
|
src/kernel/fiasco: src/kernel
|
|
cp -r $(KERNEL_PORT_DIR)/src/kernel/fiasco/* $@
|
|
|
|
content:
|
|
for spec in x86_32; do \
|
|
mv lib/mk/spec/$$spec/ld-fiasco.mk lib/mk/spec/$$spec/ld.mk; \
|
|
done;
|
|
sed -i "s/ld-fiasco/ld/" src/lib/ld/fiasco/target.mk
|
|
sed -i "s/fiasco_timer_drv/timer/" src/timer/fiasco/target.mk
|
|
|