From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from dude.hi.pengutronix.de ([2001:67c:670:100:1d::7]) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1YOjjp-0001rJ-JY for ptxdist@pengutronix.de; Fri, 20 Feb 2015 10:19:09 +0100 Received: from jbe by dude.hi.pengutronix.de with local (Exim 4.84) (envelope-from ) id 1YOjjp-0001rK-IU for ptxdist@pengutronix.de; Fri, 20 Feb 2015 10:19:09 +0100 From: Juergen Borleis Date: Fri, 20 Feb 2015 10:19:03 +0100 Message-Id: <1424423943-28091-5-git-send-email-jbe@pengutronix.de> In-Reply-To: <1424423943-28091-1-git-send-email-jbe@pengutronix.de> References: <1424423943-28091-1-git-send-email-jbe@pengutronix.de> Subject: [ptxdist] [PATCH 4/4] NetworkManager: add nmtui support Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de WIP: doesn't work yet. Signed-off-by: Juergen Borleis --- rules/networkmanager.in | 8 ++++++++ rules/networkmanager.make | 5 ++++- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/rules/networkmanager.in b/rules/networkmanager.in index 2e6699e..bb7707c 100644 --- a/rules/networkmanager.in +++ b/rules/networkmanager.in @@ -9,6 +9,8 @@ menuconfig NETWORKMANAGER select DHCP if RUNTIME select DHCP_CLIENT if RUNTIME select KERNEL_HEADER if NETWORKMANAGER_WIRELESS + select NCURSES if NETWORKMANAGER_NMTUI + select LIBNEWT if NETWORKMANAGER_NMTUI select DBUS select DBUS_GLIB select READLINE # for 'nmcli' @@ -44,6 +46,12 @@ config NETWORKMANAGER_NM_ONLINE help Install the 'nm-online' tool to detect online state. +config NETWORKMANAGER_NMTUI + bool + prompt "install nmtui" + help + Build and install the 'nmtui' tool. + config NETWORKMANAGER_SYSTEMD_UNIT bool default y diff --git a/rules/networkmanager.make b/rules/networkmanager.make index f7297e2..c47dd35 100644 --- a/rules/networkmanager.make +++ b/rules/networkmanager.make @@ -72,7 +72,7 @@ NETWORKMANAGER_CONF_OPT := \ --without-system-ca-path \ --with-kernel-firmware-dir=/lib/firmware \ --without-libsoup \ - --without-nmtui \ + --$(call ptx/wwo,PTXCONF_NETWORKMANAGER_NMTUI)-nmtui \ --without-valgrind \ --without-tests @@ -158,6 +158,9 @@ ifdef PTXCONF_NETWORKMANAGER_NM_ONLINE @$(call install_copy, networkmanager, 0, 0, 0755, -, /usr/bin/nm-online) endif @$(call install_copy, networkmanager, 0, 0, 0755, -, /usr/bin/nmcli) +ifdef PTXCONF_NETWORKMANAGER_NMTUI + @$(call install_copy, networkmanager, 0, 0, 0755, -, /usr/bin/nmtui) +endif @$(call install_tree, networkmanager, 0, 0, -, /usr/libexec/) -- 2.1.4 -- ptxdist mailing list ptxdist@pengutronix.de