Commit d879be3049
(package/libbsd: enable for non-glibc toolchains)
implicitly enabled libbsd for the uClibc only architectures xtensa and
blackfin. But libbsd does not support these architectures, since its
local-elf.h header lacks the required target specific definitions.
Fixes:
http://autobuild.buildroot.net/results/ff1/ff1a52a53bed43cda9e235081a61b352e6e07aa1/
http://autobuild.buildroot.net/results/b13/b13c2f248f277c72b5d266208f991f34474cea14/
http://autobuild.buildroot.net/results/182/182356701c2110a014c9d6c8d9f18a6efeb26e70/
Cc: Yann E. MORIN <yann.morin.1998@free.fr>
Cc: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
26 lines
783 B
Plaintext
26 lines
783 B
Plaintext
config BR2_PACKAGE_LIBBSD_ARCH_SUPPORTS
|
|
bool
|
|
default y
|
|
# libbsd does not support those architectures (see src/local-elf.h)
|
|
depends on !BR2_microblaze
|
|
depends on !BR2_arc
|
|
depends on !BR2_xtensa
|
|
depends on !BR2_bfin
|
|
|
|
config BR2_PACKAGE_LIBBSD
|
|
bool "libbsd"
|
|
depends on BR2_PACKAGE_LIBBSD_ARCH_SUPPORTS
|
|
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
|
|
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/
|
|
|
|
comment "libbsd needs a toolchain w/ threads"
|
|
depends on BR2_PACKAGE_LIBBSD_ARCH_SUPPORTS
|
|
depends on !BR2_TOOLCHAIN_HAS_THREADS
|