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
|
2017-04-12 08:06:29 +00:00
|
|
|
INC_DIR += $(BASE_DIR)/../base-hw/src/core
|
2016-05-12 06:35:18 +00:00
|
|
|
INC_DIR += $(BASE_DIR)/src/core/include
|
|
|
|
INC_DIR += $(BASE_DIR)/../base-hw/src/include
|
|
|
|
INC_DIR += $(BASE_DIR)/src/include
|
2017-02-21 12:46:59 +00:00
|
|
|
INC_DIR += $(BASE_DIR)/../base-hw/src/lib
|
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
|
2016-12-01 10:58:50 +00:00
|
|
|
SRC_CC += core_log.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
|
2015-04-16 09:25:23 +00:00
|
|
|
SRC_CC += kernel/cpu_scheduler.cc
|
|
|
|
SRC_CC += kernel/double_list.cc
|
2015-12-09 11:02:00 +00:00
|
|
|
SRC_CC += kernel/init.cc
|
2014-07-03 11:39:42 +00:00
|
|
|
SRC_CC += kernel/thread.cc
|
|
|
|
SRC_CC += kernel/signal_receiver.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
|
2014-10-10 14:13:52 +00:00
|
|
|
SRC_CC += kernel/cpu.cc
|
2017-03-23 02:06:53 +00:00
|
|
|
SRC_CC += kernel/timer.cc
|
2015-05-19 12:18:40 +00:00
|
|
|
SRC_CC += kernel/object.cc
|
2015-03-09 14:00:58 +00:00
|
|
|
SRC_CC += init_main_thread.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
|
2014-07-03 11:39:42 +00:00
|
|
|
|
|
|
|
# provide Genode version information
|
|
|
|
include $(BASE_DIR)/src/core/version.inc
|
|
|
|
|
2017-01-02 14:29:21 +00:00
|
|
|
# configure multiprocessor mode
|
2016-11-07 17:00:24 +00:00
|
|
|
NR_OF_CPUS ?= 1
|
2017-01-02 14:29:21 +00:00
|
|
|
CC_OPT += -Wa,--defsym -Wa,NR_OF_CPUS=$(NR_OF_CPUS) -DNR_OF_CPUS=$(NR_OF_CPUS)
|
|
|
|
|
2014-07-03 11:39:42 +00:00
|
|
|
# declare source locations
|
2016-05-12 06:35:18 +00:00
|
|
|
vpath % $(BASE_DIR)/../base-hw/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
|