2011-12-22 16:19:25 +01:00
|
|
|
include $(REP_DIR)/lib/mk/libc-gen.inc
|
|
|
|
|
2014-05-07 23:52:52 +02:00
|
|
|
LIBC_GEN_ARM_DIR = $(LIBC_DIR)/lib/libc/arm/gen
|
2011-12-22 16:19:25 +01:00
|
|
|
|
|
|
|
#FILTER_OUT_S += rfork_thread.S sigsetjmp.S setjmp.S _setjmp.S divsi3.S
|
2014-03-07 18:26:26 +01:00
|
|
|
FILTER_OUT_S += rfork_thread.S divsi3.S setjmp.S _setjmp.S
|
2021-04-19 14:48:39 +02:00
|
|
|
FILTER_OUT_C += _set_tp.c fabs.c frexp.c modf.c arm_initfini.c
|
2011-12-22 16:19:25 +01:00
|
|
|
|
2019-04-26 12:47:33 +02:00
|
|
|
INC_DIR += $(LIBC_DIR)/lib/libc/arm/softfloat
|
|
|
|
INC_DIR += $(LIBC_DIR)/lib/libc/softfloat
|
|
|
|
|
2011-12-22 16:19:25 +01:00
|
|
|
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)))
|
|
|
|
|
2017-04-07 14:32:45 +02:00
|
|
|
#
|
|
|
|
# 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$(call select_from_ports,libc)/include/libc/sys \
|
2021-03-03 11:37:15 +01:00
|
|
|
$(addprefix -I,$(call select_from_repositories,include/libc/sys))
|
2011-12-22 16:19:25 +01:00
|
|
|
|
|
|
|
vpath % $(LIBC_GEN_ARM_DIR)
|
2018-01-03 18:40:54 +01:00
|
|
|
|
|
|
|
CC_CXX_WARN_STRICT =
|