mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-27 01:11:06 +00:00
23f92da02f
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
18 lines
531 B
Makefile
18 lines
531 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))
|