mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-29 01:58:55 +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
28 lines
1.0 KiB
Makefile
28 lines
1.0 KiB
Makefile
include $(REP_DIR)/lib/mk/libc-gen.inc
|
|
|
|
LIBC_GEN_ARM_DIR = $(LIBC_DIR)/lib/libc/arm/gen
|
|
|
|
#FILTER_OUT_S += rfork_thread.S sigsetjmp.S setjmp.S _setjmp.S divsi3.S
|
|
FILTER_OUT_S += rfork_thread.S divsi3.S setjmp.S _setjmp.S
|
|
FILTER_OUT_C += _set_tp.c fabs.c frexp.c modf.c arm_initfini.c
|
|
|
|
INC_DIR += $(LIBC_DIR)/lib/libc/arm/softfloat
|
|
INC_DIR += $(LIBC_DIR)/lib/libc/softfloat
|
|
|
|
SRC_S += $(filter-out $(FILTER_OUT_S),$(notdir $(wildcard $(LIBC_GEN_ARM_DIR)/*.S)))
|
|
SRC_C += $(filter-out $(FILTER_OUT_C),$(notdir $(wildcard $(LIBC_GEN_ARM_DIR)/*.c)))
|
|
|
|
#
|
|
# Fix missing include prefix for 'ucontext.h', should be 'sys/ucontext.h'
|
|
#
|
|
# The first path is in effect when using the regular build system. The second
|
|
# path is in effect when building the libc from a source archive (where the
|
|
# ucontext.h header is taken from the libc API archive).
|
|
#
|
|
CC_OPT_makecontext = -I$(LIBC_PORT_DIR)/include/libc/sys \
|
|
$(addprefix -I,$(call select_from_repositories,include/libc/sys))
|
|
|
|
vpath % $(LIBC_GEN_ARM_DIR)
|
|
|
|
CC_CXX_WARN_STRICT =
|