From d8aa99a29c47da520986dcd79fff9861d97ca6ed Mon Sep 17 00:00:00 2001 From: Wayne Ren Date: Wed, 23 Jan 2019 17:29:54 +0800 Subject: [bsp][synopsys] add the support of synopsys arc emsk * the initial support of synopsys designware arc processor * the initial support of synospsy ARC EM Starter Kit * the bsp code is based on embarc which is a common SDK for all synopsys ARC-based boards * use "scons --gdb" to debug emsk with em9d configuration * for detailed board information, pls go embarc.org Signed-off-by: Wayne Ren --- libcpu/arc/em/SConscript | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 libcpu/arc/em/SConscript (limited to 'libcpu/arc/em/SConscript') diff --git a/libcpu/arc/em/SConscript b/libcpu/arc/em/SConscript new file mode 100644 index 0000000000..49c32b689d --- /dev/null +++ b/libcpu/arc/em/SConscript @@ -0,0 +1,17 @@ +# RT-Thread building script for component + +from building import * + +Import('rtconfig') + +cwd = GetCurrentDir() +src = Glob('*.c') +CPPPATH = [cwd] + + +if rtconfig.PLATFORM == 'gcc': + src += Glob('*_gcc.S') + +group = DefineGroup('cpu', src, depend = [''], CPPPATH = CPPPATH) + +Return('group') -- cgit v1.3.1