mk: always use linker scripts from base

The linker scripts are known to reside in BASE_DIR. By using them
directly from this location instead of searching them in the
REPOSITORIES, we don't need to specify the repos/base as a repository in
order to link.
This commit is contained in:
Norman Feske 2016-05-29 01:40:03 +02:00
parent a025ff9237
commit b2fddf4b99

View File

@ -154,12 +154,12 @@ CXX_LINK_OPT += $(LD_OPT_NOSTDLIB)
#
# Linker script for dynamically linked programs
#
LD_SCRIPT_DYN = $(call select_from_repositories,src/ld/genode_dyn.ld)
LD_SCRIPT_DYN = $(BASE_DIR)/src/ld/genode_dyn.ld
#
# Linker script for shared libraries
#
LD_SCRIPT_SO ?= $(call select_from_repositories,src/ld/genode_rel.ld)
LD_SCRIPT_SO ?= $(BASE_DIR)/src/ld/genode_rel.ld
#
# Assembler options