Skip to contentSkip to conversation

libnspr: Add dependency on !BR2_xtensa and !BR2_bfin

PATCH New Baruch Siach 2 participants 3 messages Nov 27, 2013 – Nov 28, 2013

lore
Share & tools
lore
#0 lore raw

PATCH v3 1/2 libnspr: Add dependency on !BR2_xtensa and !BR2_bfin

From: Chris Zankel <[email protected]>

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]

---

v3:
Move the list of arch dependencies to a separate config symbol to reduce the churn when arch dependencies changes (Thomas Petazzoni)

Add blackfin to the not-supported list

---
 package/ecryptfs-utils/Config.in | 2 +-
 package/libnspr/Config.in        | 8 ++++++--
 package/libnss/Config.in         | 4 ++--
 3 files changed, 9 insertions(+), 5 deletions(-)
package/ecryptfs-utils/Config.in +1 -1
index 480aedd..4b34e0f 100644
@@ -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
package/libnspr/Config.in +6 -2
index 4ef3a51..1d73287 100644
@@ -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
package/libnss/Config.in +2 -2
index 88b1fde..77128f6 100644
@@ -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
 
Signature · 1 line
1.8.4.3
#1 lore raw

PATCH v3 2/2 ecryptfs-utils: add a dependencies comment

---

v3: depend on BR2_PACKAGE_LIBNSPR_ARCH_SUPPORT for libnspr arch dependencies

---
 package/ecryptfs-utils/Config.in | 6 ++++++
 1 file changed, 6 insertions(+)
package/ecryptfs-utils/Config.in +6 -0
index 4b34e0f..62cf6c8 100644
@@ -21,3 +21,9 @@ config BR2_PACKAGE_ECRYPTFS_UTILS
 	  for another method.
 
 	  http://ecryptfs.org
+
+comment "ecryptfs-utils needs a toolchain w/ largefile, threads"
+	depends on !BR2_avr32 && !BR2_microblaze
+	depends on BR2_PACKAGE_LIBNSPR_ARCH_SUPPORT
+	depends on BR2_USE_MMU
+	depends on !BR2_LARGEFILE || !BR2_TOOLCHAIN_HAS_THREADS
Signature · 1 line
1.8.4.3
#2 lore raw

PATCH v3 1/2 libnspr: Add dependency on !BR2_xtensa and !BR2_bfin

In reply to Baruch Siach
Quoted 17 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Baruch" == Baruch Siach <[email protected]> writes:

From: Chris Zankel <[email protected]>
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]

Quoted 7 lines

---

v3:
Move the list of arch dependencies to a separate config symbol to reduce the churn when arch dependencies changes (Thomas Petazzoni)

Add blackfin to the not-supported list

Committed both, thanks.

Signature · 1 line
Bye, Peter Korsgaard