2010-03-01 17:37:59 +08:00
|
|
|
Import('env')
|
|
|
|
|
|
|
|
src_local = Split("""
|
|
|
|
tc_comm.c
|
|
|
|
thread_static.c
|
|
|
|
thread_dynamic.c
|
|
|
|
thread_priority.c
|
2010-03-03 17:12:08 +08:00
|
|
|
thread_same_priority.c
|
|
|
|
thread_static_simple.c
|
|
|
|
thread_dynamic_simple.c
|
|
|
|
thread_delete.c
|
2010-03-20 23:15:54 +08:00
|
|
|
thread_detach.c
|
|
|
|
thread_yield.c
|
|
|
|
thread_suspend.c
|
|
|
|
thread_resume.c
|
2010-03-17 17:57:07 +08:00
|
|
|
semaphore_static.c
|
|
|
|
semaphore_dynamic.c
|
|
|
|
semaphore_priority.c
|
|
|
|
semaphore_buffer_worker.c
|
|
|
|
heap_malloc.c
|
|
|
|
heap_realloc.c
|
2010-03-01 17:37:59 +08:00
|
|
|
""")
|
|
|
|
|
|
|
|
# The set of source files associated with this SConscript file.
|
|
|
|
obj = env.Object(src_local)
|
2010-03-17 17:57:07 +08:00
|
|
|
env.Append(CPPDEFINES='RT_USING_TC')
|
2010-03-01 17:37:59 +08:00
|
|
|
|
|
|
|
Return('obj')
|