2017-10-15 22:41:59 +08:00
|
|
|
# RT-Thread building script for component
|
|
|
|
|
|
|
|
from building import *
|
|
|
|
|
|
|
|
cwd = GetCurrentDir()
|
|
|
|
src = Glob('*.c') + Glob('*.cpp')
|
|
|
|
CPPPATH = [cwd]
|
|
|
|
|
|
|
|
group = DefineGroup('libc', src,
|
2017-10-17 22:24:23 +08:00
|
|
|
depend = ['RT_USING_LIBC', 'RT_USING_POSIX', 'RT_USING_POSIX_TERMIOS'],
|
2017-10-15 22:41:59 +08:00
|
|
|
CPPPATH = CPPPATH)
|
|
|
|
|
|
|
|
Return('group')
|