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 --- components/net/apps/SConscript | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) (limited to 'components/net/apps/SConscript') diff --git a/components/net/apps/SConscript b/components/net/apps/SConscript index b0e7fb2716..a0822b53fa 100644 --- a/components/net/apps/SConscript +++ b/components/net/apps/SConscript @@ -1,10 +1,7 @@ -Import('env') -Import('rtconfig') Import('RTT_ROOT') +from building import * -# The set of source files associated with this SConscript file. -src_local = Glob('*.c') +src = Glob('*.c') +group = DefineGroup('netutils', src, depend = ['RT_USING_NETUTILS']) -obj = env.Object(src_local) - -Return('obj') \ No newline at end of file +Return('group') -- cgit v1.3.1