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]
|
|
|
|
|
2023-01-09 10:14:23 +08:00
|
|
|
group = DefineGroup('POSIX', src,
|
|
|
|
depend = ['RT_USING_SIGNALS', 'RT_USING_PTHREADS'],
|
2017-10-15 22:41:59 +08:00
|
|
|
CPPPATH = CPPPATH)
|
|
|
|
|
|
|
|
Return('group')
|