[PATCH libdrm 18/23] meson: use simple option handling for omap
Eric Engestrom
eric.engestrom at imgtec.com
Tue Mar 20 17:46:54 UTC 2018
Signed-off-by: Eric Engestrom <eric.engestrom at imgtec.com>
---
meson.build | 12 +-----------
1 file changed, 1 insertion(+), 11 deletions(-)
diff --git a/meson.build b/meson.build
index 5c4b223f5a36255f492f..16f205f01a61ab2241f1 100644
--- a/meson.build
+++ b/meson.build
@@ -75,6 +75,7 @@ foreach d : [
['amdgpu', true, true],
['nouveau', true, true],
['vmwgfx', false, true],
+ ['omap', true, true],
]
driver = d[0]
require_atomics = d[1]
@@ -95,17 +96,6 @@ foreach d : [
endif
endforeach
-with_omap = false
-_omap = get_option('omap')
-if _omap == 'auto'
- with_omap = with_atomics
-else
- with_omap = _omap == 'true'
-endif
-if with_omap and not with_atomics
- error('libdrm_omap requires atomics.')
-endif
-
with_exynos = false
_exynos = get_option('exynos')
if _exynos == 'auto'
--
Cheers,
Eric
More information about the dri-devel
mailing list