blob: 05c70ba1b9656a02a387aa7aeef5cdb5dd7ceb31 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
# 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')
|