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: fecd04a66a ("freedreno/ir3: fix standalone compiler meson build")
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
This commit is contained in:
Rob Clark
2017-11-10 17:09:01 -08:00
committed by Kenneth Graunke
parent d48492074a
commit 881f6e741f
+3 -1
View File
@@ -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')