@@ -130,6 +130,14 @@ if with_omap and not with_atomics
error('libdrm_omap requires atomics.')
endif
+with_exynos = false
+_exynos = get_option('exynos')
+if _exynos == 'auto'
+ with_exynos = true
+else
+ with_exynos = _exynos == 'true'
+endif
+
with_freedreno = false
_freedreno = get_option('freedreno')
if _freedreno == 'auto'
@@ -159,8 +167,6 @@ if _etnaviv == 'true'
with_etnaviv = true
endif
-with_exynos = get_option('exynos') == 'true'
-
with_vc4 = false
_vc4 = get_option('vc4')
if _vc4 != 'false'
Signed-off-by: Eric Engestrom <eric.engestrom@imgtec.com> --- meson.build | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-)