[PATCH libdrm v2 18/23] meson: use simple option handling for vc4
Eric Engestrom
eric.engestrom at imgtec.com
Wed Apr 4 15:38:13 UTC 2018
Signed-off-by: Eric Engestrom <eric.engestrom at imgtec.com>
---
meson.build | 9 +--------
1 file changed, 1 insertion(+), 8 deletions(-)
diff --git a/meson.build b/meson.build
index a469bdbff1743f796bdf..f3747736f5bed7c01143 100644
--- a/meson.build
+++ b/meson.build
@@ -79,6 +79,7 @@ foreach d : [
['exynos', false, false],
['freedreno', true, ['arm', 'aarch64'].contains(host_machine.cpu_family())],
['tegra', true, false],
+ ['vc4', false, ['arm', 'aarch64'].contains(host_machine.cpu_family())],
]
driver = d[0]
require_atomics = d[1]
@@ -110,14 +111,6 @@ endif
with_exynos = get_option('exynos') == 'true'
-with_vc4 = false
-_vc4 = get_option('vc4')
-if _vc4 == 'auto'
- with_vc4 = ['arm', 'aarch64'].contains(host_machine.cpu_family())
-else
- with_vc4 = _vc4 == 'true'
-endif
-
# XXX: Aparently only freebsd and dragonfly bsd actually need this (and
# gnu/kfreebsd), not openbsd and netbsd
with_libkms = false
--
Cheers,
Eric
More information about the dri-devel
mailing list