2011-12-22 15:19:25 +00:00
|
|
|
include $(REP_DIR)/lib/mk/libc-gen.inc
|
|
|
|
|
2014-05-07 21:52:52 +00:00
|
|
|
LIBC_GEN_ARM_DIR = $(LIBC_DIR)/lib/libc/arm/gen
|
2011-12-22 15:19:25 +00:00
|
|
|
|
|
|
|
#FILTER_OUT_S += rfork_thread.S sigsetjmp.S setjmp.S _setjmp.S divsi3.S
|
2014-03-07 17:26:26 +00:00
|
|
|
FILTER_OUT_S += rfork_thread.S divsi3.S setjmp.S _setjmp.S
|
2011-12-22 15:19:25 +00:00
|
|
|
FILTER_OUT_C += _set_tp.c fabs.c frexp.c modf.c
|
|
|
|
|
|
|
|
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'
|
2014-05-07 21:52:52 +00:00
|
|
|
CC_OPT_makecontext = -I$(call select_from_ports,libc)/include/libc/sys
|
2011-12-22 15:19:25 +00:00
|
|
|
|
|
|
|
vpath % $(LIBC_GEN_ARM_DIR)
|