diff options
author | José Fonseca <jfonseca@vmware.com> | 2011-06-17 14:48:28 +0100 |
---|---|---|
committer | José Fonseca <jfonseca@vmware.com> | 2011-06-17 14:50:37 +0100 |
commit | 41750107496858a047afa8d81d20fe903f285a78 (patch) | |
tree | ae050f8f2788a0aab8713bc3f7b83b62cf9d7588 /common.py | |
parent | fc8c4a3a7b92a1134cd3a9312063abba9e14b0fe (diff) |
scons: make embedding orthogonal to the platform
To enable embedding in platforms other than linux.
Diffstat (limited to 'common.py')
-rw-r--r-- | common.py | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -83,7 +83,8 @@ 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', 'embedded', 'cygwin', 'sunos', 'freebsd8'))) + allowed_values=('linux', 'cell', 'windows', 'winddk', 'wince', 'darwin', 'cygwin', 'sunos', 'freebsd8'))) + opts.Add(BoolOption('embedded', 'embedded build', '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)) |