bernard.xiong@gmail.com 72630eae88 add clock and mqueue interface.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1083 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-11-21 23:56:16 +00:00

22 lines
408 B
Python

Import('RTT_ROOT')
from building import *
src = Split('''
clock_time.c
pthread.c
pthread_attr.c
pthread_barrier.c
pthread_cond.c
pthread_internal.c
pthread_mutex.c
pthread_rwlock.c
pthread_spin.c
pthread_tls.c
sched.c
semaphore.c
''')
CPPPATH = [RTT_ROOT + '/components/pthreads']
group = DefineGroup('pthreads', src, depend = ['RT_USING_PTHREADS'], CPPPATH = CPPPATH)
Return('group')