diff mbox

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

Message ID 20180320174659.1510-20-eric.engestrom@imgtec.com (mailing list archive)
State New, archived
Headers show

Commit Message

Eric Engestrom March 20, 2018, 5:46 p.m. UTC
Signed-off-by: Eric Engestrom <eric.engestrom@imgtec.com>
---
 meson.build | 9 +--------
 1 file changed, 1 insertion(+), 8 deletions(-)
diff mbox

Patch

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'