From 881f6e741fe0f63df1aa6aadba7e2eb64269cb20 Mon Sep 17 00:00:00 2001 From: Rob Clark Date: Fri, 10 Nov 2017 17:09:01 -0800 Subject: [PATCH] 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 --- src/gallium/meson.build | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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') -- 2.30.2