Browse Source

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).

[Peter: use dn_comp instead of __dn_comp]
Signed-off-by: Ryan Barnett <rjbarnet@rockwellcollins.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Ryan Barnett 11 years ago
parent
commit
50c33ad125
1 changed files with 4 additions and 0 deletions
  1. 4 0
      package/iputils/Config.in

+ 4 - 0
package/iputils/Config.in

@@ -2,6 +2,10 @@ config BR2_PACKAGE_IPUTILS
 	bool "iputils"
 	bool "iputils"
 	select BR2_OPENSSL if BR2_INET_IPV6
 	select BR2_OPENSSL if BR2_INET_IPV6
 	depends on BR2_USE_MMU # fork()
 	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
 	help
 	  This package is set of small useful utilities for Linux networking.
 	  This package is set of small useful utilities for Linux networking.
 	  It includes complete versions of ping, traceroute, etc.
 	  It includes complete versions of ping, traceroute, etc.