libbsd: needs threads

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>
This commit is contained in:
Gustavo Zacarias 2013-06-27 10:53:17 -03:00 committed by Peter Korsgaard
parent 8db7962b1f
commit 4788dddc39
2 changed files with 10 additions and 0 deletions

View File

@ -3,6 +3,7 @@ config BR2_PACKAGE_LIBBSD
# libbsd requires a.out.h, which is only available for those # libbsd requires a.out.h, which is only available for those
# architectures: arm, m68k, x86 (and alpha, but we don't care.) # 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_arm || BR2_armeb || BR2_m68k || BR2_i386 || BR2_x86_64 )
depends on BR2_TOOLCHAIN_HAS_THREADS
help help
This library provides useful functions commonly found on BSD This library provides useful functions commonly found on BSD
systems, and lacking on others like GNU systems, thus making systems, and lacking on others like GNU systems, thus making
@ -11,3 +12,7 @@ config BR2_PACKAGE_LIBBSD
project. project.
http://libbsd.freedesktop.org/ 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

View File

@ -1,6 +1,7 @@
config BR2_PACKAGE_LIBEDIT config BR2_PACKAGE_LIBEDIT
bool "libedit" bool "libedit"
depends on ( BR2_arm || BR2_armeb || BR2_m68k || BR2_i386 || BR2_x86_64 ) # libbsd 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_LIBBSD
select BR2_PACKAGE_NCURSES select BR2_PACKAGE_NCURSES
help help
@ -8,3 +9,7 @@ config BR2_PACKAGE_LIBEDIT
and history functions. It slightly resembles GNU readline. and history functions. It slightly resembles GNU readline.
http://ftp.netbsd.org/pub/NetBSD/NetBSD-release-5-0/src/lib/libedit/ 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