From 08e05eb3b493cd92601217fcf86fe6daa196eec4 Mon Sep 17 00:00:00 2001 From: "dzzxzz@gmail.com" Date: Thu, 26 Jul 2012 06:36:49 +0000 Subject: sync with github bd3351e572 As always, full log is in GitHub. git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2234 bbd45198-f89e-11dd-88c7-29a3b14d5316 --- components/rtgui/SConscript | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'components/rtgui/SConscript') diff --git a/components/rtgui/SConscript b/components/rtgui/SConscript index 0192454551..3aae1f0adb 100644 --- a/components/rtgui/SConscript +++ b/components/rtgui/SConscript @@ -1,4 +1,4 @@ -Import('RTT_ROOT') +import os from building import * common_src = Split(""" @@ -72,10 +72,10 @@ widgets/panel.c # The set of source files associated with this SConscript file. src = common_src + server_src + widgets_src -path = [RTT_ROOT + '/components/rtgui/include', - RTT_ROOT + '/components/rtgui/common', - RTT_ROOT + '/components/rtgui/server', - RTT_ROOT + '/components/rtgui/widgets'] +cwd = GetCurrentDir() +dirs = ['include', 'common', 'server', 'widgets'] +path = [os.path.join(cwd, i) for i in dirs] + group = DefineGroup('RTGUI', src, depend = ['RT_USING_RTGUI'], CPPPATH = path) Return('group') -- cgit v1.3.1