2016-09-15 14:08:33 +00:00
|
|
|
CC_OPT_PIC =
|
Merge base libraries into a single library
This patch simplifies the way of how Genode's base libraries are
organized. Originally, the base API was implemented in the form of many
small libraries such as 'thread', 'env', 'server', etc. Most of them
used to consist of only a small number of files. Because those libraries
are incorporated in any build, the checking of their inter-dependencies
made the build process more verbose than desired. Also, the number of
libraries and their roles (core only, non-core only, shared by both core
and non-core) were not easy to capture.
Hereby, the base libraries have been reduced to the following few
libraries:
- startup.mk contains the startup code for normal Genode processes.
On some platform, core is able to use the library as well.
- base-common.mk contains the parts of the base library that are
identical by core and non-core processes.
- base.mk contains the complete base API implementation for non-core
processes
Consequently, the 'LIBS' declaration in 'target.mk' files becomes
simpler as well. In the most simple case, only the 'base' library must
be mentioned.
Fixes #18
2013-02-14 11:39:51 +00:00
|
|
|
|
2016-12-29 17:27:45 +00:00
|
|
|
LIBS += okl4_boot_info base-okl4-common syscall-okl4 cxx
|
2011-12-22 15:19:25 +00:00
|
|
|
|
2017-04-07 16:29:08 +00:00
|
|
|
GEN_CORE_DIR := $(dir $(call select_from_repositories,src/core/main.cc))
|
|
|
|
GEN_SRC_DIR := $(realpath $(GEN_CORE_DIR)/..)
|
2011-12-22 15:19:25 +00:00
|
|
|
|
2016-01-23 13:42:55 +00:00
|
|
|
SRC_CC += stack_area.cc \
|
2015-06-19 12:58:18 +00:00
|
|
|
core_mem_alloc.cc \
|
2017-12-12 09:53:03 +00:00
|
|
|
core_log_out.cc \
|
2016-04-15 13:19:22 +00:00
|
|
|
core_region_map.cc \
|
2016-01-19 19:24:22 +00:00
|
|
|
core_rpc_cap_alloc.cc \
|
Merge base libraries into a single library
This patch simplifies the way of how Genode's base libraries are
organized. Originally, the base API was implemented in the form of many
small libraries such as 'thread', 'env', 'server', etc. Most of them
used to consist of only a small number of files. Because those libraries
are incorporated in any build, the checking of their inter-dependencies
made the build process more verbose than desired. Also, the number of
libraries and their roles (core only, non-core only, shared by both core
and non-core) were not easy to capture.
Hereby, the base libraries have been reduced to the following few
libraries:
- startup.mk contains the startup code for normal Genode processes.
On some platform, core is able to use the library as well.
- base-common.mk contains the parts of the base library that are
identical by core and non-core processes.
- base.mk contains the complete base API implementation for non-core
processes
Consequently, the 'LIBS' declaration in 'target.mk' files becomes
simpler as well. In the most simple case, only the 'base' library must
be mentioned.
Fixes #18
2013-02-14 11:39:51 +00:00
|
|
|
cpu_session_component.cc \
|
|
|
|
cpu_session_support.cc \
|
2016-05-10 16:05:38 +00:00
|
|
|
cpu_thread_component.cc \
|
2016-06-15 13:04:54 +00:00
|
|
|
capability_space.cc \
|
2015-06-19 12:58:18 +00:00
|
|
|
dataspace_component.cc \
|
2016-05-03 14:31:17 +00:00
|
|
|
default_log.cc \
|
2015-06-19 12:58:18 +00:00
|
|
|
dump_alloc.cc \
|
Merge base libraries into a single library
This patch simplifies the way of how Genode's base libraries are
organized. Originally, the base API was implemented in the form of many
small libraries such as 'thread', 'env', 'server', etc. Most of them
used to consist of only a small number of files. Because those libraries
are incorporated in any build, the checking of their inter-dependencies
made the build process more verbose than desired. Also, the number of
libraries and their roles (core only, non-core only, shared by both core
and non-core) were not easy to capture.
Hereby, the base libraries have been reduced to the following few
libraries:
- startup.mk contains the startup code for normal Genode processes.
On some platform, core is able to use the library as well.
- base-common.mk contains the parts of the base library that are
identical by core and non-core processes.
- base.mk contains the complete base API implementation for non-core
processes
Consequently, the 'LIBS' declaration in 'target.mk' files becomes
simpler as well. In the most simple case, only the 'base' library must
be mentioned.
Fixes #18
2013-02-14 11:39:51 +00:00
|
|
|
io_mem_session_component.cc \
|
|
|
|
io_mem_session_support.cc \
|
2015-06-19 12:58:18 +00:00
|
|
|
irq_session_component.cc \
|
|
|
|
main.cc \
|
|
|
|
pager.cc \
|
2015-07-29 08:58:17 +00:00
|
|
|
pager_ep.cc \
|
|
|
|
pager_object.cc \
|
2017-08-02 15:30:49 +00:00
|
|
|
pd_session_support.cc \
|
2016-06-15 13:04:54 +00:00
|
|
|
rpc_cap_factory_l4.cc \
|
2017-05-11 13:03:03 +00:00
|
|
|
ram_dataspace_factory.cc \
|
Merge base libraries into a single library
This patch simplifies the way of how Genode's base libraries are
organized. Originally, the base API was implemented in the form of many
small libraries such as 'thread', 'env', 'server', etc. Most of them
used to consist of only a small number of files. Because those libraries
are incorporated in any build, the checking of their inter-dependencies
made the build process more verbose than desired. Also, the number of
libraries and their roles (core only, non-core only, shared by both core
and non-core) were not easy to capture.
Hereby, the base libraries have been reduced to the following few
libraries:
- startup.mk contains the startup code for normal Genode processes.
On some platform, core is able to use the library as well.
- base-common.mk contains the parts of the base library that are
identical by core and non-core processes.
- base.mk contains the complete base API implementation for non-core
processes
Consequently, the 'LIBS' declaration in 'target.mk' files becomes
simpler as well. In the most simple case, only the 'base' library must
be mentioned.
Fixes #18
2013-02-14 11:39:51 +00:00
|
|
|
platform.cc \
|
2017-08-17 14:20:56 +00:00
|
|
|
platform_rom_modules.cc \
|
2015-06-19 12:58:18 +00:00
|
|
|
platform_pd.cc \
|
Merge base libraries into a single library
This patch simplifies the way of how Genode's base libraries are
organized. Originally, the base API was implemented in the form of many
small libraries such as 'thread', 'env', 'server', etc. Most of them
used to consist of only a small number of files. Because those libraries
are incorporated in any build, the checking of their inter-dependencies
made the build process more verbose than desired. Also, the number of
libraries and their roles (core only, non-core only, shared by both core
and non-core) were not easy to capture.
Hereby, the base libraries have been reduced to the following few
libraries:
- startup.mk contains the startup code for normal Genode processes.
On some platform, core is able to use the library as well.
- base-common.mk contains the parts of the base library that are
identical by core and non-core processes.
- base.mk contains the complete base API implementation for non-core
processes
Consequently, the 'LIBS' declaration in 'target.mk' files becomes
simpler as well. In the most simple case, only the 'base' library must
be mentioned.
Fixes #18
2013-02-14 11:39:51 +00:00
|
|
|
platform_services.cc \
|
2015-06-19 12:58:18 +00:00
|
|
|
platform_thread.cc \
|
2017-05-11 18:03:28 +00:00
|
|
|
pd_session_component.cc \
|
2017-05-11 13:03:03 +00:00
|
|
|
ram_dataspace_support.cc \
|
2016-04-15 13:19:22 +00:00
|
|
|
region_map_component.cc \
|
2015-06-19 12:58:18 +00:00
|
|
|
rom_session_component.cc \
|
Merge base libraries into a single library
This patch simplifies the way of how Genode's base libraries are
organized. Originally, the base API was implemented in the form of many
small libraries such as 'thread', 'env', 'server', etc. Most of them
used to consist of only a small number of files. Because those libraries
are incorporated in any build, the checking of their inter-dependencies
made the build process more verbose than desired. Also, the number of
libraries and their roles (core only, non-core only, shared by both core
and non-core) were not easy to capture.
Hereby, the base libraries have been reduced to the following few
libraries:
- startup.mk contains the startup code for normal Genode processes.
On some platform, core is able to use the library as well.
- base-common.mk contains the parts of the base library that are
identical by core and non-core processes.
- base.mk contains the complete base API implementation for non-core
processes
Consequently, the 'LIBS' declaration in 'target.mk' files becomes
simpler as well. In the most simple case, only the 'base' library must
be mentioned.
Fixes #18
2013-02-14 11:39:51 +00:00
|
|
|
signal_source_component.cc \
|
2017-05-10 18:11:38 +00:00
|
|
|
signal_transmitter_proxy.cc \
|
|
|
|
signal_receiver.cc \
|
2015-06-19 12:58:18 +00:00
|
|
|
thread_start.cc \
|
|
|
|
trace_session_component.cc
|
2011-12-22 15:19:25 +00:00
|
|
|
|
2016-01-20 17:27:18 +00:00
|
|
|
INC_DIR += $(REP_DIR)/src/core/include $(GEN_CORE_DIR)/include \
|
2017-04-07 16:29:08 +00:00
|
|
|
$(REP_DIR)/src/include $(GEN_SRC_DIR)/include
|
2011-12-22 15:19:25 +00:00
|
|
|
|
2014-03-18 15:23:52 +00:00
|
|
|
include $(GEN_CORE_DIR)/version.inc
|
|
|
|
|
2011-12-22 15:19:25 +00:00
|
|
|
vpath main.cc $(GEN_CORE_DIR)
|
2017-05-11 18:03:28 +00:00
|
|
|
vpath pd_session_component.cc $(GEN_CORE_DIR)
|
2011-12-22 15:19:25 +00:00
|
|
|
vpath rom_session_component.cc $(GEN_CORE_DIR)
|
|
|
|
vpath cpu_session_component.cc $(GEN_CORE_DIR)
|
2016-03-30 13:34:37 +00:00
|
|
|
vpath cpu_session_support.cc $(GEN_CORE_DIR)
|
2016-05-10 16:05:38 +00:00
|
|
|
vpath cpu_thread_component.cc $(GEN_CORE_DIR)
|
2016-06-15 13:04:54 +00:00
|
|
|
vpath capability_space.cc $(GEN_CORE_DIR)
|
|
|
|
vpath rpc_cap_factory_l4.cc $(GEN_CORE_DIR)
|
2017-05-11 13:03:03 +00:00
|
|
|
vpath ram_dataspace_factory.cc $(GEN_CORE_DIR)
|
2016-01-19 19:24:22 +00:00
|
|
|
vpath pd_upgrade_ram_quota.cc $(GEN_CORE_DIR)
|
2017-08-02 15:30:49 +00:00
|
|
|
vpath pd_session_support.cc $(GEN_CORE_DIR)
|
2016-04-15 13:19:22 +00:00
|
|
|
vpath region_map_component.cc $(GEN_CORE_DIR)
|
2011-12-22 15:19:25 +00:00
|
|
|
vpath io_mem_session_component.cc $(GEN_CORE_DIR)
|
|
|
|
vpath io_mem_session_support.cc $(GEN_CORE_DIR)
|
|
|
|
vpath signal_source_component.cc $(GEN_CORE_DIR)
|
2017-05-10 18:11:38 +00:00
|
|
|
vpath signal_transmitter_proxy.cc $(GEN_CORE_DIR)
|
|
|
|
vpath signal_receiver.cc $(GEN_CORE_DIR)
|
2013-08-10 01:44:55 +00:00
|
|
|
vpath trace_session_component.cc $(GEN_CORE_DIR)
|
2011-12-22 15:19:25 +00:00
|
|
|
vpath dataspace_component.cc $(GEN_CORE_DIR)
|
|
|
|
vpath core_mem_alloc.cc $(GEN_CORE_DIR)
|
2016-01-19 19:24:22 +00:00
|
|
|
vpath core_rpc_cap_alloc.cc $(GEN_CORE_DIR)
|
2011-12-22 15:19:25 +00:00
|
|
|
vpath dump_alloc.cc $(GEN_CORE_DIR)
|
2016-05-03 14:31:17 +00:00
|
|
|
vpath default_log.cc $(GEN_CORE_DIR)
|
2016-01-23 13:42:55 +00:00
|
|
|
vpath stack_area.cc $(GEN_CORE_DIR)
|
2015-07-29 08:58:17 +00:00
|
|
|
vpath pager_ep.cc $(GEN_CORE_DIR)
|
2017-08-17 14:20:56 +00:00
|
|
|
vpath platform_rom_modules.cc $(GEN_CORE_DIR)
|