2014-07-03 11:39:42 +00:00
|
|
|
#
|
|
|
|
# \brief Build config for Genodes core process
|
|
|
|
# \author Martin Stein
|
|
|
|
# \date 2011-12-16
|
|
|
|
#
|
|
|
|
|
2017-01-02 14:51:09 +00:00
|
|
|
LIBS += base-hw-common cxx
|
2014-07-03 11:39:42 +00:00
|
|
|
|
|
|
|
# add include paths
|
2021-01-18 16:55:51 +00:00
|
|
|
REP_INC_DIR += src/core
|
|
|
|
REP_INC_DIR += src/core/include
|
|
|
|
REP_INC_DIR += src/include
|
2014-07-03 11:39:42 +00:00
|
|
|
|
|
|
|
# add C++ sources
|
|
|
|
SRC_CC += cpu_session_component.cc
|
|
|
|
SRC_CC += cpu_session_support.cc
|
2016-05-10 16:05:38 +00:00
|
|
|
SRC_CC += cpu_thread_component.cc
|
2017-12-11 12:05:08 +00:00
|
|
|
SRC_CC += core_log.cc
|
2017-12-12 09:53:03 +00:00
|
|
|
SRC_CC += core_log_out.cc
|
2016-04-15 13:19:22 +00:00
|
|
|
SRC_CC += core_region_map.cc
|
2014-07-03 11:39:42 +00:00
|
|
|
SRC_CC += core_mem_alloc.cc
|
2016-01-19 19:24:22 +00:00
|
|
|
SRC_CC += core_rpc_cap_alloc.cc
|
2014-07-03 11:39:42 +00:00
|
|
|
SRC_CC += dataspace_component.cc
|
2016-05-03 14:31:17 +00:00
|
|
|
SRC_CC += default_log.cc
|
2014-07-03 11:39:42 +00:00
|
|
|
SRC_CC += dump_alloc.cc
|
2016-11-07 17:00:24 +00:00
|
|
|
SRC_CC += kernel_log.cc
|
2014-07-03 11:39:42 +00:00
|
|
|
SRC_CC += io_mem_session_component.cc
|
|
|
|
SRC_CC += io_mem_session_support.cc
|
|
|
|
SRC_CC += irq_session_component.cc
|
|
|
|
SRC_CC += main.cc
|
2017-06-13 12:54:08 +00:00
|
|
|
SRC_CC += native_pd_component.cc
|
2017-06-20 13:25:04 +00:00
|
|
|
SRC_CC += native_utcb.cc
|
2017-08-02 15:30:49 +00:00
|
|
|
SRC_CC += pd_session_support.cc
|
2014-07-03 11:39:42 +00:00
|
|
|
SRC_CC += platform.cc
|
2017-08-17 14:20:56 +00:00
|
|
|
SRC_CC += platform_rom_modules.cc
|
2014-07-03 11:39:42 +00:00
|
|
|
SRC_CC += platform_pd.cc
|
|
|
|
SRC_CC += platform_thread.cc
|
2016-01-23 13:42:55 +00:00
|
|
|
SRC_CC += stack_area.cc
|
2017-05-11 18:03:28 +00:00
|
|
|
SRC_CC += pd_session_component.cc
|
2017-05-11 13:03:03 +00:00
|
|
|
SRC_CC += ram_dataspace_support.cc
|
2016-04-15 13:19:22 +00:00
|
|
|
SRC_CC += region_map_component.cc
|
2014-07-03 11:39:42 +00:00
|
|
|
SRC_CC += rom_session_component.cc
|
|
|
|
SRC_CC += trace_session_component.cc
|
2017-05-10 18:11:38 +00:00
|
|
|
SRC_CC += signal_receiver.cc
|
2017-05-11 13:03:03 +00:00
|
|
|
SRC_CC += ram_dataspace_factory.cc
|
2017-05-10 18:11:38 +00:00
|
|
|
SRC_CC += signal_transmitter_noinit.cc
|
2014-07-09 10:03:17 +00:00
|
|
|
SRC_CC += thread_start.cc
|
2015-05-19 12:18:40 +00:00
|
|
|
SRC_CC += env.cc
|
2016-04-15 13:19:22 +00:00
|
|
|
SRC_CC += region_map_support.cc
|
2014-07-03 11:39:42 +00:00
|
|
|
SRC_CC += pager.cc
|
|
|
|
SRC_CC += _main.cc
|
2018-11-26 10:18:57 +00:00
|
|
|
SRC_CC += kernel/cpu.cc
|
2024-02-12 13:52:06 +00:00
|
|
|
SRC_CC += kernel/scheduler.cc
|
2015-04-16 09:25:23 +00:00
|
|
|
SRC_CC += kernel/ipc_node.cc
|
2014-07-03 11:39:42 +00:00
|
|
|
SRC_CC += kernel/irq.cc
|
2021-07-05 13:47:24 +00:00
|
|
|
SRC_CC += kernel/main.cc
|
2015-05-19 12:18:40 +00:00
|
|
|
SRC_CC += kernel/object.cc
|
2018-11-26 10:18:57 +00:00
|
|
|
SRC_CC += kernel/signal_receiver.cc
|
|
|
|
SRC_CC += kernel/thread.cc
|
|
|
|
SRC_CC += kernel/timer.cc
|
2015-05-19 12:18:40 +00:00
|
|
|
SRC_CC += capability.cc
|
2017-06-20 13:01:05 +00:00
|
|
|
SRC_CC += stack_area_addr.cc
|
2018-11-14 15:19:30 +00:00
|
|
|
SRC_CC += heartbeat.cc
|
2014-07-03 11:39:42 +00:00
|
|
|
|
2024-10-11 12:39:01 +00:00
|
|
|
CC_OPT_platform += -DBOARD_NAME="\"$(BOARD)\""
|
|
|
|
|
2014-07-03 11:39:42 +00:00
|
|
|
# provide Genode version information
|
|
|
|
include $(BASE_DIR)/src/core/version.inc
|
|
|
|
|
2021-01-18 16:55:51 +00:00
|
|
|
TMP := $(call select_from_repositories,lib/mk/core-hw.inc)
|
2021-02-16 13:21:34 +00:00
|
|
|
BASE_HW_DIR := $(TMP:%/lib/mk/core-hw.inc=%)
|
2021-01-18 16:55:51 +00:00
|
|
|
|
2014-07-03 11:39:42 +00:00
|
|
|
# declare source locations
|
2020-04-08 15:24:34 +00:00
|
|
|
vpath % $(BASE_HW_DIR)/src/core
|
2014-07-09 10:03:17 +00:00
|
|
|
vpath % $(BASE_DIR)/src/core
|
2015-09-03 12:55:05 +00:00
|
|
|
vpath % $(BASE_DIR)/src/lib/startup
|
2024-07-03 12:44:15 +00:00
|
|
|
|
|
|
|
include $(call select_from_repositories,lib/mk/consts-hw.inc)
|