aboutsummaryrefslogtreecommitdiff
path: root/mesalib/common.py
diff options
context:
space:
mode:
Diffstat (limited to 'mesalib/common.py')
-rw-r--r--mesalib/common.py8
1 files changed, 7 insertions, 1 deletions
diff --git a/mesalib/common.py b/mesalib/common.py
index 5578f72af..f0b1ccc2c 100644
--- a/mesalib/common.py
+++ b/mesalib/common.py
@@ -31,9 +31,15 @@ _machine_map = {
'i486': 'x86',
'i586': 'x86',
'i686': 'x86',
+ 'BePC': 'x86',
+ 'Intel': 'x86',
'ppc' : 'ppc',
+ 'BeBox': 'ppc',
+ 'BeMac': 'ppc',
'AMD64': 'x86_64',
'x86_64': 'x86_64',
+ 'sparc': 'sparc',
+ 'sun4u': 'sparc',
}
@@ -83,7 +89,7 @@ def AddOptions(opts):
opts.Add(EnumOption('machine', 'use machine-specific assembly code', default_machine,
allowed_values=('generic', 'ppc', 'x86', 'x86_64')))
opts.Add(EnumOption('platform', 'target platform', host_platform,
- allowed_values=('linux', 'windows', 'darwin', 'cygwin', 'sunos', 'freebsd8')))
+ allowed_values=('linux', 'windows', 'darwin', 'cygwin', 'sunos', 'freebsd8', 'haiku')))
opts.Add(BoolOption('embedded', 'embedded build', 'no'))
opts.Add('toolchain', 'compiler toolchain', default_toolchain)
opts.Add(BoolOption('gles', 'EXPERIMENTAL: enable OpenGL ES support', 'no'))