summaryrefslogtreecommitdiff
path: root/components/libc/compilers/SConscript
diff options
context:
space:
mode:
authorbernard <[email protected]>2017-10-13 12:44:54 +0800
committerbernard <[email protected]>2017-10-13 12:44:54 +0800
commit8bdf993bfc38f9b652a7af60cb071c708ad7dea6 (patch)
treee9a17b508d1e348b4b5cfa0b18016a29514e3fc1 /components/libc/compilers/SConscript
parent444915d1eac7eb1059a1a5b02eb8c0393ce4a79c (diff)
[libc] Build correct SConscript file.
Diffstat (limited to 'components/libc/compilers/SConscript')
-rw-r--r--components/libc/compilers/SConscript15
1 files changed, 15 insertions, 0 deletions
diff --git a/components/libc/compilers/SConscript b/components/libc/compilers/SConscript
new file mode 100644
index 0000000000..4c815c49b8
--- /dev/null
+++ b/components/libc/compilers/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')