summaryrefslogtreecommitdiff
path: root/components/libc/compilers/common/partial/SConscript
diff options
context:
space:
mode:
authorMeco Man <[email protected]>2021-09-14 22:21:13 -0400
committerMeco Man <[email protected]>2021-09-14 22:46:06 -0400
commit42e61f7a631da09d9574448b9e4cf7183de00211 (patch)
tree74c23dac663b19e9b239756f1bc733b20b40dfe9 /components/libc/compilers/common/partial/SConscript
parentaa8a493c3c0fbc269a8e66286e3c7b4c28a1b2d5 (diff)
[libc]解决龙芯内置工具链没有sys/select.h的问题
Diffstat (limited to 'components/libc/compilers/common/partial/SConscript')
-rw-r--r--components/libc/compilers/common/partial/SConscript15
1 files changed, 15 insertions, 0 deletions
diff --git a/components/libc/compilers/common/partial/SConscript b/components/libc/compilers/common/partial/SConscript
new file mode 100644
index 0000000000..4c815c49b8
--- /dev/null
+++ b/components/libc/compilers/common/partial/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')