diff options
| author | [email protected] <[email protected]> | 2010-11-20 12:31:00 +0000 |
|---|---|---|
| committer | [email protected] <[email protected]> | 2010-11-20 12:31:00 +0000 |
| commit | 10732a76e9a3bf1ead47cf9848c6838236e4e343 (patch) | |
| tree | 7475b1f6ff77e80bd357fc551de80565c9486080 /examples/kernel | |
| parent | 2fce1a91e2577f06b68151dffa15558750346d02 (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/kernel')
| -rw-r--r-- | examples/kernel/SConscript | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/examples/kernel/SConscript b/examples/kernel/SConscript index 7ecb22c991..3e620ae8c1 100644 --- a/examples/kernel/SConscript +++ b/examples/kernel/SConscript @@ -1,6 +1,6 @@ -Import('env')
+from building import *
-src_local = Split("""
+src = Split("""
tc_comm.c
thread_static.c
thread_dynamic.c
@@ -32,8 +32,6 @@ heap_realloc.c memp_simple.c
""")
-# The set of source files associated with this SConscript file.
-obj = env.Object(src_local)
-env.Append(CPPDEFINES='RT_USING_TC')
+group = DefineGroup('examples', src, depend = ['RT_USING_TC'])
-Return('obj')
+Return('group')
|
