mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-22 15:02:25 +00:00
5e4e634625
If `select_from_ports` is evaluated lazily, we might miss a port during the dependency check. A way to prevent this is to use the `:=` operator. Fixes genodelabs/genode#4618
18 lines
399 B
Makefile
18 lines
399 B
Makefile
FFI_DIR := $(call select_from_ports,ffi)
|
|
|
|
ifeq ($(filter-out $(SPECS),x86_32),)
|
|
INC_DIR += $(FFI_DIR)/include/ffi/spec/x86_32
|
|
endif
|
|
|
|
ifeq ($(filter-out $(SPECS),x86_64),)
|
|
INC_DIR += $(FFI_DIR)/include/ffi/spec/x86_64
|
|
endif
|
|
|
|
ifeq ($(filter-out $(SPECS),arm),)
|
|
INC_DIR += $(FFI_DIR)/include/ffi/spec/arm
|
|
endif
|
|
|
|
ifeq ($(filter-out $(SPECS),arm_64),)
|
|
INC_DIR += $(FFI_DIR)/include/ffi/spec/arm_64
|
|
endif
|