diff options
| author | Bernard Xiong <[email protected]> | 2018-05-31 15:33:56 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2018-05-31 15:33:56 +0800 |
| commit | 63c4373a5eee6adc7dfc042854b0709df7d42772 (patch) | |
| tree | be91f8d135c77a426bf65e198b6541df4b07fcaf /libcpu/risc-v/e310/SConscript | |
| parent | 661338d279fa739237566fc541feb477063d04da (diff) | |
| parent | 43922e465e4c57de8d89d92d2c97167f511285ab (diff) | |
Merge pull request #1493 from TanekLiang/hifive1-pr
[bsp] add hifive1 bsp support
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') |
