summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Hourihane <alanh@vmware.com>2010-01-28 15:34:10 +0000
committerAlan Hourihane <alanh@vmware.com>2010-01-28 15:34:10 +0000
commitbd60e6cd5ce7c19e52338f12f73dfa1b622391d5 (patch)
treebfb03a951216fe8ee3c2c5dabe4cfe6deacd2a4a
parent9e895831bcb35b0a14f68538376b15ae4e94ae0d (diff)
add PIPE_SUBSYSTEM_EMBEDDED when embedded platform used
-rw-r--r--scons/gallium.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/scons/gallium.py b/scons/gallium.py
index 467b67fad7..03856207ed 100644
--- a/scons/gallium.py
+++ b/scons/gallium.py
@@ -229,6 +229,8 @@ def generate(env):
if platform == 'wince':
cppdefines += ['PIPE_SUBSYSTEM_WINDOWS_CE']
cppdefines += ['PIPE_SUBSYSTEM_WINDOWS_CE_OGL']
+ if platform == 'embedded':
+ cppdefines += ['PIPE_SUBSYSTEM_EMBEDDED']
env.Append(CPPDEFINES = cppdefines)
# C compiler options