@@ -78,6 +78,7 @@ foreach d : [
['omap', true, false],
['exynos', false, false],
['freedreno', true, ['arm', 'aarch64'].contains(host_machine.cpu_family())],
+ ['tegra', true, false],
]
driver = d[0]
require_atomics = d[1]
@@ -98,15 +99,6 @@ foreach d : [
endif
endforeach
-with_tegra = false
-_tegra = get_option('tegra')
-if _tegra == 'true'
- if not with_atomics
- error('libdrm_tegra requires atomics.')
- endif
- with_tegra = true
-endif
-
with_etnaviv = false
_etnaviv = get_option('etnaviv')
if _etnaviv == 'true'
Signed-off-by: Eric Engestrom <eric.engestrom@imgtec.com> --- meson.build | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-)