Browse Source

add POSIX thread directory.

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1009 bbd45198-f89e-11dd-88c7-29a3b14d5316
bernard.xiong 14 years ago
parent
commit
8a43cbc5b9
1 changed files with 3 additions and 0 deletions
  1. 3 0
      components/SConscript

+ 3 - 0
components/SConscript

@@ -12,6 +12,9 @@ if rtconfig.CROSS_TOOL == 'gcc':
 		rtconfig.RT_USING_MINILIBC = True
 		rtconfig.RT_USING_MINILIBC = True
 		objs = objs + SConscript('libc/minilibc/SConscript')
 		objs = objs + SConscript('libc/minilibc/SConscript')
 
 
+if 'RT_USING_PTHREAD' in dir(rtconfig) and rtconfig.RT_USING_PTHREAD:
+	objs = objs + SConscript('pthreads/SConscript')
+
 if 'RT_USING_FINSH' in dir(rtconfig) and rtconfig.RT_USING_FINSH:
 if 'RT_USING_FINSH' in dir(rtconfig) and rtconfig.RT_USING_FINSH:
 	objs = objs + SConscript('finsh/SConscript')
 	objs = objs + SConscript('finsh/SConscript')