summaryrefslogtreecommitdiff
path: root/components/libc/compilers/common/none-gcc/SConscript
diff options
context:
space:
mode:
authorWayne Lin <[email protected]>2021-05-12 18:39:35 +0800
committerWayne Lin <[email protected]>2021-05-12 18:39:35 +0800
commitf068908728afbcf2ab69b5949c286891150f3aca (patch)
treead931747ed4df603de13176697daf6cdfbbd2e98 /components/libc/compilers/common/none-gcc/SConscript
parent0e9054f7952d5e521268df3919067f62f0e2724d (diff)
parent1c823b3fc07111e3ce46d09574ff9bcda87a4d7f (diff)
Merge branch 'master' of https://github.com/RT-Thread/rt-thread into nuvoton
Diffstat (limited to 'components/libc/compilers/common/none-gcc/SConscript')
-rw-r--r--components/libc/compilers/common/none-gcc/SConscript13
1 files changed, 13 insertions, 0 deletions
diff --git a/components/libc/compilers/common/none-gcc/SConscript b/components/libc/compilers/common/none-gcc/SConscript
new file mode 100644
index 0000000000..346e69b478
--- /dev/null
+++ b/components/libc/compilers/common/none-gcc/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')