summaryrefslogtreecommitdiff
path: root/components/libc/compilers/common/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/SConscript
parent926cd865892cfbb9b474d36cfd046688d92ecc37 (diff)
重新分类为common文件夹下属all文件夹和excgcc文件夹
Diffstat (limited to 'components/libc/compilers/common/SConscript')
-rw-r--r--components/libc/compilers/common/SConscript15
1 files changed, 15 insertions, 0 deletions
diff --git a/components/libc/compilers/common/SConscript b/components/libc/compilers/common/SConscript
new file mode 100644
index 0000000000..4c815c49b8
--- /dev/null
+++ b/components/libc/compilers/common/SConscript
@@ -0,0 +1,15 @@
+# RT-Thread building script for bridge
+
+import os
+from building import *
+
+cwd = GetCurrentDir()
+objs = []
+list = os.listdir(cwd)
+
+for d in list:
+ path = os.path.join(cwd, d)
+ if os.path.isfile(os.path.join(path, 'SConscript')):
+ objs = objs + SConscript(os.path.join(d, 'SConscript'))
+
+Return('objs')