python-pyqt: use 'depends on' rather than 'select' for Qt
authorNaumann Andreas <ANaumann@ultratronik.de>
Thu, 22 Dec 2016 14:21:14 +0000 (15:21 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 7 Feb 2017 16:46:48 +0000 (17:46 +0100)
When pyqt is used it's obvious that qt needs to be selected and
configured by the user, hence we enforce it by making pyqt depending on
qt, rather than selecting it and depending only on the qt requirements.

Signed-off-by: Andreas Naumann <anaumann@ultratronik.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/python-pyqt/Config.in

index a50cb74a43d0f4ac29b14a25af7342b1065d39b6..6934a4c4abc125e8c49f0032fb36bfb30e3deea4 100644 (file)
@@ -1,13 +1,9 @@
-comment "python-pyqt needs a toolchain w/ C++, threads"
-       depends on BR2_USE_MMU
-       depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS
+comment "python-pyqt needs Qt4"
+       depends on !BR2_PACKAGE_QT
 
 config BR2_PACKAGE_PYTHON_PYQT
        bool "python-pyqt"
-       depends on BR2_INSTALL_LIBSTDCPP
-       depends on BR2_TOOLCHAIN_HAS_THREADS # qt
-       depends on BR2_USE_MMU # qt
-       select BR2_PACKAGE_QT
+       depends on BR2_PACKAGE_QT
        select BR2_PACKAGE_PYTHON_SIP
        help
          PyQt4 for Qt Embedded 4 bindings.