summaryrefslogtreecommitdiff
path: root/examples/libc/SConscript
diff options
context:
space:
mode:
author[email protected] <[email protected]>2010-11-20 12:31:00 +0000
committer[email protected] <[email protected]>2010-11-20 12:31:00 +0000
commit10732a76e9a3bf1ead47cf9848c6838236e4e343 (patch)
tree7475b1f6ff77e80bd357fc551de80565c9486080 /examples/libc/SConscript
parent2fce1a91e2577f06b68151dffa15558750346d02 (diff)
cleanup scons building script
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1065 bbd45198-f89e-11dd-88c7-29a3b14d5316
Diffstat (limited to 'examples/libc/SConscript')
-rw-r--r--examples/libc/SConscript10
1 files changed, 4 insertions, 6 deletions
diff --git a/examples/libc/SConscript b/examples/libc/SConscript
index af43df3ddb..6112f8b3c0 100644
--- a/examples/libc/SConscript
+++ b/examples/libc/SConscript
@@ -1,8 +1,6 @@
-Import('env')
+from building import *
-src_local = Glob('*.c')
+src = Glob('*.c')
+group = DefineGroup('libc_test', src, depend = ['RT_USING_NEWLIB', 'RT_USING_PTHREADS', 'RT_USING_LIBC_TEST'])
-# The set of source files associated with this SConscript file.
-obj = env.Object(src_local)
-
-Return('obj')
+Return('group')