summaryrefslogtreecommitdiff
path: root/bsp/thead-smart/applications/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/applications/SConscript
parent5a6a7e391ea4ec01d9f33ca5302e71196261bcaf (diff)
add t-head smart-evb bsp, and risc-v cpu e906
Diffstat (limited to 'bsp/thead-smart/applications/SConscript')
-rw-r--r--bsp/thead-smart/applications/SConscript13
1 files changed, 13 insertions, 0 deletions
diff --git a/bsp/thead-smart/applications/SConscript b/bsp/thead-smart/applications/SConscript
new file mode 100644
index 0000000000..b95023ca41
--- /dev/null
+++ b/bsp/thead-smart/applications/SConscript
@@ -0,0 +1,13 @@
+Import('RTT_ROOT')
+Import('rtconfig')
+from building import *
+
+cwd = GetCurrentDir()
+src = Glob('*.c')
+CPPPATH = GetCurrentDir()
+
+CCFLAGS = ' -c -ffunction-sections'
+
+group = DefineGroup('Applications', src, depend = [''], CPPPATH = CPPPATH, CCFLAGS=CCFLAGS)
+
+Return('group')