2022-09-23 15:05:17 +02:00
|
|
|
FFI_DIR := $(call select_from_ports,ffi)
|
|
|
|
|
2021-06-24 11:41:01 +02:00
|
|
|
ifeq ($(filter-out $(SPECS),x86_32),)
|
2022-09-23 15:05:17 +02:00
|
|
|
INC_DIR += $(FFI_DIR)/include/ffi/spec/x86_32
|
2021-06-24 11:41:01 +02:00
|
|
|
endif
|
|
|
|
|
2018-04-03 14:34:01 +02:00
|
|
|
ifeq ($(filter-out $(SPECS),x86_64),)
|
2022-09-23 15:05:17 +02:00
|
|
|
INC_DIR += $(FFI_DIR)/include/ffi/spec/x86_64
|
2018-04-03 14:34:01 +02:00
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(filter-out $(SPECS),arm),)
|
2022-09-23 15:05:17 +02:00
|
|
|
INC_DIR += $(FFI_DIR)/include/ffi/spec/arm
|
2018-04-03 14:34:01 +02:00
|
|
|
endif
|
2020-10-13 15:28:53 +02:00
|
|
|
|
|
|
|
ifeq ($(filter-out $(SPECS),arm_64),)
|
2022-09-23 15:05:17 +02:00
|
|
|
INC_DIR += $(FFI_DIR)/include/ffi/spec/arm_64
|
2020-10-13 15:28:53 +02:00
|
|
|
endif
|