Files
genode/repos/base/recipes/api/base/content.mk
Norman Feske 59936c22c0 depot: cut kernel dependency from api/base
This patch removes the implicit build of ld-$(KERNEL) by the generic
ld.mk file because the kernel-specific dynamic linker is unreachable
when building a regular binary archive.

Issue #4320
2022-02-15 10:20:59 +01:00

33 lines
763 B
Makefile

content: include mk/spec lib LICENSE
# architectures, for which a 'trace/timestamp.h' header is available
ARCHS := riscv arm_v6 arm_v7 arm_64 x86_32 x86_64
include:
mkdir -p include
cp -r $(REP_DIR)/include/* $@/
LIB_MK_FILES := base.mk ld.mk ldso_so_support.mk
lib:
mkdir -p lib/mk lib/symbols
cp $(addprefix $(REP_DIR)/lib/mk/,$(LIB_MK_FILES)) lib/mk/
cp $(REP_DIR)/lib/symbols/ld lib/symbols/
touch lib/mk/config.mk
sed -i "/KERNEL/d" lib/mk/ld.mk
SPECS := x86_32 x86_64 32bit 64bit
mk/spec:
mkdir -p $@
cp $(foreach spec,$(SPECS),$(REP_DIR)/mk/spec/$(spec).mk) $@
content: lib/mk/ldso_so_support.mk src/lib/ldso/so_support.c
lib/mk/ldso_so_support.mk src/lib/ldso/so_support.c:
$(mirror_from_rep_dir)
LICENSE:
cp $(GENODE_DIR)/LICENSE $@