From bd60e6cd5ce7c19e52338f12f73dfa1b622391d5 Mon Sep 17 00:00:00 2001 From: Alan Hourihane Date: Thu, 28 Jan 2010 15:34:10 +0000 Subject: add PIPE_SUBSYSTEM_EMBEDDED when embedded platform used --- scons/gallium.py | 2 ++ 1 file changed, 2 insertions(+) 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 -- cgit v1.2.3