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:
parent
1c79ba4182
commit
da294cb02a
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue