From 92e8d431f5917a05b5023cf65b43c6f07efab867 Mon Sep 17 00:00:00 2001 From: Matt Weber Date: Tue, 17 Mar 2015 18:15:43 -0500 Subject: [PATCH] quagga: option for vtysh [Thomas: add corresponding explicit --disable option.] Signed-off-by: Matthew Weber Signed-off-by: Thomas Petazzoni --- package/quagga/Config.in | 6 ++++++ package/quagga/quagga.mk | 7 +++++++ 2 files changed, 13 insertions(+) diff --git a/package/quagga/Config.in b/package/quagga/Config.in index d8b10f8520..4a9f8bb0d8 100644 --- a/package/quagga/Config.in +++ b/package/quagga/Config.in @@ -82,6 +82,12 @@ config BR2_PACKAGE_QUAGGA_WATCHQUAGGA help Build and install watchquagga, a zebra/protocol daemon supervisor. +config BR2_PACKAGE_QUAGGA_VTYSH + bool "Build vtysh" + select BR2_PACKAGE_READLINE + help + Build and install vtysh, a vty shell for Quagga. + config BR2_PACKAGE_QUAGGA_SNMP bool "SNMP support" depends on BR2_USE_MMU # net-snmp diff --git a/package/quagga/quagga.mk b/package/quagga/quagga.mk index 2c0a6a9901..756d6e0e18 100644 --- a/package/quagga/quagga.mk +++ b/package/quagga/quagga.mk @@ -32,4 +32,11 @@ QUAGGA_CONF_OPTS += --enable-snmp=agentx QUAGGA_DEPENDENCIES += netsnmp endif +ifeq ($(BR2_PACKAGE_QUAGGA_VTYSH),y) +QUAGGA_CONF_OPTS += --enable-vtysh +QUAGGA_DEPENDENCIES += readline +else +QUAGGA_CONF_OPTS += --disable-vtysh +endif + $(eval $(autotools-package)) -- 2.30.2