4
0
mirror of https://github.com/RT-Thread/rt-thread.git synced 2025-01-26 22:27:23 +08:00

13 lines
266 B
Python
Raw Normal View History

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