summaryrefslogtreecommitdiff
path: root/bsp/synopsys/boards/SConscript
diff options
context:
space:
mode:
authorWatson Zeng <[email protected]>2020-01-16 16:00:13 +0800
committerWatson Zeng <[email protected]>2020-01-16 16:02:00 +0800
commitfe24ae7ca422a735f22fedb6ac03150ba49401a7 (patch)
tree1210b20e4cc5c0571dcdf77b231ff60787906fe4 /bsp/synopsys/boards/SConscript
parent54814c42e7d3073d3b386245a1f04a8a347d7636 (diff)
[bsp][synopsys] add basic new embarc bsp support
* the initial support of synopsys designware ARC processor using embARC_BSP, all synopsys ARC-based boards are supported: -ARC Software Development Platform -ARC EM Starter Kit -ARC EM Software Development Platform -ARC HS Development Kit -ARC IoT Development Kit * The embARC BSP is a new generation embARC software development package. ​It is designed to be the inter-layer between hardware and operating system. ​ BSP could hide the difference of hardware/boards, provide a unified interface to upper-layer. * the initial support of synopsys MWDT toolchain. The DesignWare® ARC® MetaWare Development Toolkit builds upon a 25-year legacy of industry-leading compiler and debugger products. It is a complete solution that contains all the components needed to support the development, debugging and tuning of embedded applications for the DesignWare ARC processors. * for detailed board information, pls go embarc.org. Signed-off-by: Watson Zeng <[email protected]>
Diffstat (limited to 'bsp/synopsys/boards/SConscript')
-rw-r--r--bsp/synopsys/boards/SConscript17
1 files changed, 17 insertions, 0 deletions
diff --git a/bsp/synopsys/boards/SConscript b/bsp/synopsys/boards/SConscript
new file mode 100644
index 0000000000..2e95f4716c
--- /dev/null
+++ b/bsp/synopsys/boards/SConscript
@@ -0,0 +1,17 @@
+# for module compiling
+import os
+Import('RTT_ROOT')
+
+cwd = str(Dir('#'))
+objs = []
+list = os.listdir(cwd)
+
+ASFLAGS = ' -I' + 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')