X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=common.py;h=1d2d586a8686ef4987e9a86620f12a946b4702b4;hb=11a879f2607d80f35ee687df286c914bcfbe57a8;hp=cfee1b5dc2e58c03a2f5857586747b21ce4b31f9;hpb=f8e6d19f3f40931be741b44d3edf210c38e13f0f;p=mesa.git diff --git a/common.py b/common.py index cfee1b5dc2e..1d2d586a868 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,8 +89,9 @@ 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(BoolOption('analyze', 'enable static code analysis where available', 'no')) opts.Add('toolchain', 'compiler toolchain', default_toolchain) opts.Add(BoolOption('gles', 'EXPERIMENTAL: enable OpenGL ES support', 'no')) opts.Add(BoolOption('llvm', 'use LLVM', default_llvm)) @@ -92,5 +99,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('MSVC_VERSION', 'Microsoft Visual C/C++ version')