[Mesa-dev] [PATCH] scons: Ensure platform map is consistent
Alexander von Gluck IV
kallisti5 at unixzen.com
Wed Feb 8 15:35:30 PST 2012
* This matches 5481b5a and makes sure the platform
translation maps match
---
scons/gallium.py | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/scons/gallium.py b/scons/gallium.py
index eed89cf..443e801 100755
--- a/scons/gallium.py
+++ b/scons/gallium.py
@@ -165,8 +165,12 @@ def generate(env):
'i586': 'x86',
'i686': 'x86',
'ppc' : 'ppc',
+ 'BeBox': 'ppc',
+ 'BeMac': 'ppc',
'AMD64': 'x86_64',
'x86_64': 'x86_64',
+ 'sparc': 'sparc',
+ 'sun4u': 'sparc',
}.get(host_machine, 'generic')
env['crosscompile'] = platform != host_platform
if machine == 'x86_64' and host_machine != 'x86_64':
--
1.7.7.2
More information about the mesa-dev
mailing list