summaryrefslogtreecommitdiffstats
path: root/src/gallium/targets
diff options
context:
space:
mode:
authorRob Clark <[email protected]>2017-10-14 10:08:50 -0400
committerRob Clark <[email protected]>2017-10-24 15:33:40 -0400
commit4aa69cc4257d1f60a1a4cee142fa55e577093407 (patch)
tree36b021475c805bf73edd74a5e8275699e6931361 /src/gallium/targets
parent2207af032b0b7326341e974f3b2e0b802e231fa0 (diff)
meson: build freedreno
Mostly copy/pasta from Dylan Baker's conversion of nouveau and i965. Signed-off-by: Rob Clark <[email protected]> Reviewed-by: Eric Engestrom <[email protected]> Reviewed-by: Dylan Baker <[email protected]>
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