base: remove platform.mk and syscall.mk

The purpose of those libraries is now covered by the kernel-specific
syscall-<kernel> libraries.
This commit is contained in:
Norman Feske 2016-12-14 13:09:25 +01:00
parent dfae61c76d
commit a360452a10
6 changed files with 1 additions and 22 deletions

View File

@ -1,6 +1,5 @@
SRC_S += crt0.s
SRC_CC += _main.cc init_main_thread.cc
REP_INC_DIR += src/include
LIBS += syscall
vpath %.cc $(BASE_DIR)/src/lib/startup

View File

@ -1,4 +0,0 @@
#
# Pseudo syscall library used on platforms that do not need a library for
# providing syscall bindings.
#

View File

@ -96,20 +96,6 @@ else
DEP_VAR_NAME := DEP_$(LIB).lib
endif
#
# Add platform preparation dependency
#
# We make each leaf library depend on a library called 'platform'. This way,
# the 'platform' library becomes a prerequisite of all other libraries. The
# 'platform' library is supposed to take precautions for setting up
# platform-specific build environments, e.g., preparing kernel API headers.
#
ifeq ($(LIBS),)
ifneq ($(LIB),platform)
LIBS += platform
endif
endif
#
# Check if the requirements of the target are satisfied
#

View File

@ -1,6 +1,6 @@
TARGET = xvfb
REQUIRES = linux x11 xtest xdamage
SRC_CC = main.cc inject_input.cc
LIBS = lx_hybrid syscall blit xev_track config
LIBS = lx_hybrid syscall-linux blit xev_track config
EXT_OBJECTS += -lX11 -lXdamage /usr/lib/libXtst.so.6

View File

@ -14,8 +14,6 @@ LD_SCRIPT= $(PRG_DIR)/../policy.ld
-include *.d
-include ../*.d
LIBS = platform
table.o: table.cc
$(MSG_COMP)$@
$(VERBOSE)$(CXX) -c $(CC_MARCH) $(CXX_OPT) $(INCLUDES) $< -o $@