Skip to contentSkip to conversation

quagga: fix non-IPv6 build failures

PATCH New Gustavo Zacarias 2 participants 2 messages Jun 2, 2012 – Jun 4, 2012

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 package/quagga/Config.in |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)
package/quagga/Config.in +6 -0
index 5a01863..0834201 100644
@@ -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.
 
Signature · 1 line
1.7.3.4
#1 lore raw

PATCH 1/1 quagga: fix non-IPv6 build failures

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Gustavo" == Gustavo Zacarias <[email protected]> writes:

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

Committed, thanks.

Signature · 1 line
Bye, Peter Korsgaard