mirror of
https://github.com/genodelabs/genode.git
synced 2025-01-02 12:06:44 +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
15 lines
417 B
Makefile
15 lines
417 B
Makefile
#
|
|
# Specifics for the NOVA kernel API
|
|
#
|
|
|
|
SPECS += nova
|
|
SPECS += pci ps2 vesa framebuffer
|
|
|
|
#
|
|
# We would normally have to do this only in the kernel lib. We do it in
|
|
# general nonetheless to ensure that the kernel port, if missing, is added to
|
|
# the missing-ports list of the first build stage. The kernel lib is evaluated
|
|
# only at a later build stage.
|
|
#
|
|
NOVA_SRC_DIR := $(call select_from_ports,nova)/src/kernel/nova
|