[PATCH libdrm 07/23] meson: fix exynos=auto detection (was always false)

Eric Engestrom eric.engestrom at imgtec.com
Tue Mar 20 17:46:43 UTC 2018


Signed-off-by: Eric Engestrom <eric.engestrom at imgtec.com>
---
 meson.build | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

diff --git a/meson.build b/meson.build
index 51f2a214e1d9715a053d..76eefaeca20ad80ba1ef 100644
--- a/meson.build
+++ b/meson.build
@@ -130,6 +130,14 @@ if with_omap and not with_atomics
   error('libdrm_omap requires atomics.')
 endif
 
+with_exynos = false
+_exynos = get_option('exynos')
+if _exynos == 'auto'
+  with_exynos = true
+else
+  with_exynos = _exynos == 'true'
+endif
+
 with_freedreno = false
 _freedreno = get_option('freedreno')
 if _freedreno == 'auto'
@@ -159,8 +167,6 @@ if _etnaviv == 'true'
   with_etnaviv = true
 endif
 
-with_exynos = get_option('exynos') == 'true'
-
 with_vc4 = false
 _vc4 = get_option('vc4')
 if _vc4 != 'false'
-- 
Cheers,
  Eric



More information about the dri-devel mailing list