From f3be3e53de232e88d7dbf7411e389ddcc7400237 Mon Sep 17 00:00:00 2001 From: Yegor Yefremov Date: Fri, 14 Mar 2014 11:26:34 +0100 Subject: [PATCH] network-manager: add support for ModemManager Signed-off-by: Yegor Yefremov Signed-off-by: Peter Korsgaard --- package/network-manager/Config.in | 8 ++++++++ package/network-manager/network-manager.mk | 7 +++++++ 2 files changed, 15 insertions(+) diff --git a/package/network-manager/Config.in b/package/network-manager/Config.in index a6fbf0bdad..5b388b7bae 100644 --- a/package/network-manager/Config.in +++ b/package/network-manager/Config.in @@ -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 diff --git a/package/network-manager/network-manager.mk b/package/network-manager/network-manager.mk index 03057a62ca..89e0b29358 100644 --- a/package/network-manager/network-manager.mk +++ b/package/network-manager/network-manager.mk @@ -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 -- 2.30.2