summaryrefslogtreecommitdiff
path: root/components/libc/pthreads/SConscript
diff options
context:
space:
mode:
authorweety <[email protected]>2016-05-31 20:23:32 +0800
committerweety <[email protected]>2016-05-31 20:23:32 +0800
commit94e1935f1f2149f4e98098fbd171c3e96acb0e14 (patch)
treec775db6b6c5fdc5c6ae811b44a5791af40784e2a /components/libc/pthreads/SConscript
parent714f00679eed2c8d1e758c768cf7af57944a5f08 (diff)
parentc8cfc14b82c633c7153113ac1f753695254d4bd6 (diff)
Merge branch 'master' of https://github.com/RT-Thread/rt-thread into fixed
Diffstat (limited to 'components/libc/pthreads/SConscript')
-rw-r--r--components/libc/pthreads/SConscript9
1 files changed, 9 insertions, 0 deletions
diff --git a/components/libc/pthreads/SConscript b/components/libc/pthreads/SConscript
new file mode 100644
index 0000000000..9023e12c13
--- /dev/null
+++ b/components/libc/pthreads/SConscript
@@ -0,0 +1,9 @@
+from building import *
+
+cwd = GetCurrentDir()
+src = Glob('*.c')
+CPPPATH = [cwd]
+
+group = DefineGroup('pthreads', src, depend = ['RT_USING_PTHREADS', 'RT_USING_LIBC'], CPPPATH = CPPPATH)
+
+Return('group')