You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
294 B
13 lines
294 B
5 months ago
|
# 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('libcpu', src, depend = [''], CPPPATH = CPPPATH, ASFLAGS = ASFLAGS)
|
||
|
|
||
|
Return('group')
|