mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-09-21 02:06:14 +08:00
[libc][newlib] 优化syscall 将minilib.c并入syscalls.c
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user