summaryrefslogtreecommitdiffstats
path: root/src/gallium/targets
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/targets')
-rw-r--r--src/gallium/targets/dri/meson.build6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gallium/targets/dri/meson.build b/src/gallium/targets/dri/meson.build
index 1517fcc5d3c..0ce088e1aca 100644
--- a/src/gallium/targets/dri/meson.build
+++ b/src/gallium/targets/dri/meson.build
@@ -69,6 +69,12 @@ if with_gallium_nouveau
gallium_dri_link_with += [libnouveauwinsys, libnouveau]
gallium_dri_drivers += 'nouveau_dri.so'
endif
+if with_gallium_freedreno
+ gallium_dri_c_args += '-DGALLIUM_FREEDRENO'
+ gallium_dri_link_with += [libfreedrenowinsys, libfreedreno]
+ gallium_dri_drivers += 'msm_dri.so'
+ gallium_dri_drivers += 'kgsl_dri.so'
+endif
if with_gallium_softpipe
gallium_dri_c_args += '-DGALLIUM_SOFTPIPE'
gallium_dri_link_with += libsoftpipe