[PATCH libdrm v2 13/23] meson: use simple option handling for vmwgfx

Eric Engestrom eric.engestrom at imgtec.com
Wed Apr 4 15:38:08 UTC 2018


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

diff --git a/meson.build b/meson.build
index e871c77c9860a84eed8f..6786a44e3df1a2e00540 100644
--- a/meson.build
+++ b/meson.build
@@ -74,6 +74,7 @@ foreach d : [
   ['radeon', true, true],
   ['amdgpu', true, true],
   ['nouveau', true, true],
+  ['vmwgfx', false, true],
 ]
   driver = d[0]
   require_atomics = d[1]
@@ -94,12 +95,6 @@ foreach d : [
   endif
 endforeach
 
-with_vmwgfx = false
-_vmwgfx = get_option('vmwgfx')
-if _vmwgfx != 'false'
-  with_vmwgfx = true
-endif
-
 with_omap = false
 _omap = get_option('omap')
 if _omap == 'true'
-- 
Cheers,
  Eric



More information about the dri-devel mailing list