rtt-f030/libcpu/risc-v/e310/SConscript

14 lines
253 B
Python
Raw Normal View History

2018-05-31 13:01:38 +08:00
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')