diff mbox

[1/1] iputils: disable on older uclibc versions

Message ID 1393102140-5880-1-git-send-email-rjbarnet@rockwellcollins.com
State Accepted
Headers show

Commit Message

Ryan Barnett Feb. 22, 2014, 8:49 p.m. UTC
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).

Signed-off-by: Ryan Barnett <rjbarnet@rockwellcollins.com>
---
 package/iputils/Config.in | 4 ++++
 1 file changed, 4 insertions(+)

Comments

Peter Korsgaard Feb. 22, 2014, 9:01 p.m. UTC | #1
>>>>> "Ryan" == Ryan Barnett <ryanbarnett3@gmail.com> 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.
diff mbox

Patch

diff --git a/package/iputils/Config.in b/package/iputils/Config.in
index d4d2829..b24f34f 100644
--- a/package/iputils/Config.in
+++ b/package/iputils/Config.in
@@ -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.