summaryrefslogtreecommitdiffstats
path: root/src/gallium/targets/dri/meson.build
diff options
context:
space:
mode:
authorDylan Baker <[email protected]>2017-10-20 15:45:22 -0700
committerDylan Baker <[email protected]>2017-10-23 11:45:38 -0700
commit51558a1d6ca43b201362b3b64c751cfc93584346 (patch)
treef6c26a256f2e48919d0707d8b6e369362cad7dbd /src/gallium/targets/dri/meson.build
parentba85525fcec65e021304a7ecd21e8fd20ce39f2d (diff)
meson: build etnaviv driver + winsys
Signed-off-by: Dylan Baker <[email protected]> Reviewed-by: Christian Gmeiner <[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 541234f8032..9640e8acbab 100644
--- a/src/gallium/targets/dri/meson.build
+++ b/src/gallium/targets/dri/meson.build
@@ -91,6 +91,11 @@ if with_gallium_vc5
gallium_dri_link_with += [libvc5, libvc5winsys, libbroadcom_vc5]
gallium_dri_drivers += 'vc5_dri.so'
endif
+if with_gallium_etnaviv
+ gallium_dri_c_args += '-DGALLIUM_ETNAVIV'
+ gallium_dri_link_with += [libetnaviv, libetnavivdrm]
+ gallium_dri_drivers += 'etnaviv_dri.so'
+endif
if with_gallium_vc4 or with_gallium_vc5
gallium_dri_link_with += libbroadcom_cle