summaryrefslogtreecommitdiff
path: root/components/libc/compilers/common/none-gcc/SConscript
diff options
context:
space:
mode:
authorMeco Man <[email protected]>2021-04-25 21:10:31 +0800
committerMeco Man <[email protected]>2021-04-25 21:10:31 +0800
commitf9ba41f4c22855b4dff8c422283ea6832ad1fc2b (patch)
treece17c5b2284081a1a21ba13a86a9aec8925666de /components/libc/compilers/common/none-gcc/SConscript
parentc871726e8930099efc1bbade8907e8b4571615eb (diff)
更改libc目录为common 以及 none-gcc
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')