diff options
| author | bernard.xiong <[email protected]> | 2010-10-14 08:06:26 +0000 |
|---|---|---|
| committer | bernard.xiong <[email protected]> | 2010-10-14 08:06:26 +0000 |
| commit | 8a43cbc5b9a5ab9065e77d24e8963089cc1a12a9 (patch) | |
| tree | d1810a7c9fff6ac21d919003e99714b8d408a32c /components/SConscript | |
| parent | f5d6586c1aa7ce18ab4174832aeed20be7fe3162 (diff) | |
add POSIX thread directory.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1009 bbd45198-f89e-11dd-88c7-29a3b14d5316
Diffstat (limited to 'components/SConscript')
| -rw-r--r-- | components/SConscript | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/components/SConscript b/components/SConscript index d5a4d3914c..bd6f6323ad 100644 --- a/components/SConscript +++ b/components/SConscript @@ -12,6 +12,9 @@ if rtconfig.CROSS_TOOL == 'gcc': rtconfig.RT_USING_MINILIBC = True
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:
objs = objs + SConscript('finsh/SConscript')
|
