scons: Fix toolchain selection.
authorMichal Krol <michal@tungstengraphics.com>
Wed, 19 Nov 2008 19:31:38 +0000 (20:31 +0100)
committerJosé Fonseca <jrfonseca@tungstengraphics.com>
Thu, 20 Nov 2008 14:01:53 +0000 (23:01 +0900)
scons/gallium.py

index 4622903edd298618db5ccf828568d1df373e63a8..59ec6eccf8a15053a56bde8d43b26bedddedbe79 100644 (file)
@@ -174,10 +174,9 @@ def generate(env):
     platform = env['platform']
     if env['toolchain'] == 'default':
         if platform == 'winddk':
-            env['toolchain'] == 'winddk'
+            env['toolchain'] = 'winddk'
         elif platform == 'wince':
-            env.Tool('wcesdk')
-            env['toolchain'] == 'wcesdk'
+            env['toolchain'] = 'wcesdk'
     env.Tool(env['toolchain'])
 
     # shortcuts