summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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')