quagga: fix non-IPv6 build failures

The Zebra daemon now requires IPv6 support so disable it for non-IPv6
toolchains and add a comment mentioning it.
The BABEL protocol/daemon also requires IPv6 so just enable it when it's
available.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
Gustavo Zacarias 2012-06-02 06:27:45 +00:00 committed by Peter Korsgaard
parent 48189d9500
commit 4991fbbdb4

View File

@ -10,11 +10,16 @@ if BR2_PACKAGE_QUAGGA
config BR2_PACKAGE_QUAGGA_ZEBRA config BR2_PACKAGE_QUAGGA_ZEBRA
bool "zebra daemon" bool "zebra daemon"
depends on BR2_INET_IPV6
help help
Build zebra daemon. Build zebra daemon.
comment "Zebra daemon requires a toolchain with IPV6 support"
depends on BR2_PACKAGE_QUAGGA && !BR2_INET_IPV6
config BR2_PACKAGE_QUAGGA_TCP_ZEBRA config BR2_PACKAGE_QUAGGA_TCP_ZEBRA
bool "Use TCP sockets between zebra and protocol daemons" bool "Use TCP sockets between zebra and protocol daemons"
depends on BR2_PACKAGE_QUAGGA_ZEBRA
help help
Use a TCP socket to communicate between zebra (supervisor) and Use a TCP socket to communicate between zebra (supervisor) and
the different protocol daemons. the different protocol daemons.
@ -24,6 +29,7 @@ config BR2_PACKAGE_QUAGGA_TCP_ZEBRA
config BR2_PACKAGE_QUAGGA_BABELD config BR2_PACKAGE_QUAGGA_BABELD
bool "BABEL protocol" bool "BABEL protocol"
depends on BR2_INET_IPV6
help help
Build babeld daemon. Build babeld daemon.