aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/meson.build
diff options
context:
space:
mode:
authorRob Clark <[email protected]>2017-11-10 17:09:01 -0800
committerKenneth Graunke <[email protected]>2017-11-10 17:11:48 -0800
commit881f6e741fe0f63df1aa6aadba7e2eb64269cb20 (patch)
treed8d56f38faca62f303b70d3f0eefe0d87db2133d /src/gallium/meson.build
parentd48492074a51045e443d8cab2baf944d7349b7ba (diff)
meson: Guard freedreno build with with_gallium_freedreno.
This prevents build failures when libdrm_freedreno is unavailable, which started happening after the ir3_compiler build was enabled. (Patch by Rob, commit message by Ken). Fixes: fecd04a66ae ("freedreno/ir3: fix standalone compiler meson build") Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/gallium/meson.build')
-rw-r--r--src/gallium/meson.build4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gallium/meson.build b/src/gallium/meson.build
index 31884f5b72e..c5772b36cb6 100644
--- a/src/gallium/meson.build
+++ b/src/gallium/meson.build
@@ -30,7 +30,9 @@ subdir('drivers/rbug')
subdir('drivers/radeon')
subdir('drivers/radeonsi')
subdir('drivers/nouveau')
-subdir('drivers/freedreno')
+if with_gallium_freedreno
+ subdir('drivers/freedreno')
+endif
subdir('drivers/softpipe')
if with_gallium_vc4
subdir('drivers/vc4')