From 10732a76e9a3bf1ead47cf9848c6838236e4e343 Mon Sep 17 00:00:00 2001 From: "bernard.xiong@gmail.com" Date: Sat, 20 Nov 2010 12:31:00 +0000 Subject: cleanup scons building script git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1065 bbd45198-f89e-11dd-88c7-29a3b14d5316 --- examples/libc/SConscript | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'examples/libc/SConscript') 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') -- cgit v1.3.1