summaryrefslogtreecommitdiff
path: root/components/libc/compilers
diff options
context:
space:
mode:
authorMeco Man <[email protected]>2021-04-18 00:55:32 +0800
committerMeco Man <[email protected]>2021-04-18 00:55:32 +0800
commitbc25c8a6e87e0f070152985eda47a3648390881f (patch)
tree7a8eb464be283e0796377354ae392a501b7ed8fd /components/libc/compilers
parent9d401ea8b06518a49b59b6d246325afa5902e3f4 (diff)
update sconscript
Diffstat (limited to 'components/libc/compilers')
-rw-r--r--components/libc/compilers/common_except_gcc/SConscript14
1 files changed, 7 insertions, 7 deletions
diff --git a/components/libc/compilers/common_except_gcc/SConscript b/components/libc/compilers/common_except_gcc/SConscript
index bda0d5610f..346e69b478 100644
--- a/components/libc/compilers/common_except_gcc/SConscript
+++ b/components/libc/compilers/common_except_gcc/SConscript
@@ -2,12 +2,12 @@ from building import *
Import('rtconfig')
-if rtconfig.PLATFORM == 'iar' or rtconfig.PLATFORM == 'armcc' or rtconfig.PLATFORM == 'armclang':
- src = []
- cwd = GetCurrentDir()
- CPPPATH = [cwd]
- group = []
- src += Glob('*.c')
+src = []
+cwd = GetCurrentDir()
+CPPPATH = [cwd]
+group = []
+src += Glob('*.c')
+if rtconfig.PLATFORM != 'gcc':
group = DefineGroup('libc', src, depend = ['RT_USING_LIBC'], CPPPATH = CPPPATH)
- Return('group')
+Return('group')