depot: adjust base recipe to removed headers

This patch updates the recipes for the base-<kernel> archives to the
recently removed os/config.h and os/timeout.h headers.
This commit is contained in:
Norman Feske 2017-05-31 10:20:59 +02:00 committed by Christian Helmuth
parent c3cf7f3c3a
commit 7bb8e332a9
3 changed files with 18 additions and 6 deletions

View File

@ -1,7 +1,19 @@
content: include mk/spec lib LICENSE
# architectures, for which a 'trace/timestamp.h' header is available
ARCHS := riscv arm_v6 arm_v7 x86_32 x86_64
MIRRORED_FROM_OS := $(foreach A,$(ARCHS),include/spec/$A/trace/timestamp.h)
include:
cp -r $(REP_DIR)/include $@
mkdir -p include
cp -r $(REP_DIR)/include/* $@/
content: $(MIRRORED_FROM_OS)
$(MIRRORED_FROM_OS):
mkdir -p $(dir $@)
cp $(GENODE_DIR)/repos/os/$@ $@
LIB_MK_FILES := base.mk ld.mk ldso-startup.mk

View File

@ -17,10 +17,10 @@ content: etc/specs.conf
etc/specs.conf:
$(mirror_from_rep_dir)
MIRRORED_FROM_OS := $(addprefix lib/mk/,timeout.mk alarm.mk config.mk timed_semaphore.mk)\
$(addprefix src/lib/,timeout alarm config timed_semaphore) \
$(addprefix include/os/,timeout.h alarm.h config.h timed_semaphore.h \
time_source.h) \
MIRRORED_FROM_OS := $(addprefix lib/mk/,timeout.mk alarm.mk timed_semaphore.mk)\
$(addprefix src/lib/,timeout alarm timed_semaphore) \
$(addprefix include/os/,alarm.h duration.h timed_semaphore.h) \
include/timer/timeout.h \
include/timer_session
content: $(MIRRORED_FROM_OS)

View File

@ -1,2 +1,2 @@
MIRRORED_FROM_REP_DIR := include/timer_session
MIRRORED_FROM_REP_DIR := include/timer_session include/timer
include $(REP_DIR)/recipes/api/session.inc