base-pistachio: Add syscall library support

Makes old l4 library obsolete

Issue #1280
This commit is contained in:
Sebastian Sumpf 2014-10-28 13:50:36 +01:00 committed by Norman Feske
parent c6fdc2923f
commit e0ed7c3cd0
4 changed files with 8 additions and 18 deletions

View File

@ -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

View File

@ -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)

View 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)

View File

@ -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