[PATCH libdrm v2 17/23] meson: use simple option handling for tegra

[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, 1 insertion(+), 9 deletions(-)

diff --git a/meson.build b/meson.build
index 72e5836e78bd239584b3..a469bdbff1743f796bdf 100644
--- a/meson.build
+++ b/meson.build
@@ -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'
-- 
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