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]
|
|
|
|
|
2017-12-31 16:43:08 +08:00
|
|
|
group = DefineGroup('pthreads', src,
|
|
|
|
depend = ['RT_USING_PTHREADS'], CPPPATH = CPPPATH)
|
2017-10-15 22:41:59 +08:00
|
|
|
|
|
|
|
Return('group')
|