network-manager: add support for ModemManager
authorYegor Yefremov <yegorslists@googlemail.com>
Fri, 14 Mar 2014 10:26:34 +0000 (11:26 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Sat, 15 Mar 2014 21:42:05 +0000 (22:42 +0100)
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/network-manager/Config.in
package/network-manager/network-manager.mk

index a6fbf0bdadd5c7ee80125e26d963be0c23063966..5b388b7bae7159b5b3f3ce7f6374379e81c05a29 100644 (file)
@@ -28,6 +28,14 @@ config BR2_PACKAGE_NETWORK_MANAGER
 
 if BR2_PACKAGE_NETWORK_MANAGER
 
+config BR2_PACKAGE_NETWORK_MANAGER_MODEM_MANAGER
+       bool "modem-manager support"
+       select BR2_PACKAGE_MODEM_MANAGER
+       select BR2_PACKAGE_MODEM_MANAGER_LIBMBIM
+       select BR2_PACKAGE_MODEM_MANAGER_LIBQMI
+       help
+         This option enables support for ModemManager
+
 config BR2_PACKAGE_NETWORK_MANAGER_PPPD
        bool "pppd support"
        select BR2_PACKAGE_PPPD
index 03057a62ca02c5791534c69e5e28ad3b66b0d062..89e0b293581e5977242e142e8aed4b5a9e2f0df9 100644 (file)
@@ -40,6 +40,13 @@ else
        NETWORK_MANAGER_CONF_OPT += --disable-ppp
 endif
 
+ifeq ($(BR2_PACKAGE_NETWORK_MANAGER_MODEM_MANAGER),y)
+       NETWORK_MANAGER_DEPENDENCIES += modem-manager
+       NETWORK_MANAGER_CONF_OPT += --with-modem-manager-1
+else
+       NETWORK_MANAGER_CONF_OPT += --without-modem-manager-1
+endif
+
 ifeq ($(BR2_PACKAGE_DHCP_CLIENT),y)
 NETWORK_MANAGER_CONF_OPT += --with-dhclient=/usr/sbin/dhclient
 endif