mk: obtain 'genode.ld' always form BASE_DIR

This way, the base repository does not need to be present in the
'REPOSITORIES' list when building static executables.
This commit is contained in:
Norman Feske 2017-03-31 11:54:25 +02:00 committed by Christian Helmuth
parent 1c79ba4182
commit da294cb02a
2 changed files with 2 additions and 2 deletions

View File

@ -39,7 +39,7 @@ INC_DIR += $(REP_DIR)/src/core/include \
$(BASE_DIR)/src/include
LD_TEXT_ADDR ?= 0x01000000
LD_SCRIPT_STATIC = $(call select_from_repositories,src/ld/genode.ld) \
LD_SCRIPT_STATIC = $(BASE_DIR)/src/ld/genode.ld \
$(call select_from_repositories,src/ld/stack_area.nostdlib.ld)
include $(GEN_CORE_DIR)/version.inc

View File

@ -62,7 +62,7 @@ CXX_LINK_OPT += $(CC_MARCH)
#
# Generic linker script for statically linked binaries
#
LD_SCRIPT_STATIC ?= $(call select_from_repositories,src/ld/genode.ld)
LD_SCRIPT_STATIC ?= $(BASE_DIR)/src/ld/genode.ld
include $(BASE_DIR)/mk/generic.mk
include $(BASE_DIR)/mk/base-libs.mk