iputils: disable on older uclibc versions
authorRyan Barnett <ryanbarnett3@gmail.com>
Sat, 22 Feb 2014 20:49:00 +0000 (21:49 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Sat, 22 Feb 2014 21:00:32 +0000 (22:00 +0100)
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>
package/iputils/Config.in

index d4d282949faac3edffb5bf0d9bdd3a46e33c0c7b..e7bb3d967747d4b4514003cea994dff53bd425f0 100644 (file)
@@ -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.