summaryrefslogtreecommitdiff
path: root/bsp/simulator/SConstruct
diff options
context:
space:
mode:
authorGrissiom <[email protected]>2013-09-06 21:32:27 +0800
committerGrissiom <[email protected]>2013-09-06 21:49:53 +0800
commitc6e81b58d9da3866287b02f48e231db7d272acd5 (patch)
treedc724adf438bc8ae450cd1b9ab5bf774c855d3be /bsp/simulator/SConstruct
parent3ebc76652197b47e117ed2a856786a4d199d79a7 (diff)
simulator: move SDL setting staff into drivers/SConstruct
This could not only make a cleaner SConstruct, but could also benefit RTGUI building.
Diffstat (limited to 'bsp/simulator/SConstruct')
-rwxr-xr-xbsp/simulator/SConstruct7
1 files changed, 0 insertions, 7 deletions
diff --git a/bsp/simulator/SConstruct b/bsp/simulator/SConstruct
index af6534906b..b2e958e65b 100755
--- a/bsp/simulator/SConstruct
+++ b/bsp/simulator/SConstruct
@@ -84,13 +84,6 @@ else:
objs = PrepareBuilding(env, RTT_ROOT, has_libcpu=False, remove_components=['rtgui'])
if GetDepend('RT_USING_RTGUI'):
- sdl_lib = ['SDL', 'SDLmain']
- sdl_lib_path = [os.path.abspath('SDL/lib/x86')]
- sdl_include_path = [os.path.abspath('SDL/include')]
- env.Append(LIBS=sdl_lib)
- env.Append(LIBPATH=sdl_lib_path)
- env.Append(CPPPATH=sdl_include_path)
-
if RTT_RTGUI:
objs += SConscript(os.path.join(RTT_RTGUI, 'SConscript'),
variant_dir='build/components/rtgui',