genode/repos/libports/lib/mk/spec/arm/ffi.mk
Johannes Schlatow 5e4e634625 libs: use select_from_ports in eager assignments
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
2022-11-17 08:00:34 +01:00

21 lines
430 B
Makefile

SHARED_LIB = yes
LIBS = libc
FFI_PORT := $(call select_from_ports,ffi)/src/lib/ffi
INC_DIR = $(FFI_PORT)/include
INC_DIR += $(call select_from_ports,ffi)/include/ffi/spec/arm \
$(REP_DIR)/src/lib/ffi
CC_OPT = -DFFI_NO_RAW_API=0
SRC_C = prep_cif.c types.c ffi.c
SRC_S = sysv.S
vpath prep_cif.c $(FFI_PORT)/src
vpath types.c $(FFI_PORT)/src
vpath ffi.c $(FFI_PORT)/src/arm
vpath sysv.S $(FFI_PORT)/src/arm