summaryrefslogtreecommitdiff
path: root/bsp/thead-smart/SConscript
diff options
context:
space:
mode:
authorBernard Xiong <[email protected]>2020-09-22 22:03:26 +0800
committerGitHub <[email protected]>2020-09-22 22:03:26 +0800
commitd92fbba3c1dfd304b377da2d6d48e317c10fc3c4 (patch)
tree3a6f0539b28286f5721c4b5d7d482fd4a7fea4b4 /bsp/thead-smart/SConscript
parent8302a7224302c0624b9918855a25e12f3a3ede59 (diff)
parent60287b69fdff377ea9fdfd2f06b4ea3f6f34e32a (diff)
Merge pull request #3919 from wormsX/T-head_Smart-v1.0.0
add t-head smart-evb bsp, and risc-v cpu e906
Diffstat (limited to 'bsp/thead-smart/SConscript')
-rw-r--r--bsp/thead-smart/SConscript14
1 files changed, 14 insertions, 0 deletions
diff --git a/bsp/thead-smart/SConscript b/bsp/thead-smart/SConscript
new file mode 100644
index 0000000000..744d8d7821
--- /dev/null
+++ b/bsp/thead-smart/SConscript
@@ -0,0 +1,14 @@
+# for module compiling
+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')