Mesa (master): add PIPE_SUBSYSTEM_EMBEDDED when embedded platform used

Alan Hourihane alanh at kemper.freedesktop.org
Thu Jan 28 15:34:25 UTC 2010


Module: Mesa
Branch: master
Commit: bd60e6cd5ce7c19e52338f12f73dfa1b622391d5
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=bd60e6cd5ce7c19e52338f12f73dfa1b622391d5

Author: Alan Hourihane <alanh at vmware.com>
Date:   Thu Jan 28 15:34:10 2010 +0000

add PIPE_SUBSYSTEM_EMBEDDED when embedded platform used

---

 scons/gallium.py |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/scons/gallium.py b/scons/gallium.py
index 467b67f..0385620 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




More information about the mesa-commit mailing list