Mesa (master): scons: Recognize 'AMD64' processor as well.

Jose Fonseca jrfonseca at kemper.freedesktop.org
Wed Feb 16 18:20:18 UTC 2011


Module: Mesa
Branch: master
Commit: 33d8ff9c317eeb1300bc8e189d7b9c00b352323a
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=33d8ff9c317eeb1300bc8e189d7b9c00b352323a

Author: José Fonseca <jfonseca at vmware.com>
Date:   Tue Feb 15 17:31:31 2011 +0000

scons: Recognize 'AMD64' processor as well.

---

 common.py        |    1 +
 scons/gallium.py |    1 +
 2 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/common.py b/common.py
index e794126..b74b204 100644
--- 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',
 }
 
diff --git a/scons/gallium.py b/scons/gallium.py
index 76bfde1..9118257 100755
--- a/scons/gallium.py
+++ b/scons/gallium.py
@@ -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




More information about the mesa-commit mailing list