Skip to contentSkip to conversation

quagga: option for vtysh

PATCH New Matt Weber 2 participants 2 messages Mar 17, 2015 – Mar 20, 2015

lore
Share & tools
lore

Matt Weber

author
#0 lore raw

PATCH v2 1/1 quagga: option for vtysh

---

Changes v1 -> v2
- Added readline dependency (Suggested by Thomas P)

 package/quagga/Config.in | 6 ++++++
 package/quagga/quagga.mk | 5 +++++
 2 files changed, 11 insertions(+)
package/quagga/Config.in +6 -0
index d8b10f8..4a9f8bb 100644
@@ -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
package/quagga/quagga.mk +5 -0
index 2c0a6a9..55f925f 100644
@@ -32,4 +32,9 @@ QUAGGA_CONF_OPTS += --enable-snmp=agentx
 QUAGGA_DEPENDENCIES += netsnmp
 endif
 
+ifeq ($(BR2_PACKAGE_QUAGGA_VTYSH),y)
+QUAGGA_CONF_OPTS += --enable-vtysh
+QUAGGA_DEPENDENCIES += readline
+endif
+
 $(eval $(autotools-package))
Signature · 1 line
1.9.1
#1 lore raw

PATCH v2 1/1 quagga: option for vtysh

Dear Matt Weber,

Quoted 5 lines · Matt Weber

---

Changes v1 -> v2
- Added readline dependency (Suggested by Thomas P)

Applied, thanks. I've only done a minor change: add an explicit --disable-vtysh option in an else clause.

Thanks,

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com