summaryrefslogtreecommitdiff
path: root/bsp/thead-smart/drivers/SConscript
diff options
context:
space:
mode:
authorchenzx <[email protected]>2020-09-11 10:11:25 +0800
committerchenzx <[email protected]>2020-09-11 10:18:24 +0800
commit60287b69fdff377ea9fdfd2f06b4ea3f6f34e32a (patch)
treeaee13ea5d32938c39ef669160d8be6e008fb75cc /bsp/thead-smart/drivers/SConscript
parent5a6a7e391ea4ec01d9f33ca5302e71196261bcaf (diff)
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')