summaryrefslogtreecommitdiff
path: root/components/libc/compilers/common/excgcc/SConscript
diff options
context:
space:
mode:
authorMeco Man <[email protected]>2021-04-21 00:56:36 +0800
committerMeco Man <[email protected]>2021-04-21 00:56:36 +0800
commit40c09fc1e088e1f7a9eb91c85bd30119d4a38822 (patch)
treea88febbb8f10e73e2f30e50dae777693e452bd46 /components/libc/compilers/common/excgcc/SConscript
parent926cd865892cfbb9b474d36cfd046688d92ecc37 (diff)
重新分类为common文件夹下属all文件夹和excgcc文件夹
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')