network-manager: add terminal based UI support

NM provides a newt based UI. One can create, modify and delete NM
connections via this interface.

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
Yegor Yefremov 2014-06-13 10:31:30 +02:00 committed by Peter Korsgaard
parent f81776e6e8
commit 30704ec20b
2 changed files with 13 additions and 0 deletions

View File

@ -30,6 +30,12 @@ config BR2_PACKAGE_NETWORK_MANAGER
if BR2_PACKAGE_NETWORK_MANAGER
config BR2_PACKAGE_NETWORK_MANAGER_TUI
bool "nmtui support"
select BR2_PACKAGE_NEWT
help
This option enables terminal based UI
config BR2_PACKAGE_NETWORK_MANAGER_MODEM_MANAGER
bool "modem-manager support"
select BR2_PACKAGE_MODEM_MANAGER

View File

@ -34,6 +34,13 @@ NETWORK_MANAGER_CONF_OPT = \
--disable-ifupdown \
--disable-ifnet
ifeq ($(BR2_PACKAGE_NETWORK_MANAGER_TUI),y)
NETWORK_MANAGER_DEPENDENCIES += newt
NETWORK_MANAGER_CONF_OPT += --with-nmtui=yes
else
NETWORK_MANAGER_CONF_OPT += --with-nmtui=no
endif
ifeq ($(BR2_PACKAGE_NETWORK_MANAGER_PPPD),y)
NETWORK_MANAGER_DEPENDENCIES += pppd
NETWORK_MANAGER_CONF_OPT += --enable-ppp