13 lines
292 B
Python
13 lines
292 B
Python
# RT-Thread building script for component
|
|
|
|
from building import *
|
|
|
|
cwd = GetCurrentDir()
|
|
src = Glob('*.c') + Glob('*.cpp') + Glob('*_gcc.S')
|
|
CPPPATH = [cwd]
|
|
ASFLAGS = ' -I ' + cwd
|
|
|
|
group = DefineGroup('CPU', src, depend = [''], CPPPATH = CPPPATH, ASFLAGS = ASFLAGS)
|
|
|
|
Return('group')
|