summaryrefslogtreecommitdiff
path: root/common.py
diff options
context:
space:
mode:
authorJosé Fonseca <jfonseca@vmware.com>2011-06-17 14:48:28 +0100
committerJosé Fonseca <jfonseca@vmware.com>2011-06-17 14:50:37 +0100
commit41750107496858a047afa8d81d20fe903f285a78 (patch)
treeae050f8f2788a0aab8713bc3f7b83b62cf9d7588 /common.py
parentfc8c4a3a7b92a1134cd3a9312063abba9e14b0fe (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.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/common.py b/common.py
index 0a3dcdcf54..052929e2bb 100644
--- a/common.py
+++ b/common.py
@@ -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))