summaryrefslogtreecommitdiffstats
path: root/src/gallium/targets/dri/meson.build
diff options
context:
space:
mode:
authorDylan Baker <[email protected]>2017-10-25 16:54:53 -0700
committerDylan Baker <[email protected]>2017-11-28 14:06:26 -0800
commit9169dde94149abe519cf1d1da7e388d0e200fa3f (patch)
tree0d04380abc3f172a704014ffa76d3849ce3e4708 /src/gallium/targets/dri/meson.build
parentc5d199fa2ca612acd22f7ff2fc584b9110bbbd44 (diff)
meson: build i915g driver
Build tested only. Signed-off-by: Dylan Baker <[email protected]> Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src/gallium/targets/dri/meson.build')
-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 595fd0a1a54..4dbda07449a 100644
--- a/src/gallium/targets/dri/meson.build
+++ b/src/gallium/targets/dri/meson.build
@@ -108,6 +108,11 @@ if with_gallium_imx
gallium_dri_link_with += libimxdrm
gallium_dri_drivers += 'imx-drm_dri.so'
endif
+if with_gallium_i915
+ gallium_dri_c_args += '-DGALLIUM_I915'
+ gallium_dri_link_with += [libi915, libi915drm]
+ gallium_dri_drivers += 'i915_dri.so'
+endif
if with_gallium_vc4 or with_gallium_vc5
gallium_dri_link_with += libbroadcom_cle