Module: Mesa
Branch: master
Commit: 881f6e741fe0f63df1aa6aadba7e2eb64269cb20
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=881f6e741fe0f63df1aa6aadba7e2eb64269cb20

Author: Rob Clark <[email protected]>
Date:   Fri Nov 10 17:09:01 2017 -0800

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]>

---

 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 31884f5b72..c5772b36cb 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')

_______________________________________________
mesa-commit mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to