scons: Output mapfile on windows ddk profile builds.
authorJosé Fonseca <jrfonseca@tungstengraphics.com>
Tue, 1 Jul 2008 13:04:01 +0000 (22:04 +0900)
committerJosé Fonseca <jrfonseca@tungstengraphics.com>
Tue, 1 Jul 2008 13:04:01 +0000 (22:04 +0900)
scons/gallium.py

index c4a5c65..59ba348 100644 (file)
@@ -330,6 +330,10 @@ def generate(env):
                        
                        '/entry:DrvEnableDriver',
                ]
+               if env['profile']:
+                       linkflags += [
+                               '/MAP', # http://msdn.microsoft.com/en-us/library/k7xkk3e2.aspx
+                       ]
        env.Append(LINKFLAGS = linkflags)
 
        # Convenience Library Builder