mesa: don't build "svga" gallium driver on ARM

https://bugs.freedesktop.org/show_bug.cgi?id=102232#c1
Don't cause a rebuild on non-ARM.
This commit is contained in:
Vladimír Čunát 2017-10-10 20:34:38 +02:00
parent 994036d857
commit e9a1663f8c
No known key found for this signature in database
GPG key ID: E747DF1F9575A3AA

View file

@ -36,7 +36,7 @@ let
then ["nouveau" "freedreno" "vc4" "etnaviv" "imx"]
else if stdenv.isAarch64
then ["nouveau" "vc4" ]
else ["i915" "r300" "r600" "radeonsi" "nouveau"];
else ["svga" "i915" "r300" "r600" "radeonsi" "nouveau"];
defaultDriDrivers =
if (stdenv.isArm || stdenv.isAarch64)
then ["nouveau"]
@ -51,8 +51,7 @@ let gallium_ = galliumDrivers; dri_ = driDrivers; vulkan_ = vulkanDrivers; in
let
galliumDrivers =
["svga"]
++ (if gallium_ == null
(if gallium_ == null
then defaultGalliumDrivers
else gallium_)
++ ["swrast"];