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

Eric Engestrom eric.engestrom at imgtec.com
Wed Apr 4 15:38:10 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 29f91ee9f6eb96b05f0d..f0804fc5a0a1d907313f 100644
--- a/meson.build
+++ b/meson.build
@@ -76,6 +76,7 @@ foreach d : [
   ['nouveau', true, true],
   ['vmwgfx', false, true],
   ['omap', true, false],
+  ['exynos', false, false],
 ]
   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