mk/ld.mk: trigger kernel-dependent ld.lib.so build

When 'KERNEL' is specified, let the generic (pseudo) target of
lib/mk/ld.mk trigger the build of the actual dynamic linker named after
the used kernel. This way, we become able to remove the magic
linker-build step from the boot-image stage of the run tool.

Issue #4320
This commit is contained in:
Norman Feske 2022-02-08 16:26:05 +01:00
parent f2f0711bf4
commit 23f92da02f

View File

@ -13,3 +13,5 @@
SHARED_LIB := yes
LD_OPT += -T$(BASE_DIR)/src/lib/ldso/linker.ld
LIBS += $(addprefix ld-,$(KERNEL))