summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2018-06-13 19:36:53 +0300
committerEfraim Flashner <efraim@flashner.co.il>2018-06-13 19:37:04 +0300
commita8ef66f94d06087a7f9a6531e41f4395397921e3 (patch)
tree357f1e3248137a104d0dc07a43746d77c89fb7ba /gnu
parentfaccae1c3769c90694c2b7eee0e4e9ab53049a8f (diff)
downloadguix-a8ef66f94d06087a7f9a6531e41f4395397921e3.tar.gz
gnu: mesa: Build tegra driver on arm systems.
* gnu/packages/gl.scm (mesa)[arguments]: Add 'tegra' to the
gallium-drivers list for armhf-linux and aarch64-linux.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/gl.scm4
1 files changed, 2 insertions, 2 deletions
diff --git a/gnu/packages/gl.scm b/gnu/packages/gl.scm
index 30dd9a18fa..eb4e58715e 100644
--- a/gnu/packages/gl.scm
+++ b/gnu/packages/gl.scm
@@ -275,10 +275,10 @@ also known as DXTn or DXTC) for Mesa.")
        '(,@(match (%current-system)
              ("armhf-linux"
               ;; TODO: Add etnaviv,imx when libdrm supports etnaviv.
-              '("--with-gallium-drivers=freedreno,nouveau,r300,r600,swrast,vc4,virgl"))
+              '("--with-gallium-drivers=freedreno,nouveau,r300,r600,swrast,tegra,vc4,virgl"))
              ("aarch64-linux"
               ;; TODO: Fix svga driver for aarch64 and armhf.
-              '("--with-gallium-drivers=freedreno,nouveau,pl111,r300,r600,swrast,vc4,virgl"))
+              '("--with-gallium-drivers=freedreno,nouveau,pl111,r300,r600,swrast,tegra,vc4,virgl"))
              (_
               '("--with-gallium-drivers=i915,nouveau,r300,r600,radeonsi,svga,swrast,virgl")))
          ;; Enable various optional features.  TODO: opencl requires libclc,