summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGustavo Zacarias <gustavo@zacarias.com.ar>2012-06-02 06:27:45 (GMT)
committer Peter Korsgaard <jacmet@sunsite.dk>2012-06-04 21:34:49 (GMT)
commit4991fbbdb4aef7f5a7bf22a62872b8b59163102a (patch)
tree1b5073d304b4f7b74deddfc4e4ea59a6f3ced044
parent48189d95001c41969ffddad427aaf73a9b57bc15 (diff)
downloadbuildroot-4991fbbdb4aef7f5a7bf22a62872b8b59163102a.tar.gz
buildroot-4991fbbdb4aef7f5a7bf22a62872b8b59163102a.tar.bz2
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>
-rw-r--r--package/quagga/Config.in6
1 files changed, 6 insertions, 0 deletions
diff --git a/package/quagga/Config.in b/package/quagga/Config.in
index 5a01863..0834201 100644
--- a/package/quagga/Config.in
+++ b/package/quagga/Config.in
@@ -10,11 +10,16 @@ if BR2_PACKAGE_QUAGGA
config BR2_PACKAGE_QUAGGA_ZEBRA
bool "zebra daemon"
+ depends on BR2_INET_IPV6
help
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
bool "Use TCP sockets between zebra and protocol daemons"
+ depends on BR2_PACKAGE_QUAGGA_ZEBRA
help
Use a TCP socket to communicate between zebra (supervisor) and
the different protocol daemons.
@@ -24,6 +29,7 @@ config BR2_PACKAGE_QUAGGA_TCP_ZEBRA
config BR2_PACKAGE_QUAGGA_BABELD
bool "BABEL protocol"
+ depends on BR2_INET_IPV6
help
Build babeld daemon.