mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-26 00:41:08 +00:00
7e1692d997
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
28 lines
498 B
Makefile
28 lines
498 B
Makefile
#
|
|
# Specifics for Fiasco.OC on ARM
|
|
#
|
|
|
|
SPECS += foc
|
|
|
|
#
|
|
# ARM-specific L4/sys headers
|
|
#
|
|
L4_INC_DIR = $(BUILD_BASE_DIR)/include/arm
|
|
L4F_INC_DIR = $(BUILD_BASE_DIR)/include/arm/l4f
|
|
|
|
#
|
|
# Defines for L4/sys headers
|
|
#
|
|
CC_OPT += -DCONFIG_L4_CALL_SYSCALLS -DARCH_arm
|
|
|
|
#
|
|
# Architecture-specific L4sys header files
|
|
#
|
|
L4_INC_TARGETS = arm/l4/sys \
|
|
arm/l4f/l4/sys \
|
|
arm/l4/vcpu
|
|
|
|
include $(call select_from_repositories,mk/spec/foc.mk)
|
|
|
|
INC_DIR += $(L4F_INC_DIR) $(L4_INC_DIR)
|