[PATCH libdrm 19/23] meson: use simple option handling for exynos

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


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

diff --git a/meson.build b/meson.build
index 16f205f01a61ab2241f1..46099e5913547af7eed9 100644
--- a/meson.build
+++ b/meson.build
@@ -76,6 +76,7 @@ foreach d : [
   ['nouveau', true, true],
   ['vmwgfx', false, true],
   ['omap', true, true],
+  ['exynos', false, true],
 ]
   driver = d[0]
   require_atomics = d[1]
@@ -96,14 +97,6 @@ foreach d : [
   endif
 endforeach
 
-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'
-- 
Cheers,
  Eric



More information about the dri-devel mailing list