[PATCH libdrm v2 19/23] meson: use simple option handling for etnaviv
Eric Engestrom
eric.engestrom at imgtec.com
Wed Apr 4 15:38:14 UTC 2018
Signed-off-by: Eric Engestrom <eric.engestrom at imgtec.com>
---
meson.build | 10 +---------
1 file changed, 1 insertion(+), 9 deletions(-)
diff --git a/meson.build b/meson.build
index f3747736f5bed7c01143..f659c02bc82660d038cc 100644
--- a/meson.build
+++ b/meson.build
@@ -80,6 +80,7 @@ foreach d : [
['freedreno', true, ['arm', 'aarch64'].contains(host_machine.cpu_family())],
['tegra', true, false],
['vc4', false, ['arm', 'aarch64'].contains(host_machine.cpu_family())],
+ ['etnaviv', true, false],
]
driver = d[0]
require_atomics = d[1]
@@ -100,15 +101,6 @@ foreach d : [
endif
endforeach
-with_etnaviv = false
-_etnaviv = get_option('etnaviv')
-if _etnaviv == 'true'
- if not with_atomics
- error('libdrm_etnaviv requires atomics.')
- endif
- with_etnaviv = true
-endif
-
with_exynos = get_option('exynos') == 'true'
# XXX: Aparently only freebsd and dragonfly bsd actually need this (and
--
Cheers,
Eric
More information about the dri-devel
mailing list