From: Yegor Yefremov Date: Fri, 14 Mar 2014 10:26:34 +0000 (+0100) Subject: network-manager: add support for ModemManager X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f3be3e53de232e88d7dbf7411e389ddcc7400237;p=buildroot.git network-manager: add support for ModemManager Signed-off-by: Yegor Yefremov Signed-off-by: Peter Korsgaard --- 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