genode/repos/dde_rump/lib/import/import-rump.mk

33 lines
1.1 KiB
Makefile
Raw Normal View History

RUMP_PORT_DIR := $(call select_from_ports,dde_rump)/src/lib/dde_rump
RUMP_BASE := $(BUILD_BASE_DIR)/var/libcache/rump
ifeq ($(filter-out $(SPECS),arm),)
# rump include shadows some parts of 'machine' on ARM only,
# Therefore, it must be included before RUMP_BASE/include/machine
INC_DIR := $(RUMP_PORT_DIR)/src/sys/rump/include $(INC_DIR)
INC_DIR += $(RUMP_PORT_DIR)/src/sys/arch/arm/include
endif
ifeq ($(filter-out $(SPECS),x86_32),)
INC_DIR += $(RUMP_PORT_DIR)/src/sys/arch/i386/include
endif
ifeq ($(filter-out $(SPECS),x86_64),)
INC_DIR += $(RUMP_PORT_DIR)/src/sys/arch/amd64/include
endif
2019-11-28 15:02:52 +00:00
ifeq ($(filter-out $(SPECS),arm_64),)
INC_DIR := $(RUMP_PORT_DIR)/src/sys/rump/include $(INC_DIR)
INC_DIR += $(REP_DIR)/src/lib/rump/spec/arm_64
INC_DIR += $(RUMP_PORT_DIR)/../dde_rump_aarch64_backport/aarch64/include
endif
INC_DIR += $(LIBGCC_INC_DIR) \
$(RUMP_PORT_DIR)/src/sys \
$(RUMP_PORT_DIR)/src/sys/rump/include \
$(RUMP_PORT_DIR)/src/sys/sys \
$(RUMP_PORT_DIR)/src/common/include \
$(RUMP_BASE)/include
CC_CXX_WARN_STRICT =