mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-28 09:38:53 +00:00
f763e5ec2a
To prevent multiple execution of main-bootstrap, I moved the code to a statically initialized object. The reason for this change is that _main() is exeuted twice when starting dynamic binaries. Now, the object is part of the base-common library which is linked with ld.lib.so.
35 lines
986 B
Makefile
35 lines
986 B
Makefile
#
|
|
# \brief Portions of base library shared by core and non-core processes
|
|
# \author Norman Feske
|
|
# \date 2013-02-14
|
|
#
|
|
|
|
LIBS += cxx syscall startup
|
|
|
|
SRC_CC += main_bootstrap.cc
|
|
SRC_CC += ipc/ipc.cc ipc/pager.cc
|
|
SRC_CC += pager/pager.cc
|
|
SRC_CC += avl_tree/avl_tree.cc
|
|
SRC_CC += allocator/slab.cc
|
|
SRC_CC += allocator/allocator_avl.cc
|
|
SRC_CC += heap/heap.cc heap/sliced_heap.cc
|
|
SRC_CC += console/console.cc
|
|
SRC_CC += child/child.cc
|
|
SRC_CC += process/process.cc
|
|
SRC_CC += elf/elf_binary.cc
|
|
SRC_CC += lock/lock.cc
|
|
SRC_CC += env/spin_lock.cc env/cap_map.cc
|
|
SRC_CC += signal/signal.cc signal/common.cc
|
|
SRC_CC += server/server.cc server/common.cc
|
|
SRC_CC += thread/thread.cc thread/thread_bootstrap.cc thread/trace.cc
|
|
|
|
INC_DIR += $(REP_DIR)/src/base/lock
|
|
INC_DIR += $(BASE_DIR)/src/base/lock
|
|
INC_DIR += $(BASE_DIR)/src/base/thread
|
|
|
|
vpath main_bootstrap.cc $(REP_DIR)/src/platform
|
|
vpath %.cc $(REP_DIR)/src/base
|
|
vpath %.cc $(BASE_DIR)/src/base
|
|
|
|
# vi: set ft=make :
|