mk: make LD_SCRIPT_DYN customizable

This way, a target.mk becomes able to override the default linker
script, e.g., for adding custom symbols.
This commit is contained in:
Norman Feske 2021-06-21 14:13:14 +02:00 committed by Christian Helmuth
parent 0dc7084b0f
commit 5b85bd9602

View File

@ -214,7 +214,7 @@ CXX_LINK_OPT += $(LD_OPT_NOSTDLIB)
#
# Linker script for dynamically linked programs
#
LD_SCRIPT_DYN = $(BASE_DIR)/src/ld/genode_dyn.ld
LD_SCRIPT_DYN ?= $(BASE_DIR)/src/ld/genode_dyn.ld
#
# Linker script for shared libraries