summaryrefslogtreecommitdiff
path: root/components/libc/compilers/common_except_gcc/SConscript
diff options
context:
space:
mode:
Diffstat (limited to 'components/libc/compilers/common_except_gcc/SConscript')
-rw-r--r--components/libc/compilers/common_except_gcc/SConscript13
1 files changed, 13 insertions, 0 deletions
diff --git a/components/libc/compilers/common_except_gcc/SConscript b/components/libc/compilers/common_except_gcc/SConscript
new file mode 100644
index 0000000000..bda0d5610f
--- /dev/null
+++ b/components/libc/compilers/common_except_gcc/SConscript
@@ -0,0 +1,13 @@
+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')
+
+ group = DefineGroup('libc', src, depend = ['RT_USING_LIBC'], CPPPATH = CPPPATH)
+ Return('group')