mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-26 17:01:07 +00:00
f1f0ee3a21
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.
21 lines
629 B
Makefile
21 lines
629 B
Makefile
#
|
|
# Generic ld.lib.so ABI stub library
|
|
#
|
|
# This library is used to build kernel-independent dynamically linked
|
|
# executables. It does not contain any code or data but only the symbol
|
|
# information of the binary interface of the Genode API.
|
|
#
|
|
# Note that this library is not used as runtime at all. At system-integration
|
|
# time, it is transparently replaced by the variant of the dynamic linker that
|
|
# matches the used kernel.
|
|
#
|
|
|
|
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 :=
|