mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-01-23 22:47:22 +08:00
13 lines
291 B
Python
13 lines
291 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')
|