Move Solo5 from genode to genode-world

Issue genodelabs/genode#3761
This commit is contained in:
Norman Feske
2020-06-26 11:11:12 +02:00
parent 751f8070f5
commit a50a742a2f
36 changed files with 777 additions and 0 deletions

View File

@@ -0,0 +1,4 @@
REQUIRES += 64bit
INC_DIR += $(call select_from_repositories,include/solo5)
INC_DIR += $(call select_from_ports,solo5)/include/solo5

23
lib/mk/solo5.mk Normal file
View File

@@ -0,0 +1,23 @@
REQUIRES += 64bit
SHARED_LIB = yes
CC_OPT += -D__SOLO5_BINDINGS__ -Drestrict=__restrict__
# GCC 8 complains about a mismatch of the 'log()' function declaration.
# Since the solo5 'log()' function is unrelated to the builtin function,
# we disable the error message.
CC_OPT += -Wno-builtin-declaration-mismatch
SRC_CC = bindings.cc
SOLO5_PORT_DIR := $(call select_from_ports,solo5)
INC_DIR += $(SOLO5_PORT_DIR)/src/lib/solo5/bindings
INC_DIR += $(SOLO5_PORT_DIR)/include/solo5
INC_DIR += $(REP_DIR)/include/solo5
vpath bindings.cc $(SOLO5_PORT_DIR)/src/lib/solo5/bindings/genode
# ignore warning about use of deprecated Xml_node API
CC_CXX_WARN_STRICT :=

13
lib/symbols/solo5 Normal file
View File

@@ -0,0 +1,13 @@
solo5_abort T
solo5_app_main U
solo5_block_info T
solo5_block_read T
solo5_block_write T
solo5_clock_monotonic T
solo5_clock_wall T
solo5_console_write T
solo5_exit T
solo5_net_info T
solo5_net_read T
solo5_net_write T
solo5_yield T