[libc][newlib] 优化syscall 将minilib.c并入syscalls.c

This commit is contained in:
Meco Man
2021-09-25 14:56:10 -04:00
parent d4a5edf074
commit a0e800617c
3 changed files with 76 additions and 142 deletions
+1 -2
View File
@@ -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)