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
26 lines
467 B
Makefile
26 lines
467 B
Makefile
#
|
|
# Specifics for Fiasco.OC on x86 64-bit
|
|
#
|
|
|
|
SPECS += x86_64 foc
|
|
SPECS += pci ps2 vesa framebuffer
|
|
|
|
#
|
|
# L4/sys headers
|
|
#
|
|
L4_INC_DIR = $(BUILD_BASE_DIR)/include/amd64
|
|
L4F_INC_DIR = $(BUILD_BASE_DIR)/include/amd64/l4f
|
|
|
|
#
|
|
# Compile for 64-bit
|
|
#
|
|
CC_OPT += -m64
|
|
|
|
#
|
|
# Also include less-specific configuration last
|
|
#
|
|
include $(call select_from_repositories,mk/spec/x86_64.mk)
|
|
include $(call select_from_repositories,mk/spec/foc.mk)
|
|
|
|
INC_DIR += $(L4F_INC_DIR) $(L4_INC_DIR)
|