quagga: option for vtysh
[Thomas: add corresponding explicit --disable option.] Signed-off-by: Matthew Weber <matthew.weber@rockwellcollins.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
parent
c99144b317
commit
92e8d431f5
|
@ -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
|
||||
|
|
|
@ -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))
|
||||
|
|
Loading…
Reference in a new issue