2017-11-14 15:03:16 +00:00
|
|
|
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)
|
2019-02-20 09:21:26 +00:00
|
|
|
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
|
2017-11-14 15:03:16 +00:00
|
|
|
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
|
2023-03-29 10:43:50 +00:00
|
|
|
INC_DIR += $(RUMP_PORT_DIR)/../dde_rump_backport/aarch64/include
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(filter-out $(SPECS),riscv),)
|
|
|
|
INC_DIR += $(RUMP_PORT_DIR)/../dde_rump_backport/riscv/include
|
2019-11-28 15:02:52 +00:00
|
|
|
endif
|
|
|
|
|
2017-11-14 15:03:16 +00:00
|
|
|
INC_DIR += $(LIBGCC_INC_DIR) \
|
|
|
|
$(RUMP_PORT_DIR)/src/sys \
|
|
|
|
$(RUMP_PORT_DIR)/src/sys/rump/include \
|
|
|
|
$(RUMP_PORT_DIR)/src/sys/sys \
|
2018-03-31 15:16:27 +00:00
|
|
|
$(RUMP_PORT_DIR)/src/common/include \
|
2017-11-14 15:03:16 +00:00
|
|
|
$(RUMP_BASE)/include
|
2018-01-03 17:40:54 +00:00
|
|
|
|
|
|
|
CC_CXX_WARN_STRICT =
|