aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/targets
diff options
context:
space:
mode:
authorDylan Baker <[email protected]>2017-10-26 14:19:19 -0700
committerDylan Baker <[email protected]>2017-11-28 14:06:36 -0800
commita537231b226280bc1e5b7f0f58707cbd2cf29848 (patch)
treeeb1859f98e026156e557137750c48b20629d408a /src/gallium/targets
parent5060c51b6f4dfb0d5358bde6523285163d3faaad (diff)
meson: build svga driver on linux
Build tested only. Signed-off-by: Dylan Baker <[email protected]> Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src/gallium/targets')
-rw-r--r--src/gallium/targets/dri/meson.build5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gallium/targets/dri/meson.build b/src/gallium/targets/dri/meson.build
index 8bcef801dbe..79dc046f896 100644
--- a/src/gallium/targets/dri/meson.build
+++ b/src/gallium/targets/dri/meson.build
@@ -122,6 +122,11 @@ if with_gallium_r600
gallium_dri_link_with += libr600
gallium_dri_drivers += 'r600_dri.so'
endif
+if with_gallium_svga
+ gallium_dri_c_args += '-DGALLIUM_VMWGFX'
+ gallium_dri_link_with += [libsvga, libsvgadrm]
+ gallium_dri_drivers += 'vmwgfx_dri.so'
+endif
if with_gallium_radeonsi or with_gallium_r300 or with_gallium_r600
gallium_dri_link_with += libradeonwinsys