* [Buildroot] [PATCH v2 1/1] quagga: option for vtysh
@ 2015-03-17 23:15 Matt Weber
2015-03-20 22:21 ` Thomas Petazzoni
0 siblings, 1 reply; 2+ messages in thread
From: Matt Weber @ 2015-03-17 23:15 UTC (permalink / raw)
To: buildroot
Signed-off-by: Matthew Weber <matthew.weber@rockwellcollins.com>
---
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(+)
diff --git a/package/quagga/Config.in b/package/quagga/Config.in
index d8b10f8..4a9f8bb 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 2c0a6a9..55f925f 100644
--- a/package/quagga/quagga.mk
+++ b/package/quagga/quagga.mk
@@ -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))
--
1.9.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [Buildroot] [PATCH v2 1/1] quagga: option for vtysh
2015-03-17 23:15 [Buildroot] [PATCH v2 1/1] quagga: option for vtysh Matt Weber
@ 2015-03-20 22:21 ` Thomas Petazzoni
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2015-03-20 22:21 UTC (permalink / raw)
To: buildroot
Dear Matt Weber,
On Tue, 17 Mar 2015 18:15:43 -0500, Matt Weber wrote:
> Signed-off-by: Matthew Weber <matthew.weber@rockwellcollins.com>
> ---
>
> 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
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-03-20 22:21 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-03-17 23:15 [Buildroot] [PATCH v2 1/1] quagga: option for vtysh Matt Weber
2015-03-20 22:21 ` Thomas Petazzoni
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox