kf5-modemmanager-qt: correct dependencies comment display conditions
authorBaruch Siach <baruch@tkos.co.il>
Tue, 3 Jul 2018 17:05:17 +0000 (20:05 +0300)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Tue, 3 Jul 2018 19:39:12 +0000 (21:39 +0200)
Display the dependencies comment only when modem-manager is enabled.
Otherwise, a toolchain configuration change would not make the package
selectable.

Cc: Pierre Ducroquet <pinaraf@pinaraf.info>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/kf5/kf5-modemmanager-qt/Config.in

index c291b886f5cd188e2f6fbe8caf860bf18c53ea19..f08de5567220789bcee418e1a767d2c07e62ace5 100644 (file)
@@ -16,4 +16,5 @@ config BR2_PACKAGE_KF5_MODEMMANAGER_QT
 
 comment "kf5-modemmanager-qt needs toolchain w/ threads"
        depends on BR2_USE_MMU
+       depends on BR2_PACKAGE_MODEM_MANAGER
        depends on !BR2_TOOLCHAIN_HAS_THREADS