diff options
| author | Man, Jianting (Meco) <[email protected]> | 2022-10-25 00:01:37 -0400 |
|---|---|---|
| committer | GitHub <[email protected]> | 2022-10-25 00:01:37 -0400 |
| commit | 055267f049b9236e7643ba06df660a929d55371d (patch) | |
| tree | 5c51fd05b5015c85dad10ea79fdd383674ac510c /components/libc/compilers/newlib/SConscript | |
| parent | 7bc744dae91fcd245a23b2e5d24c92150bc8885b (diff) | |
[compiler] 增加SConscript依赖标志 AddDepend (#6534)
* [compiler] 增加SConscript依赖标志 AddDepend
* RT_USING_NEWLIB->RT_USING_NEWLIBC RT_USING_ARM_LIBC->RT_USING_ARMLIBC
* 删除过时的板载测试例程
* [gd32] 移除无用的反汇编文件
* [bsp]移除老旧bsp中对RT_USING_NEWLIBC的手动宏定义
Diffstat (limited to 'components/libc/compilers/newlib/SConscript')
| -rw-r--r-- | components/libc/compilers/newlib/SConscript | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/components/libc/compilers/newlib/SConscript b/components/libc/compilers/newlib/SConscript index ab2d3517e2..dd8966d5bd 100644 --- a/components/libc/compilers/newlib/SConscript +++ b/components/libc/compilers/newlib/SConscript @@ -17,11 +17,10 @@ if rtconfig.PLATFORM in ['gcc']: print('Newlib version:' + GetNewLibVersion(rtconfig)) # identify this is Newlib, and only enable POSIX.1-1990 - CPPDEFINES = ['RT_USING_NEWLIB', 'RT_USING_LIBC', '_POSIX_C_SOURCE=1'] - + CPPDEFINES = ['RT_USING_NEWLIBC', 'RT_USING_LIBC', '_POSIX_C_SOURCE=1'] + AddDepend(['RT_USING_NEWLIBC', 'RT_USING_LIBC']) group = DefineGroup('Compiler', src, depend = [''], CPPPATH = CPPPATH, CPPDEFINES = CPPDEFINES, LIBS = LIBS) - list = os.listdir(cwd) for d in list: path = os.path.join(cwd, d) |
