summaryrefslogtreecommitdiff
path: root/bsp/thead-smart/drivers/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/drivers/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/drivers/SConscript')
-rw-r--r--bsp/thead-smart/drivers/SConscript13
1 files changed, 13 insertions, 0 deletions
diff --git a/bsp/thead-smart/drivers/SConscript b/bsp/thead-smart/drivers/SConscript
new file mode 100644
index 0000000000..96f82751bb
--- /dev/null
+++ b/bsp/thead-smart/drivers/SConscript
@@ -0,0 +1,13 @@
+Import('RTT_ROOT')
+Import('rtconfig')
+from building import *
+
+cwd = GetCurrentDir()
+
+# add the general drivers.
+src = Glob("*.c") + Glob("*.cpp") + Glob("*.S")
+
+CPPPATH = [cwd]
+group = DefineGroup('Drivers', src, depend = [''], CPPPATH = CPPPATH)
+
+Return('group')