diff options
| author | whik <[email protected]> | 2020-08-06 20:04:49 +0800 |
|---|---|---|
| committer | whik <[email protected]> | 2020-08-06 20:04:49 +0800 |
| commit | f6c4572299c4a4da0356b26b257999e4c09a95db (patch) | |
| tree | fd77091914348da5bd87233fec0e63bc001c4144 /bsp/smartfusion2/SConscript | |
| parent | 1731a6cd99f6da326cd2ff18e65e65619d90669d (diff) | |
1.Add scons support
2.Add Kconfig file
3.Delete some unnecessary files and directories
Diffstat (limited to 'bsp/smartfusion2/SConscript')
| -rw-r--r-- | bsp/smartfusion2/SConscript | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/bsp/smartfusion2/SConscript b/bsp/smartfusion2/SConscript new file mode 100644 index 0000000000..20f7689c53 --- /dev/null +++ b/bsp/smartfusion2/SConscript @@ -0,0 +1,15 @@ +# for module compiling +import os +Import('RTT_ROOT') +from building import * + +cwd = GetCurrentDir() +objs = [] +list = os.listdir(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') |
