mirror of
https://github.com/mmueller41/genode.git
synced 2026-01-21 12:32:56 +01:00
@@ -4,9 +4,9 @@
|
||||
# \date 2014-02-21
|
||||
#
|
||||
|
||||
include $(REP_DIR)/lib/mk/base.inc
|
||||
include $(REP_DIR)/lib/mk/base-linux.inc
|
||||
|
||||
LIBS += startup
|
||||
LIBS += startup base-linux-common
|
||||
SRC_CC += thread.cc thread_myself.cc thread_linux.cc
|
||||
SRC_CC += capability_space.cc capability_raw.cc
|
||||
SRC_CC += attach_stack_area.cc
|
||||
@@ -4,7 +4,7 @@ vpath new_delete.cc $(BASE_DIR)/src/lib/cxx
|
||||
vpath lx_hybrid.cc $(REP_DIR)/src/lib/lx_hybrid
|
||||
|
||||
# add parts of the base library that are shared with core
|
||||
LIBS += base-common
|
||||
LIBS += base-linux-common
|
||||
|
||||
# non-core parts of the base library (except for the startup code)
|
||||
include $(REP_DIR)/lib/mk/base.inc
|
||||
include $(REP_DIR)/lib/mk/base-linux.inc
|
||||
|
||||
3
repos/base-linux/lib/mk/spec/arm/ld.mk
Normal file
3
repos/base-linux/lib/mk/spec/arm/ld.mk
Normal file
@@ -0,0 +1,3 @@
|
||||
BASE_LIBS += base-linux-common base-linux
|
||||
|
||||
include $(BASE_DIR)/lib/mk/spec/arm/ld.inc
|
||||
@@ -6,4 +6,4 @@
|
||||
|
||||
SRC_CC += cache.cc
|
||||
|
||||
include $(REP_DIR)/lib/mk/base.mk
|
||||
include $(REP_DIR)/lib/mk/base-linux.mk
|
||||
3
repos/base-linux/lib/mk/spec/x86_32/ld.mk
Normal file
3
repos/base-linux/lib/mk/spec/x86_32/ld.mk
Normal file
@@ -0,0 +1,3 @@
|
||||
BASE_LIBS += base-linux-common base-linux
|
||||
|
||||
include $(BASE_DIR)/lib/mk/spec/x86_32/ld.inc
|
||||
3
repos/base-linux/lib/mk/spec/x86_64/ld.mk
Normal file
3
repos/base-linux/lib/mk/spec/x86_64/ld.mk
Normal file
@@ -0,0 +1,3 @@
|
||||
BASE_LIBS += base-linux-common base-linux
|
||||
|
||||
include $(BASE_DIR)/lib/mk/spec/x86_64/ld.inc
|
||||
@@ -41,7 +41,7 @@ install_config {
|
||||
|
||||
# generic modules
|
||||
set boot_modules {
|
||||
core init
|
||||
core ld.lib.so init
|
||||
test-lx_hybrid_ctors
|
||||
}
|
||||
|
||||
|
||||
@@ -36,7 +36,7 @@ install_config {
|
||||
#
|
||||
|
||||
# generic modules
|
||||
set boot_modules { core init test-lx_hybrid_errno }
|
||||
set boot_modules { core ld.lib.so init test-lx_hybrid_errno }
|
||||
|
||||
build_boot_image $boot_modules
|
||||
|
||||
|
||||
@@ -40,7 +40,7 @@ install_config {
|
||||
|
||||
# generic modules
|
||||
set boot_modules {
|
||||
core init
|
||||
core ld.lib.so init
|
||||
test-lx_hybrid_exception
|
||||
}
|
||||
|
||||
|
||||
@@ -36,7 +36,7 @@ install_config {
|
||||
#
|
||||
|
||||
# generic modules
|
||||
set boot_modules { core init test-lx_hybrid_pthread_ipc }
|
||||
set boot_modules { core ld.lib.so init test-lx_hybrid_pthread_ipc }
|
||||
|
||||
build_boot_image $boot_modules
|
||||
|
||||
|
||||
@@ -53,7 +53,7 @@ install_config $config
|
||||
# Boot modules
|
||||
#
|
||||
|
||||
set boot_modules { core init}
|
||||
set boot_modules { core ld.lib.so init }
|
||||
|
||||
lappend_if [expr {$test_type eq "static"}] boot_modules test-lx_rmap_static
|
||||
lappend_if [expr {$test_type eq "dynamic"}] boot_modules test-lx_rmap_dynamic
|
||||
|
||||
@@ -62,7 +62,7 @@ install_config {
|
||||
# this would create mere symlinks. However, we need to enable the setuid
|
||||
# and setgid capabilities for core, which won't work if core were a symlink.
|
||||
#
|
||||
foreach binary { core init } {
|
||||
foreach binary { core ld.lib.so init } {
|
||||
exec cp -H bin/$binary [run_dir] }
|
||||
|
||||
#
|
||||
|
||||
@@ -32,7 +32,7 @@ install_config {
|
||||
</start>
|
||||
</config>}
|
||||
|
||||
build_boot_image "core init test-region_map_mmap timer test-signal"
|
||||
build_boot_image "core ld.lib.so init test-region_map_mmap timer test-signal"
|
||||
|
||||
run_genode_until forever
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
TARGET = core
|
||||
REQUIRES = linux
|
||||
LIBS = cxx base-common syscall startup
|
||||
LIBS = cxx base-linux-common syscall startup
|
||||
|
||||
GEN_CORE_DIR = $(BASE_DIR)/src/core
|
||||
|
||||
|
||||
Reference in New Issue
Block a user