scons: Recognize 'AMD64' processor as well.
authorJosé Fonseca <jfonseca@vmware.com>
Tue, 15 Feb 2011 17:31:31 +0000 (17:31 +0000)
committerJosé Fonseca <jfonseca@vmware.com>
Wed, 16 Feb 2011 18:02:08 +0000 (18:02 +0000)
common.py
scons/gallium.py

index e7941262e5264c115884be25236356d1d089c67f..b74b204a04fc795369c21feede939f6fd139b9fe 100644 (file)
--- a/common.py
+++ b/common.py
@@ -30,6 +30,7 @@ _machine_map = {
        'i586': 'x86',
        'i686': 'x86',
        'ppc' : 'ppc',
+       'AMD64': 'x86_64',
        'x86_64': 'x86_64',
 }
 
index 76bfde1c1b72700d0ba1df5c5ac3935bba307afd..9118257ac05211a42298dd6197fa9d5def60cbeb 100755 (executable)
@@ -203,6 +203,7 @@ def generate(env):
         'i586': 'x86',
         'i686': 'x86',
         'ppc' : 'ppc',
+        'AMD64': 'x86_64',
         'x86_64': 'x86_64',
     }.get(host_machine, 'generic')
     env['crosscompile'] = platform != host_platform