fix: 修复内核c库的makefile中被优化函数替换的高频函数依然参与了编译的问题
1. 更正makefile过滤时被替换函数的不正确路径 2. 防止LOCAL_SRCS再直接+= /*/*.c添加回来 close: #I3XGM8 Signed-off-by: arvinzzz <zhaotianyu9@huawei.com> Change-Id: I3aff2a60c5a48f2d6c174afa04d30fa6f5514d7e
This commit is contained in:
parent
43bdf2f1d3
commit
6f6dc4f24c
|
@ -18,7 +18,7 @@ LOCAL_SRCS = $(wildcard $(addprefix $(MUSLPORTINGDIR)/,$(MUSLPORTING_SRCS)))
|
|||
LOCAL_SRCS := $(filter-out $(subst $(MUSLPORTINGDIR),$(MUSLDIR),$(LOCAL_SRCS)),$(addprefix $(MUSLDIR)/,$(MUSL_SRCS)) $(LOCAL_SRCS))
|
||||
|
||||
ifeq ($(LOSCFG_ARCH_ARM_VER), "armv7-a")
|
||||
LOCAL_SRCS := $(filter-out $(addprefix $(MUSLDIR)/src/string/,memchr.c memcpy.c strcmp.c strcpy.c strlen.c), $(LOCAL_SRCS))
|
||||
LOCAL_SRCS := $(filter-out $(addprefix $(MUSLPORTINGDIR)/src/string/,memchr.c memcpy.c strcmp.c strcpy.c strlen.c), $(LOCAL_SRCS))
|
||||
LOCAL_SRCS += \
|
||||
$(OPTRTDIR)/string/arm/memchr.S \
|
||||
$(OPTRTDIR)/string/arm/memcpy.S \
|
||||
|
|
Loading…
Reference in New Issue