Skip to contentSkip to conversation

iputils: disable on older uclibc versions

PATCH New Ryan Barnett 2 participants 2 messages Feb 22, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 iputils: disable on older uclibc versions

Disable when using a uclibc version before 0.9.33 since __dn_comp function support was added in this version. Also disabling on AVR32 since any AVR32 toolchain will be based on a uclibc version older than 0.9.33 (for using an external AVR32 toolchain).

---
 package/iputils/Config.in | 4 ++++
 1 file changed, 4 insertions(+)
package/iputils/Config.in +4 -0
index d4d2829..b24f34f 100644
@@ -2,6 +2,10 @@ config BR2_PACKAGE_IPUTILS
 	bool "iputils"
 	select BR2_OPENSSL if BR2_INET_IPV6
 	depends on BR2_USE_MMU # fork()
+	# requires __dn_comp (only available in since uclibc 0.9.33)
+	depends on !BR2_avr32
+	depends on !BR2_UCLIBC_VERSION_0_9_31 && \
+		!BR2_UCLIBC_VERSION_0_9_32
 	help
 	  This package is set of small useful utilities for Linux networking.
 	  It includes complete versions of ping, traceroute, etc.
Signature · 1 line
1.8.3.2
#1 lore raw

PATCH 1/1 iputils: disable on older uclibc versions

Quoted 6 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Ryan" == Ryan Barnett <[email protected]> writes:

Disable when using a uclibc version before 0.9.33 since __dn_comp function support was added in this version. Also disabling on AVR32 since any AVR32 toolchain will be based on a uclibc version older than 0.9.33 (for using an external AVR32 toolchain).

I believe the public symbol is dn_comp (which internally gets defined to __dn_comp in glibc/uClibc for some reason), so I've changed the commit message and comment to use that instead.

Committed with that fixed, thanks.

Signature · 1 line
Bye, Peter Korsgaard