@@ -6,7 +6,7 @@ config BR2_PACKAGE_ECRYPTFS_UTILS
depends on !BR2_avr32 && !BR2_microblaze # keyutils
depends on BR2_LARGEFILE # libnss
depends on BR2_TOOLCHAIN_HAS_THREADS # libnss -> libnspr
- depends on !BR2_arc # libnss -> libnspr
+ depends on BR2_PACKAGE_LIBNSPR_ARCH_SUPPORT # libnss -> libnspr
help
eCryptfs is a POSIX-compliant enterprise cryptographic
filesystem for Linux. It is stacked on top of any other
@@ -1,8 +1,12 @@
+config BR2_PACKAGE_LIBNSPR_ARCH_SUPPORT
+ def_bool y
+ depends on !BR2_arc && !BR2_xtensa && !BR2_bfin
+
config BR2_PACKAGE_LIBNSPR
bool "libnspr"
depends on BR2_LARGEFILE
depends on BR2_TOOLCHAIN_HAS_THREADS
- depends on !BR2_arc
+ depends on BR2_PACKAGE_LIBNSPR_ARCH_SUPPORT
help
NSPR is the Netscape Portable Runtime library which provides
a platform-neutral API for system level and libc like
@@ -12,5 +16,5 @@ config BR2_PACKAGE_LIBNSPR
http://www.mozilla.org/projects/nspr/
comment "libnspr needs a toolchain w/ largefile, threads"
- depends on !BR2_arc
+ depends on BR2_PACKAGE_LIBNSPR_ARCH_SUPPORT
depends on !BR2_LARGEFILE || !BR2_TOOLCHAIN_HAS_THREADS
@@ -5,7 +5,7 @@ config BR2_PACKAGE_LIBNSS
select BR2_PACKAGE_ZLIB
depends on BR2_LARGEFILE
depends on BR2_TOOLCHAIN_HAS_THREADS # libnspr
- depends on !BR2_arc # libnspr
+ depends on BR2_PACKAGE_LIBNSPR_ARCH_SUPPORT # libnspr
help
Network Security Services (NSS) is a set of libraries designed
to support development of security-enabled client and server
@@ -16,6 +16,6 @@ config BR2_PACKAGE_LIBNSS
http://www.mozilla.org/projects/security/pki/nss/
comment "libnss needs a toolchain w/ largefile, threads"
- depends on !BR2_arc
+ depends on BR2_PACKAGE_LIBNSPR_ARCH_SUPPORT
depends on !BR2_LARGEFILE || !BR2_TOOLCHAIN_HAS_THREADS