scons: Add Mac OS to target platform list.
authorVinson Lee <vlee@vmware.com>
Tue, 8 Sep 2009 11:31:42 +0000 (12:31 +0100)
committerVinson Lee <vlee@vmware.com>
Thu, 3 Dec 2009 04:33:32 +0000 (20:33 -0800)
(cherry picked from commit 2c307c775018e5b9680de8022ddf0ce3b6f560be)

common.py

index ccb962981d187ccdea494e7318afa3e7cb40abaa..3b6bf52c0354e8435a9471362759e03caf5c97f1 100644 (file)
--- a/common.py
+++ b/common.py
@@ -59,7 +59,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', default_platform,
-                                                                                        allowed_values=('linux', 'cell', 'windows', 'winddk', 'wince')))
+                                                                                        allowed_values=('linux', 'cell', 'windows', 'winddk', 'wince', 'darwin')))
        opts.Add(EnumOption('toolchain', 'compiler toolchain', 'default',
                                                                                         allowed_values=('default', 'crossmingw', 'winsdk', 'winddk')))
        opts.Add(BoolOption('llvm', 'use LLVM', 'no'))