4
0
mirror of https://github.com/RT-Thread/rt-thread.git synced 2025-01-17 00:13:31 +08:00
2020-12-19 16:49:11 +08:00

14 lines
265 B
Python

# RT-Thread building script for component
from building import *
Import('rtconfig')
cwd = GetCurrentDir()
src = Glob('*.c') + Glob('*.cpp') + Glob('*.S')
CPPPATH = [cwd]
group = DefineGroup('CPU', src, depend = [''], CPPPATH = CPPPATH)
Return('group')