libbsd: needs threads
authorGustavo Zacarias <gustavo@zacarias.com.ar>
Thu, 27 Jun 2013 13:53:17 +0000 (10:53 -0300)
committerPeter Korsgaard <jacmet@sunsite.dk>
Thu, 27 Jun 2013 17:04:56 +0000 (19:04 +0200)
Fixes:
http://autobuild.buildroot.net/results/397/39728c5eeb6c4e213cd96cb6639bc28f337bf214/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/libbsd/Config.in
package/libedit/Config.in

index 915a4bd98b7a65a3a8a9d25a49031f61e0a7338c..1fa94978b28f26226e8b2c83fc740f0f7ef2fb49 100644 (file)
@@ -3,6 +3,7 @@ config BR2_PACKAGE_LIBBSD
        # libbsd requires a.out.h, which is only available for those
        # architectures: arm, m68k, x86 (and alpha, but we don't care.)
        depends on ( BR2_arm || BR2_armeb || BR2_m68k || BR2_i386 || BR2_x86_64 )
+       depends on BR2_TOOLCHAIN_HAS_THREADS
        help
          This library provides useful functions commonly found on BSD
          systems, and lacking on others like GNU systems, thus making
@@ -11,3 +12,7 @@ config BR2_PACKAGE_LIBBSD
          project.
 
          http://libbsd.freedesktop.org/
+
+comment "libbsd requires a toolchain with thread support"
+       depends on ( BR2_arm || BR2_armeb || BR2_m68k || BR2_i386 || BR2_x86_64 )
+       depends on !BR2_TOOLCHAIN_HAS_THREADS
index 34160f4d2f938c7004228367b5af5b71e817f030..7a515db346cd40c0f5785f06660e63fc30d96ca0 100644 (file)
@@ -1,6 +1,7 @@
 config BR2_PACKAGE_LIBEDIT
        bool "libedit"
        depends on ( BR2_arm || BR2_armeb || BR2_m68k || BR2_i386 || BR2_x86_64 )  # libbsd
+       depends on BR2_TOOLCHAIN_HAS_THREADS # libbsd
        select BR2_PACKAGE_LIBBSD
        select BR2_PACKAGE_NCURSES
        help
@@ -8,3 +9,7 @@ config BR2_PACKAGE_LIBEDIT
          and history functions. It slightly resembles GNU readline.
 
          http://ftp.netbsd.org/pub/NetBSD/NetBSD-release-5-0/src/lib/libedit/
+
+comment "libedit requires a toolchain with thread support"
+       depends on ( BR2_arm || BR2_armeb || BR2_m68k || BR2_i386 || BR2_x86_64 ) # libbsd
+       depends on !BR2_TOOLCHAIN_HAS_THREADS # libbsd