2020-04-16 16:10:57 +08:00
|
|
|
# RT-Thread building script for component
|
|
|
|
|
2020-01-10 10:38:21 +08:00
|
|
|
from building import *
|
|
|
|
|
2020-04-16 16:10:57 +08:00
|
|
|
Import('rtconfig')
|
|
|
|
|
2020-01-10 10:38:21 +08:00
|
|
|
cwd = GetCurrentDir()
|
2020-04-16 16:10:57 +08:00
|
|
|
src = Glob('*.c') + Glob('*.cpp') + Glob('*.S')
|
2020-01-10 10:38:21 +08:00
|
|
|
CPPPATH = [cwd]
|
|
|
|
|
2020-12-19 16:49:11 +08:00
|
|
|
group = DefineGroup('CPU', src, depend = [''], CPPPATH = CPPPATH)
|
2020-01-10 10:38:21 +08:00
|
|
|
|
|
|
|
Return('group')
|