[libcpu] add risc-v e310 porting

This commit is contained in:
liang yongxiang
2018-05-31 14:53:26 +08:00
parent 45bd118b59
commit 32c5b2515f
4 changed files with 489 additions and 0 deletions
+13
View File
@@ -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')