From: Rob Clark Date: Sat, 11 Nov 2017 01:09:01 +0000 (-0800) Subject: meson: Guard freedreno build with with_gallium_freedreno. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=881f6e741fe0f63df1aa6aadba7e2eb64269cb20;p=mesa.git 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 --- 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')