2021-04-26 13:46:19 +08:00
|
|
|
# RT-Thread building script for component
|
|
|
|
|
|
|
|
from building import *
|
|
|
|
|
|
|
|
cwd = GetCurrentDir()
|
|
|
|
src = Glob('*.c') + Glob('*.cpp') + Glob('*_gcc.S')
|
|
|
|
CPPPATH = [cwd]
|
2024-01-28 13:39:39 +08:00
|
|
|
ASFLAGS = ' -I ' + cwd
|
2021-04-26 13:46:19 +08:00
|
|
|
|
2024-01-28 13:39:39 +08:00
|
|
|
group = DefineGroup('rv64', src, depend = [''], CPPPATH = CPPPATH, ASFLAGS = ASFLAGS)
|
2021-04-26 13:46:19 +08:00
|
|
|
|
|
|
|
Return('group')
|