mirror of
https://github.com/genodelabs/genode.git
synced 2025-06-24 01:28:48 +00:00
core: unify handling of boot modules
Instead of solving the problem to deliver ROM modules to core while booting differently for the several kernels (multi-boot, elfweaver, core re-linking), this commit unifies the approaches. It always builds core as a library, and after all binaries are built from a run-script, the run-tool will link an ELF image out of the core-library and all boot modules. Thereby, core can access its ROM modules directly. This approach now works for all kernels except Linux. With this solution, there is no [build_dir]/bin/core binary available anymore. For debugging purposes you will find a core binary without boot modules, but with debug symbols under [run_dir].core. Fix #2095
This commit is contained in:
committed by
Christian Helmuth
parent
340a18007c
commit
7e1692d997
@ -52,6 +52,7 @@ include $(BASE_DIR)/mk/global.mk
|
||||
#
|
||||
# Assemble linker options for static and dynamic linkage
|
||||
#
|
||||
LD_TEXT_ADDR ?= 0x01000000
|
||||
ifneq ($(LD_TEXT_ADDR),)
|
||||
CXX_LINK_OPT += -Wl,-Ttext=$(LD_TEXT_ADDR)
|
||||
endif
|
||||
|
Reference in New Issue
Block a user