network-manager: add support for ModemManager

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
Yegor Yefremov 2014-03-14 11:26:34 +01:00 committed by Peter Korsgaard
parent 42389cbcae
commit f3be3e53de
2 changed files with 15 additions and 0 deletions

View 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

View 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