summaryrefslogtreecommitdiffstats
path: root/src/gallium/targets/dri
diff options
context:
space:
mode:
authorDylan Baker <[email protected]>2017-10-20 15:57:15 -0700
committerDylan Baker <[email protected]>2017-10-23 11:45:55 -0700
commitd4567efa5ca5383fd5576b8871b3abc05e085360 (patch)
tree075c82bd1bb695392d2985a4426396796940eb31 /src/gallium/targets/dri
parent51558a1d6ca43b201362b3b64c751cfc93584346 (diff)
meson: build imx driver
Signed-off-by: Dylan Baker <[email protected]> Reviewed-by: Christian Gmeiner <[email protected]>
Diffstat (limited to 'src/gallium/targets/dri')
-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 9640e8acbab..1517fcc5d3c 100644
--- a/src/gallium/targets/dri/meson.build
+++ b/src/gallium/targets/dri/meson.build
@@ -96,6 +96,11 @@ if with_gallium_etnaviv
gallium_dri_link_with += [libetnaviv, libetnavivdrm]
gallium_dri_drivers += 'etnaviv_dri.so'
endif
+if with_gallium_imx
+ gallium_dri_c_args += '-DGALLIUM_IMX'
+ gallium_dri_link_with += libimxdrm
+ gallium_dri_drivers += 'imx-drm_dri.so'
+endif
if with_gallium_vc4 or with_gallium_vc5
gallium_dri_link_with += libbroadcom_cle