diff options
author | Alexander von Gluck IV <[email protected]> | 2013-05-21 15:55:24 -0500 |
---|---|---|
committer | Alexander von Gluck IV <[email protected]> | 2013-05-22 14:31:44 -0500 |
commit | 6d20e251f25b47c19a5fcd80d9aa30bf75367590 (patch) | |
tree | 8d6a8c6a80257c3623e7b95e2028cc408ea1bb7b /src/gallium/SConscript | |
parent | ff68f61bedc2d910b98af4ef4475373f4d3958a3 (diff) |
Haiku: Add Gallium winsys and target code
* We generate a static library for Haiku
Gallium targets as our port system combines
the compiled rendering code into a modular
ar for each module (for example, our port
system combines llvm libsoftpipe.a libllvmpipe.a
into a single ar for the Haiku build system.
I'd like the Gallium hgl target scons build
system to do this some day, however how is
beyond me at the moment. This is a first step.
Diffstat (limited to 'src/gallium/SConscript')
-rw-r--r-- | src/gallium/SConscript | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/gallium/SConscript b/src/gallium/SConscript index a3edc655432..ca75f37f9d9 100644 --- a/src/gallium/SConscript +++ b/src/gallium/SConscript @@ -74,6 +74,11 @@ if not env['msvc']: 'winsys/i915/sw/SConscript', ]) +if env['platform'] == 'haiku': + SConscript([ + 'winsys/sw/hgl/SConscript', + ]) + if env['dri']: SConscript([ 'winsys/sw/dri/SConscript', @@ -114,6 +119,11 @@ if not env['embedded']: 'targets/libgl-gdi/SConscript', ]) + if env['platform'] == 'haiku': + SConscript([ + 'targets/haiku-softpipe/SConscript', + ]) + if env['dri']: SConscript([ 'targets/SConscript.dri', |