X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=common.py;h=1d618e675af370449868d15dad6b00734089ef19;hb=df3b20b2cf4ee6abb07d2948259d7500681f8c41;hp=cfee1b5dc2e58c03a2f5857586747b21ce4b31f9;hpb=f8e6d19f3f40931be741b44d3edf210c38e13f0f;p=mesa.git diff --git a/common.py b/common.py index cfee1b5dc2e..1d618e675af 100644 --- a/common.py +++ b/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', 'cell', 'windows', 'winddk', 'wince', 'darwin', 'cygwin', 'sunos', 'freebsd8'))) + allowed_values=('cygwin', 'darwin', 'freebsd', 'haiku', 'linux', 'sunos', 'windows'))) opts.Add(BoolOption('embedded', 'embedded build', 'no')) opts.Add('toolchain', 'compiler toolchain', default_toolchain) opts.Add(BoolOption('gles', 'EXPERIMENTAL: enable OpenGL ES support', 'no')) @@ -92,5 +98,6 @@ def AddOptions(opts): opts.Add(BoolOption('debug', 'DEPRECATED: debug build', 'yes')) opts.Add(BoolOption('profile', 'DEPRECATED: profile build', 'no')) opts.Add(BoolOption('quiet', 'DEPRECATED: profile build', 'yes')) + opts.Add(BoolOption('texture_float', 'enable floating-point textures and renderbuffers', 'no')) if host_platform == 'windows': - opts.Add(EnumOption('MSVS_VERSION', 'MS Visual C++ version', None, allowed_values=('7.1', '8.0', '9.0'))) + opts.Add(EnumOption('MSVC_VERSION', 'MS Visual C++ version', None, allowed_values=('7.1', '8.0', '9.0', '10.0', '11.0')))