libnspr: Add dependency on !BR2_xtensa and !BR2_bfin
authorChris Zankel <chris@zankel.net>
Wed, 27 Nov 2013 15:48:39 +0000 (17:48 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Thu, 28 Nov 2013 22:29:47 +0000 (23:29 +0100)
Xtensa is not yet supported in libnspr. Also add dependencies to libnss,
which requires libnspr, and ecryptfs-utils, which requires libnss.

Fixes (xtensa)
http://autobuild.buildroot.net/results/14b/14ba6426edbffa100de924aa69157b3f59368ff2/

Fixes (blackfin)
http://autobuild.buildroot.net/results/dd3/dd353703ed94cec48cd126d80cd2f1b039811be4/

[baruch: fix summary, add autobuild reference, add comment dependency,
 add blackfin]

Signed-off-by: Chris Zankel <chris@zankel.net>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/ecryptfs-utils/Config.in
package/libnspr/Config.in
package/libnss/Config.in

index 480aeddc9b8fbafe9d3b78fd233e2d095aafed7c..4b34e0f7f6554c631a85b8724a5535a9ec319a4c 100644 (file)
@@ -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
index 4ef3a518ee5d41c30a217d7c05ebbd4c3f83a63a..1d732873d71711589e88e9f9c41901205fd5f53f 100644 (file)
@@ -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
index 88b1fde2909bcfea87ef8d42b5f54d077c462a43..77128f6f6bc0cef9295431eb31df6303a7de176b 100644 (file)
@@ -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