olsr: disable in musl configurations
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Wed, 26 Oct 2016 20:02:58 +0000 (22:02 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Wed, 26 Oct 2016 20:02:58 +0000 (22:02 +0200)
olsr doesn't build on musl, so let's disable it. The issue has been
reported upstream at https://github.com/OLSR/olsrd/issues/6.

Fixes:

  http://autobuild.buildroot.net/results/74cff8fc87d95d70840394fc049fc038797b9888/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/olsr/Config.in

index a49c4e0f1085a0e4c7bca136a74cf41306af1f27..2f3d024bd6df35a8b61bd8de83c801e06e178ac8 100644 (file)
@@ -3,6 +3,9 @@ config BR2_PACKAGE_OLSR
        depends on BR2_USE_MMU # fork()
        depends on BR2_TOOLCHAIN_HAS_THREADS
        depends on !BR2_STATIC_LIBS
+       # doesn't build with musl,
+       # https://github.com/OLSR/olsrd/issues/6
+       depends on !BR2_TOOLCHAIN_USES_MUSL
        help
          The Optimized Link State Routing protocol (OLSR) is a
          routing protocol that is optimised for mobile ad-hoc
@@ -13,6 +16,7 @@ config BR2_PACKAGE_OLSR
 
          http://www.olsr.org/
 
-comment "olsr needs a toolchain w/ threads, dynamic library"
+comment "olsr needs a uClibc or glibc toolchain w/ threads, dynamic library"
        depends on BR2_USE_MMU
-       depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS
+       depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS || \
+               BR2_TOOLCHAIN_USES_MUSL