Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
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
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