diff options
| author | 192.168.1.134 <[email protected]> | 2021-11-08 15:02:29 +0800 |
|---|---|---|
| committer | 192.168.1.134 <[email protected]> | 2021-11-08 15:02:29 +0800 |
| commit | 85da2247c050ff16842eba5927fc34a06564c5dc (patch) | |
| tree | d489fbe3078ed99096210087be80759dd515d703 /components/libc/compilers/armlibc/SConscript | |
| parent | 078c3c5991e3024664fe7a51878874e02bf107dc (diff) | |
| parent | 9e7d7ae52544fd8e84f18734fd4216fc7659d9c9 (diff) | |
Merge branch 'master' of https://github.com/RT-Thread/rt-thread
Diffstat (limited to 'components/libc/compilers/armlibc/SConscript')
| -rw-r--r-- | components/libc/compilers/armlibc/SConscript | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/components/libc/compilers/armlibc/SConscript b/components/libc/compilers/armlibc/SConscript index 52f7a6d93a..bf1a299304 100644 --- a/components/libc/compilers/armlibc/SConscript +++ b/components/libc/compilers/armlibc/SConscript @@ -1,21 +1,12 @@ from building import * Import('rtconfig') -src = Glob('*.c') + Glob('*.cpp') -cwd = GetCurrentDir() +src = Glob('*.c') group = [] -CPPPATH = [cwd] CPPDEFINES = ['RT_USING_ARM_LIBC'] -if GetDepend('RT_USING_DFS') == False: - SrcRemove(src, ['stdio.c']) - -if GetDepend('RT_USING_MODULE') == False: - SrcRemove(src, ['libc_syms.c']) - if rtconfig.PLATFORM == 'armcc' or rtconfig.PLATFORM == 'armclang': - group = DefineGroup('libc', src, depend = ['RT_USING_LIBC'], - CPPPATH = CPPPATH, CPPDEFINES = CPPDEFINES) + group = DefineGroup('libc', src, depend = ['RT_USING_LIBC'], CPPDEFINES = CPPDEFINES) Return('group') |
