[PATCH libdrm 07/23] meson: fix exynos=auto detection (was always false)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: Eric Engestrom <eric.engestrom@xxxxxxxxxx>
---
 meson.build | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

diff --git a/meson.build b/meson.build
index 51f2a214e1d9715a053d..76eefaeca20ad80ba1ef 100644
--- a/meson.build
+++ b/meson.build
@@ -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'
-- 
Cheers,
  Eric

_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/dri-devel




[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux