summaryrefslogtreecommitdiff
path: root/components/libc/compilers/common/excgcc/SConscript
diff options
context:
space:
mode:
Diffstat (limited to 'components/libc/compilers/common/excgcc/SConscript')
-rw-r--r--components/libc/compilers/common/excgcc/SConscript13
1 files changed, 13 insertions, 0 deletions
diff --git a/components/libc/compilers/common/excgcc/SConscript b/components/libc/compilers/common/excgcc/SConscript
new file mode 100644
index 0000000000..346e69b478
--- /dev/null
+++ b/components/libc/compilers/common/excgcc/SConscript
@@ -0,0 +1,13 @@
+from building import *
+
+Import('rtconfig')
+
+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')