2015-06-02 12:11:50 +02:00
|
|
|
#
|
|
|
|
# \brief Build config for Genodes core process
|
|
|
|
# \author Stefan Kalkowski
|
|
|
|
# \author Martin Stein
|
|
|
|
# \date 2012-10-04
|
|
|
|
#
|
|
|
|
|
2017-04-28 15:27:26 +02:00
|
|
|
REQUIRES = muen
|
|
|
|
|
|
|
|
LIBS += sinfo-muen
|
|
|
|
|
2015-06-02 12:11:50 +02:00
|
|
|
# add include paths
|
2017-04-28 15:27:26 +02:00
|
|
|
INC_DIR += $(REP_DIR)/src/core/spec/x86_64/muen
|
2020-04-08 17:24:34 +02:00
|
|
|
INC_DIR += $(REP_DIR)/src/core/spec/x86_64
|
2015-06-02 12:11:50 +02:00
|
|
|
|
|
|
|
# add assembly sources
|
|
|
|
SRC_S += spec/x86_64/crt0.s
|
2017-06-30 12:00:27 +02:00
|
|
|
SRC_S += spec/x86_64/exception_vector.s
|
2015-06-02 12:11:50 +02:00
|
|
|
|
|
|
|
# add C++ sources
|
2018-11-26 11:18:57 +01:00
|
|
|
SRC_CC += kernel/cpu_up.cc
|
2017-04-28 15:27:26 +02:00
|
|
|
SRC_CC += kernel/vm_thread_on.cc
|
2019-03-13 14:58:23 +01:00
|
|
|
SRC_CC += kernel/lock.cc
|
2016-09-22 11:53:09 +02:00
|
|
|
SRC_CC += spec/x86/io_port_session_component.cc
|
|
|
|
SRC_CC += spec/x86/io_port_session_support.cc
|
|
|
|
SRC_CC += spec/x86_64/bios_data_area.cc
|
|
|
|
SRC_CC += spec/x86_64/cpu.cc
|
|
|
|
SRC_CC += spec/x86_64/kernel/cpu.cc
|
2018-11-26 11:18:57 +01:00
|
|
|
SRC_CC += spec/x86_64/kernel/pd.cc
|
2016-09-22 11:53:09 +02:00
|
|
|
SRC_CC += spec/x86_64/kernel/thread.cc
|
|
|
|
SRC_CC += spec/x86_64/kernel/thread.cc
|
2018-11-26 11:18:57 +01:00
|
|
|
SRC_CC += spec/x86_64/muen/kernel/thread_exception.cc
|
|
|
|
SRC_CC += spec/x86_64/muen/kernel/vm.cc
|
|
|
|
SRC_CC += spec/x86_64/muen/platform_services.cc
|
|
|
|
SRC_CC += spec/x86_64/muen/platform_support.cc
|
|
|
|
SRC_CC += spec/x86_64/muen/sinfo_instance.cc
|
|
|
|
SRC_CC += spec/x86_64/muen/timer.cc
|
2019-09-04 15:38:19 +02:00
|
|
|
SRC_CC += spec/x86_64/muen/vm_session_component.cc
|
2016-09-22 11:53:09 +02:00
|
|
|
SRC_CC += spec/x86_64/platform_support_common.cc
|
2019-09-04 15:38:19 +02:00
|
|
|
SRC_CC += vm_session_common.cc
|
|
|
|
SRC_CC += vm_session_component.cc
|
2015-06-02 12:11:50 +02:00
|
|
|
|
2017-06-30 12:00:27 +02:00
|
|
|
SRC_CC += spec/64bit/memory_map.cc
|
|
|
|
|
2020-04-08 17:24:34 +02:00
|
|
|
vpath spec/64bit/memory_map.cc $(REP_DIR)/src/lib/hw
|
2017-06-30 12:00:27 +02:00
|
|
|
|
2015-06-02 12:11:50 +02:00
|
|
|
# include less specific configuration
|
2020-04-08 17:24:34 +02:00
|
|
|
include $(REP_DIR)/lib/mk/core-hw.inc
|