OSDN Git Service

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 e794126..b74b204 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 76bfde1..9118257 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