[PATCH libdrm v2 14/23] meson: use simple option handling for omap
Eric Engestrom
eric.engestrom at imgtec.com
Wed Apr 4 15:38:09 UTC 2018
Signed-off-by: Eric Engestrom <eric.engestrom at imgtec.com>
---
meson.build | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/meson.build b/meson.build
index 6786a44e3df1a2e00540..29f91ee9f6eb96b05f0d 100644
--- a/meson.build
+++ b/meson.build
@@ -75,6 +75,7 @@ foreach d : [
['amdgpu', true, true],
['nouveau', true, true],
['vmwgfx', false, true],
+ ['omap', true, false],
]
driver = d[0]
require_atomics = d[1]
@@ -95,13 +96,12 @@ foreach d : [
endif
endforeach
-with_omap = false
-_omap = get_option('omap')
-if _omap == 'true'
- if not with_atomics
- error('libdrm_omap requires atomics.')
- endif
- with_omap = true
+with_exynos = false
+_exynos = get_option('exynos')
+if _exynos == 'auto'
+ with_exynos = true
+else
+ with_exynos = _exynos == 'true'
endif
with_freedreno = false
--
Cheers,
Eric
More information about the dri-devel
mailing list