diff options
| author | liang yongxiang <[email protected]> | 2018-05-31 13:01:38 +0800 |
|---|---|---|
| committer | liang yongxiang <[email protected]> | 2018-05-31 14:53:26 +0800 |
| commit | 32c5b2515f29d1b3a7969da294de015547d69646 (patch) | |
| tree | 67cd530110156adbfe8ba70479d9fae84e77f2fc /libcpu/risc-v/e310/SConscript | |
| parent | 45bd118b59967280a369dd3eb30eec5b8cb36203 (diff) | |
[libcpu] add risc-v e310 porting
Diffstat (limited to 'libcpu/risc-v/e310/SConscript')
| -rw-r--r-- | libcpu/risc-v/e310/SConscript | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/libcpu/risc-v/e310/SConscript b/libcpu/risc-v/e310/SConscript new file mode 100644 index 0000000000..4e4bc0c3d9 --- /dev/null +++ b/libcpu/risc-v/e310/SConscript @@ -0,0 +1,13 @@ +Import('rtconfig') +from building import * + +cwd = GetCurrentDir() +src = Glob('*.c') +CPPPATH = [cwd] + +if rtconfig.PLATFORM == 'gcc': + src += Glob('*_gcc.S') + +group = DefineGroup('libcpu', src, depend = [''], CPPPATH = CPPPATH) + +Return('group') |
