2014-10-05 21:47:52 +02:00
|
|
|
config BR2_PACKAGE_LIBBSD_ARCH_SUPPORTS
|
|
|
|
bool
|
|
|
|
# libbsd requires a.out.h, which is only available for those
|
|
|
|
# architectures: arm, x86 (and alpha, currently not supported in Buildroot;
|
|
|
|
# also m68k which is currently not enabled, so can't be tested.)
|
|
|
|
default y if BR2_arm || BR2_i386 || BR2_x86_64
|
|
|
|
|
2013-05-09 14:22:55 +02:00
|
|
|
config BR2_PACKAGE_LIBBSD
|
|
|
|
bool "libbsd"
|
2014-10-05 21:47:52 +02:00
|
|
|
depends on BR2_PACKAGE_LIBBSD_ARCH_SUPPORTS
|
2013-06-27 15:53:17 +02:00
|
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS
|
2014-06-09 12:26:21 +02:00
|
|
|
depends on BR2_TOOLCHAIN_USES_GLIBC
|
2013-05-09 14:22:55 +02:00
|
|
|
help
|
|
|
|
This library provides useful functions commonly found on BSD
|
|
|
|
systems, and lacking on others like GNU systems, thus making
|
|
|
|
it easier to port projects with strong BSD origins, without
|
|
|
|
needing to embed the same code over and over again on each
|
|
|
|
project.
|
|
|
|
|
|
|
|
http://libbsd.freedesktop.org/
|
2013-06-27 15:53:17 +02:00
|
|
|
|
2014-06-09 12:26:21 +02:00
|
|
|
comment "libbsd needs an (e)glibc toolchain w/ threads"
|
2014-10-05 21:47:52 +02:00
|
|
|
depends on BR2_PACKAGE_LIBBSD_ARCH_SUPPORTS
|
2014-06-09 12:26:21 +02:00
|
|
|
depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_TOOLCHAIN_USES_GLIBC
|