# 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
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
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
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