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
This commit is contained in:
Norman Feske 2022-02-08 16:54:26 +01:00
parent 368730ce0b
commit 59936c22c0

View File

@ -14,6 +14,7 @@ lib:
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