package/amd-catalyst: fix circular Config.in dependency
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 23 Aug 2016 20:20:11 +0000 (22:20 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 23 Aug 2016 20:21:38 +0000 (22:21 +0200)
The current amd-catalyst options related to the CCCLE tool create the
following Config.in circular dependency:

package/qt/Config.in:134:error: recursive dependency detected!
package/qt/Config.in:134: symbol BR2_PACKAGE_QT_GUI_MODULE is selected by BR2_PACKAGE_AMD_CATALYST_CCCLE
package/amd-catalyst/Config.in:52: symbol BR2_PACKAGE_AMD_CATALYST_CCCLE depends on BR2_PACKAGE_QT_NOPNG
package/qt/Config.in:277: symbol BR2_PACKAGE_QT_NOPNG is part of choice <choice>
package/qt/Config.in:271: choice <choice> contains symbol <choice>
package/qt/Config.in:271: choice <choice> contains symbol BR2_PACKAGE_QT_GUI_MODULE

But in fact, it turns out that selecting BR2_PACKAGE_QT_GUI_MODULE is
not necessary, since we already "depends on BR2_PACKAGE_QT_X11", which
itself selects BR2_PACKAGE_QT_GUI_MODULE. Therefore, to fix this problem
we simply remove the "select BR2_PACKAGE_QT_GUI_MODULE" from the
BR2_PACKAGE_AMD_CATALYST_CCCLE option.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/amd-catalyst/Config.in

index 96e7f06481d93777bff29527395833b8ad1309d2..85551ed8033b888e1b033e77aa5883d3bad5b02e 100644 (file)
@@ -56,7 +56,6 @@ config BR2_PACKAGE_AMD_CATALYST_CCCLE
        depends on !BR2_PACKAGE_QT_NOPNG
        select BR2_PACKAGE_BUSYBOX_SHOW_OTHERS # procps-ng
        select BR2_PACKAGE_PROCPS_NG # runtime
-       select BR2_PACKAGE_QT_GUI_MODULE
        select BR2_PACKAGE_QT_ACCESSIBILITY
        help
          Installs the Catalyst Control Center, a Qt graphical tool to