kumquat-buildroot/package/libbsd/Config.in
Fabrice Fontaine 2261eb3a36 package/libbsd: fix display of Config.in comment
Commit e13855c48f wrongly added
depends on BR2_TOOLCHAIN_USES_UCLIBC && !BR2_USE_MMU
to display the comment "libbsd needs a toolchain w/ threads, wchar"
The same error has also been made for minizip.

To fix this issue, move dependency
!(BR2_TOOLCHAIN_USES_UCLIBC && !BR2_USE_MMU) under
BR2_PACKAGE_LIBBSD_ARCH_SUPPORTS.

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2018-12-03 22:28:38 +01:00

28 lines
924 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
# uClibc on noMMU doesn't provide __register_atfork()
depends on !(BR2_TOOLCHAIN_USES_UCLIBC && !BR2_USE_MMU)
config BR2_PACKAGE_LIBBSD
bool "libbsd"
depends on BR2_PACKAGE_LIBBSD_ARCH_SUPPORTS
depends on BR2_TOOLCHAIN_HAS_THREADS
depends on BR2_USE_WCHAR
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, wchar"
depends on BR2_PACKAGE_LIBBSD_ARCH_SUPPORTS
depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_USE_WCHAR