未验证 提交 ac9399d2 编写于 作者: O openharmony_ci 提交者: Gitee

!830 C库gn修改

Merge pull request !830 from Zhaotianyu/0314libc_opt
......@@ -54,7 +54,11 @@ kernel_module(module_name) {
"$MUSLPORTINGDIR/src/string/strcpy.c",
"$MUSLPORTINGDIR/src/string/strlen.c",
]
sources += OPTRT_STRING_ARM_SRC_FILES
sources += [
"src/arch/arm/memcmp.S",
"src/arch/arm/memset.S",
]
sources += OPTRT_STRING_ARM_SRC_FILES_FOR_ARMV7_A
asmflags = [
"-D__strlen_armv6t2=strlen",
"-D__strcmp_arm=strcmp",
......@@ -71,11 +75,8 @@ kernel_module(module_name) {
"-D__strcpy_arm=strcpy",
]
}
sources += [
"src/arch/arm/memcmp.S",
"src/arch/arm/memset.S",
]
} else {
# arch is not armv7-a
sources += [
"src/memcmp.c",
"src/memset.c",
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册