package/x11r7/xdriver_xf86-video-ati: add missing dependency
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Fri, 2 Apr 2021 06:09:39 +0000 (08:09 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Fri, 9 Apr 2021 21:16:55 +0000 (23:16 +0200)
Fix the following build failure which is raised since commit
a3aac6d84713db7e6d2683eabf965eae21ce48bf:

WARNING: unmet direct dependencies detected for BR2_PACKAGE_MESA3D_DRI_DRIVER_RADEON
  Depends on [n]: BR2_PACKAGE_MESA3D [=y] && (BR2_i386 [=n] || BR2_x86_64 [=n])
  Selected by [y]:
  - BR2_PACKAGE_XDRIVER_XF86_VIDEO_ATI [=y] && BR2_PACKAGE_XORG7 [=y] && BR2_PACKAGE_XSERVER_XORG_SERVER_MODULAR [=y] && BR2_PACKAGE_MESA3D [=y]

Fixes:
 - http://autobuild.buildroot.org/results/36773085f933ab2ee558f53a6c0ae5365077ad5e

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/x11r7/xdriver_xf86-video-ati/Config.in

index fdf1ebd18b7d4e7ec498392d6456409e232f5556..1246014dca5808fc09a0a2cc19dda25522134a82 100644 (file)
@@ -1,5 +1,6 @@
 config BR2_PACKAGE_XDRIVER_XF86_VIDEO_ATI
        bool "xf86-video-ati"
+       depends on BR2_i386 || BR2_x86_64 # DRI radeon r100 driver
        depends on BR2_PACKAGE_MESA3D
        select BR2_PACKAGE_LIBDRM
        select BR2_PACKAGE_LIBDRM_RADEON
@@ -10,4 +11,5 @@ config BR2_PACKAGE_XDRIVER_XF86_VIDEO_ATI
          ATI video driver
 
 comment "xf86-video-ati needs mesa3d"
+       depends on BR2_i386 || BR2_x86_64
        depends on !BR2_PACKAGE_MESA3D