From f1f0ee3a215c3d63c294e6729bb44daa0e137739 Mon Sep 17 00:00:00 2001 From: Norman Feske Date: Fri, 2 Sep 2022 15:58:12 +0200 Subject: [PATCH] base: disregard ld.lib.so stub as build artifact The ld.lib.so stub library generated by base/lib/mk/ld.mk has no purpose at runtime. On the contrary, it must not be integrated into the boot image because its name collides with the kernel-specific dynamic linker. --- repos/base/lib/mk/ld.mk | 3 +++ 1 file changed, 3 insertions(+) diff --git a/repos/base/lib/mk/ld.mk b/repos/base/lib/mk/ld.mk index 4ba705717b..23fed31558 100644 --- a/repos/base/lib/mk/ld.mk +++ b/repos/base/lib/mk/ld.mk @@ -15,3 +15,6 @@ SHARED_LIB := yes LD_OPT += -T$(BASE_DIR)/src/lib/ldso/linker.ld LIBS += $(addprefix ld-,$(KERNEL)) + +# as the stub libarary is not used at runtime, disregard it as build artifact +BUILD_ARTIFACTS :=