2016-12-09 22:09:17 +00:00
|
|
|
#
|
2016-12-29 17:27:45 +00:00
|
|
|
# Generic ld.lib.so ABI stub library
|
2016-12-09 22:09:17 +00:00
|
|
|
#
|
2023-11-20 13:53:05 +00:00
|
|
|
# The ABI of this library is used to build kernel-independent dynamically
|
|
|
|
# linked executables. The library does not contain any code or data but only
|
|
|
|
# the symbol information of the binary interface of the Genode API.
|
2016-12-09 22:09:17 +00:00
|
|
|
#
|
|
|
|
# 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.
|
|
|
|
#
|
2023-11-20 13:53:05 +00:00
|
|
|
# By adding a LIB dependency from the kernel-specific dynamic linker, we
|
|
|
|
# let dep_lib.mk generate the rule for ld-<KERNEL>.so into the var/libdeps
|
|
|
|
# file. The build of the ld-<KERNEL>.so is triggered because the top-level
|
|
|
|
# Makefile manually adds the dependency 'ld.so: ld-<KERNEL>.so' to the
|
|
|
|
# var/libdeps file for the currently selected kernel.
|
|
|
|
#
|
2022-02-08 15:26:05 +00:00
|
|
|
LIBS += $(addprefix ld-,$(KERNEL))
|
2022-09-02 13:58:12 +00:00
|
|
|
|
|
|
|
# as the stub libarary is not used at runtime, disregard it as build artifact
|
|
|
|
BUILD_ARTIFACTS :=
|