diff options
| author | Bernard Xiong <[email protected]> | 2021-09-28 13:48:39 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-09-28 13:48:39 +0800 |
| commit | d43a68e95e026ecc73eab7999677e46bbd4984ef (patch) | |
| tree | 484d6bbc52f7352eb4b8ccad94e4fbc9b4d54b72 /components/libc/compilers/newlib/SConscript | |
| parent | ae49c3f560dd4d15f4fa93f0811b6f5ced083da0 (diff) | |
| parent | c80688126a013c53334464799e28fcf2e4f4fb8c (diff) | |
Merge pull request #5105 from mysterywolf/part
[libc]新建gcc文件夹,将newlib和partical文件夹并入
Diffstat (limited to 'components/libc/compilers/newlib/SConscript')
| -rw-r--r-- | components/libc/compilers/newlib/SConscript | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/components/libc/compilers/newlib/SConscript b/components/libc/compilers/newlib/SConscript deleted file mode 100644 index cef546e17c..0000000000 --- a/components/libc/compilers/newlib/SConscript +++ /dev/null @@ -1,28 +0,0 @@ -from building import * -Import('rtconfig') - -src = [] -cwd = GetCurrentDir() -group = [] -LIBS = [] -CPPDEFINES = [] -CPPPATH = [cwd] - -if rtconfig.PLATFORM == 'gcc': - if GetDepend('RT_USING_LIBC'): - CPPDEFINES += ['RT_USING_NEWLIB'] - # link with libc and libm: - # libm is a frequently used lib. Newlib is compiled with -ffunction-sections in - # recent GCC tool chains. The linker would just link in the functions that have - # been referenced. So setting this won't result in bigger text size. - LIBS += ['c', 'm'] - - src += Glob('*.c') - if GetDepend('RT_USING_MODULE') == False: - SrcRemove(src, ['libc_syms.c']) - else: - src += ['syscalls.c'] - - group = DefineGroup('libc', src, depend = [], CPPPATH = CPPPATH, CPPDEFINES = CPPDEFINES, LIBS = LIBS) - -Return('group') |
