package/mesa3d: fix iris driver depends and selects
authorJames Hilliard <james.hilliard1@gmail.com>
Sat, 8 Feb 2020 22:28:09 +0000 (15:28 -0700)
committerYann E. MORIN <yann.morin.1998@free.fr>
Sun, 9 Feb 2020 09:12:38 +0000 (10:12 +0100)
iris is inherently an x86-only driver, and it hard codes gcc options
specific to x86m like -msse2, causing build breakage on other
architectures.

iris also does not use kmsro, but the select was accidentally added when
iris was introduced.

Fix both by adding the missing dependency to x86, and by removing the
select to kmsro.

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
[yann.morin.1998@free.fr:
  - ad dependency to x86
  - reword commit log accordingly
]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
package/mesa3d/Config.in

index 94e3f2cb9e4e5703e95e3c544b7e73a103ada666..3d72c60d1ff6482edd6fd6687636c6f7bbed72d5 100644 (file)
@@ -115,8 +115,8 @@ config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_FREEDRENO
 
 config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_IRIS
        bool "Gallium iris driver"
+       depends on BR2_i386 || BR2_x86_64
        select BR2_PACKAGE_MESA3D_GALLIUM_DRIVER
-       select BR2_PACKAGE_MESA3D_GALLIUM_KMSRO
        help
          Mesa driver for iris-based Intel GPUs.