提交 f5d6586c 编写于 作者: B bernard.xiong

add POSIX thread directory.

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1008 bbd45198-f89e-11dd-88c7-29a3b14d5316
上级 809f8c5f
Import('env')
Import('projects')
Import('RTT_ROOT')
Import('rtconfig')
# group definitions
group = {}
group['name'] = 'pthreads'
group['src'] = Glob('*.c')
group['depend'] = 'RT_USING_PTHREAD'
group['CCFLAGS'] = ''
group['CPPPATH'] = [RTT_ROOT + '/components/pthreads']
group['CPPDEFINES'] = ''
group['LINKFLAGS'] = ''
# add group to project list
projects.append(group)
env.Append(CCFLAGS = group['CCFLAGS'])
env.Append(CPPPATH = group['CPPPATH'])
env.Append(CPPDEFINES = group['CPPDEFINES'])
env.Append(LINKFLAGS = group['LINKFLAGS'])
objs = env.Object(group['src'])
Return('objs')
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册