diff options
| author | Bernard Xiong <[email protected]> | 2018-12-18 21:01:03 +0800 |
|---|---|---|
| committer | Bernard Xiong <[email protected]> | 2018-12-18 21:01:03 +0800 |
| commit | 5e0f8cb3aa0d9459985bf0345eef0192857d1b41 (patch) | |
| tree | 5b94cf68f3f0a9cde67f0d71c9dc7b7758d2d88d /bsp/k210/SConscript | |
| parent | 12b8a0cc3866a3d204fecb09095cd8d3d04242ba (diff) | |
[libcpu] Add k210 BSP.
Diffstat (limited to 'bsp/k210/SConscript')
| -rw-r--r-- | bsp/k210/SConscript | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/bsp/k210/SConscript b/bsp/k210/SConscript new file mode 100644 index 0000000000..c7ef7659ec --- /dev/null +++ b/bsp/k210/SConscript @@ -0,0 +1,14 @@ +# for module compiling +import os +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') |
