mirror of
https://github.com/genodelabs/genode.git
synced 2025-04-12 05:41:36 +00:00
base-pistachio: Add syscall library support
Makes old l4 library obsolete Issue #1280
This commit is contained in:
parent
c6fdc2923f
commit
e0ed7c3cd0
@ -4,7 +4,7 @@
|
||||
# \date 2013-02-14
|
||||
#
|
||||
|
||||
LIBS += cxx startup
|
||||
LIBS += cxx startup syscall
|
||||
|
||||
SRC_CC += cap_copy.cc
|
||||
SRC_CC += ipc/ipc.cc ipc/pager.cc ipc/ipc_marshal_cap.cc
|
||||
|
@ -1,11 +0,0 @@
|
||||
#
|
||||
# Create symlink to Pistachio's user library
|
||||
#
|
||||
#
|
||||
-include $(BUILD_BASE_DIR)/etc/pistachio.conf
|
||||
|
||||
absdir = $(realpath $(shell find $(1) -maxdepth 0 -type d))
|
||||
PISTACHIO_USER_BUILD_ABS_DIR = $(call absdir,$(PISTACHIO_USER_BUILD_DIR))
|
||||
|
||||
$(shell mkdir -p $(LIB_CACHE_DIR)/l4)
|
||||
$(shell ln -sf $(PISTACHIO_USER_BUILD_ABS_DIR)/lib/libl4.a $(LIB_CACHE_DIR)/l4/l4.lib.a)
|
7
repos/base-pistachio/lib/mk/syscall.mk
Normal file
7
repos/base-pistachio/lib/mk/syscall.mk
Normal file
@ -0,0 +1,7 @@
|
||||
PISTACHIO_USER_SRC := $(call select_from_ports,pistachio)/src/kernel/pistachio/user/lib/l4
|
||||
|
||||
SRC_CC = debug.cc ia32.cc
|
||||
SRC_S = ia32-syscall-stubs.S
|
||||
|
||||
vpath %.cc $(PISTACHIO_USER_SRC)
|
||||
vpath %.S $(PISTACHIO_USER_SRC)
|
@ -22,12 +22,6 @@ INC_DIR += $(PISTACHIO_USER_BUILD_DIR)/include
|
||||
#
|
||||
REP_INC_DIR += include/pistachio
|
||||
|
||||
#
|
||||
# Linker options
|
||||
#
|
||||
CXX_LINK_OPT += -L$(PISTACHIO_USER_BUILD_DIR)/lib
|
||||
EXT_OBJECTS += -ll4
|
||||
|
||||
clean_contrib:
|
||||
$(VERBOSE)rm -rf $(BUILD_BASE_DIR)/l4
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user