2014-10-05 21:47:52 +02:00
|
|
|
config BR2_PACKAGE_LIBBSD_ARCH_SUPPORTS
|
|
|
|
bool
|
2017-10-29 18:00:41 +01:00
|
|
|
default y
|
|
|
|
# libbsd does not support those architectures (see src/local-elf.h)
|
|
|
|
depends on !BR2_microblaze
|
|
|
|
depends on !BR2_arc
|
2018-04-03 07:25:37 +02:00
|
|
|
depends on !BR2_xtensa
|
2018-12-03 22:03:20 +01:00
|
|
|
# uClibc on noMMU doesn't provide __register_atfork()
|
|
|
|
depends on !(BR2_TOOLCHAIN_USES_UCLIBC && !BR2_USE_MMU)
|
2014-10-05 21:47:52 +02:00
|
|
|
|
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
|
2018-04-03 22:20:15 +02:00
|
|
|
depends on BR2_USE_WCHAR
|
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
|
|
|
|
2018-04-03 22:20:15 +02:00
|
|
|
comment "libbsd needs a toolchain w/ threads, wchar"
|
2014-10-05 21:47:52 +02:00
|
|
|
depends on BR2_PACKAGE_LIBBSD_ARCH_SUPPORTS
|
2018-04-03 22:20:15 +02:00
|
|
|
depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_USE_WCHAR
|