|
@@ -9,6 +9,8 @@ config BR2_PACKAGE_LIBBSD_ARCH_SUPPORTS
|
|
|
config BR2_PACKAGE_LIBBSD
|
|
|
bool "libbsd"
|
|
|
depends on BR2_PACKAGE_LIBBSD_ARCH_SUPPORTS
|
|
|
+ # uClibc on noMMU doesn't provide __register_atfork()
|
|
|
+ depends on !(BR2_TOOLCHAIN_USES_UCLIBC && !BR2_USE_MMU)
|
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS
|
|
|
depends on BR2_USE_WCHAR
|
|
|
help
|
|
@@ -22,4 +24,5 @@ config BR2_PACKAGE_LIBBSD
|
|
|
|
|
|
comment "libbsd needs a toolchain w/ threads, wchar"
|
|
|
depends on BR2_PACKAGE_LIBBSD_ARCH_SUPPORTS
|
|
|
+ depends on BR2_TOOLCHAIN_USES_UCLIBC && !BR2_USE_MMU
|
|
|
depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_USE_WCHAR
|