2020-09-05 15:42:03 +08:00
|
|
|
# RT-Thread building script for component
|
|
|
|
|
|
|
|
from building import *
|
|
|
|
|
|
|
|
cwd = GetCurrentDir()
|
|
|
|
src = Glob('*.c') + Glob('*.cpp')
|
|
|
|
CPPPATH = [cwd]
|
|
|
|
|
|
|
|
group = DefineGroup('libc', src,
|
2020-09-05 19:47:34 +08:00
|
|
|
depend = ['RT_USING_LIBC', 'RT_USING_POSIX','RT_USING_POSIX_GETLINE'],
|
2020-09-05 15:42:03 +08:00
|
|
|
CPPPATH = CPPPATH)
|
|
|
|
|
|
|
|
Return('group')
|