summaryrefslogtreecommitdiff
path: root/components/libc/compilers/newlib/SConscript
diff options
context:
space:
mode:
authorMeco Man <[email protected]>2021-09-25 14:56:10 -0400
committerMeco Man <[email protected]>2021-09-25 14:56:10 -0400
commita0e800617cb9b2e76ec1807a24af189c42ab456f (patch)
treebe67408a9aac378a5fe180b26a5c7798410a2acb /components/libc/compilers/newlib/SConscript
parentd4a5edf0747de4d1d0604ec8ef394efa6e1bb2c5 (diff)
[libc][newlib] 优化syscall 将minilib.c并入syscalls.c
Diffstat (limited to 'components/libc/compilers/newlib/SConscript')
-rw-r--r--components/libc/compilers/newlib/SConscript3
1 files changed, 1 insertions, 2 deletions
diff --git a/components/libc/compilers/newlib/SConscript b/components/libc/compilers/newlib/SConscript
index 542cdecd40..cef546e17c 100644
--- a/components/libc/compilers/newlib/SConscript
+++ b/components/libc/compilers/newlib/SConscript
@@ -18,11 +18,10 @@ if rtconfig.PLATFORM == 'gcc':
LIBS += ['c', 'm']
src += Glob('*.c')
- SrcRemove(src, ['minilib.c'])
if GetDepend('RT_USING_MODULE') == False:
SrcRemove(src, ['libc_syms.c'])
else:
- src += ['minilib.c']
+ src += ['syscalls.c']
group = DefineGroup('libc', src, depend = [], CPPPATH = CPPPATH, CPPDEFINES = CPPDEFINES, LIBS = LIBS)