Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH v2] libnspr: Add dependency on !BR2_xtensa
@ 2013-11-27  5:29 Baruch Siach
  2013-11-27  8:27 ` Thomas Petazzoni
  0 siblings, 1 reply; 4+ messages in thread
From: Baruch Siach @ 2013-11-27  5:29 UTC (permalink / raw)
  To: buildroot

From: Chris Zankel <chris@zankel.net>

Xtensa is not yet supported in libnspr. Also add dependencies to libnss,
which requires libnspr, and ecryptfs-utils, which requires libnss.

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

[baruch: fix summary, add autobuild referench, add comment dependency]

Signed-off-by: Chris Zankel <chris@zankel.net>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
---
 package/ecryptfs-utils/Config.in | 2 +-
 package/libnspr/Config.in        | 4 ++--
 package/libnss/Config.in         | 4 ++--
 3 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/package/ecryptfs-utils/Config.in b/package/ecryptfs-utils/Config.in
index 480aedd..4d00069 100644
--- a/package/ecryptfs-utils/Config.in
+++ b/package/ecryptfs-utils/Config.in
@@ -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_arc && !BR2_xtensa # libnss -> libnspr
 	help
 	  eCryptfs is a POSIX-compliant enterprise cryptographic
 	  filesystem for Linux. It is stacked on top of any other
diff --git a/package/libnspr/Config.in b/package/libnspr/Config.in
index 4ef3a51..a44bf8a 100644
--- a/package/libnspr/Config.in
+++ b/package/libnspr/Config.in
@@ -2,7 +2,7 @@ config BR2_PACKAGE_LIBNSPR
 	bool "libnspr"
 	depends on BR2_LARGEFILE
 	depends on BR2_TOOLCHAIN_HAS_THREADS
-	depends on !BR2_arc
+	depends on !BR2_arc && !BR2_xtensa
 	help
 	  NSPR is the Netscape Portable Runtime library which provides
 	  a platform-neutral API for system level and libc like
@@ -12,5 +12,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_arc && !BR2_xtensa
 	depends on !BR2_LARGEFILE || !BR2_TOOLCHAIN_HAS_THREADS
diff --git a/package/libnss/Config.in b/package/libnss/Config.in
index 88b1fde..f0c90ed 100644
--- a/package/libnss/Config.in
+++ b/package/libnss/Config.in
@@ -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_arc && !BR2_xtensa # 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_arc && !BR2_xtensa
 	depends on !BR2_LARGEFILE || !BR2_TOOLCHAIN_HAS_THREADS
 
-- 
1.8.4.3

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [Buildroot] [PATCH v2] libnspr: Add dependency on !BR2_xtensa
  2013-11-27  5:29 [Buildroot] [PATCH v2] libnspr: Add dependency on !BR2_xtensa Baruch Siach
@ 2013-11-27  8:27 ` Thomas Petazzoni
  2013-11-27  9:02   ` Baruch Siach
  0 siblings, 1 reply; 4+ messages in thread
From: Thomas Petazzoni @ 2013-11-27  8:27 UTC (permalink / raw)
  To: buildroot

Dear Baruch Siach,

On Wed, 27 Nov 2013 07:29:24 +0200, Baruch Siach wrote:
> From: Chris Zankel <chris@zankel.net>
> 
> Xtensa is not yet supported in libnspr. Also add dependencies to
> libnss, which requires libnspr, and ecryptfs-utils, which requires
> libnss.
> 
> Fixes
> http://autobuild.buildroot.net/results/14b/14ba6426edbffa100de924aa69157b3f59368ff2/
> 
> [baruch: fix summary, add autobuild referench, add comment dependency]
> 
> Signed-off-by: Chris Zankel <chris@zankel.net>
> Signed-off-by: Baruch Siach <baruch@tkos.co.il>

Thanks! However, I wonder if it's not actually easier to include a
patch to libnspr to add Xtensa support. See
http://patchwork.ozlabs.org/patch/291080/ for a patch that adds NIOS2
support, for example.

That being said, I'm fine with having libnspr disabled on Xtensa, as I
don't believe that many people will care about
libnspr/libnss/ecryptfs-utils.

Best regards,

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Buildroot] [PATCH v2] libnspr: Add dependency on !BR2_xtensa
  2013-11-27  8:27 ` Thomas Petazzoni
@ 2013-11-27  9:02   ` Baruch Siach
  2013-11-27  9:08     ` Thomas Petazzoni
  0 siblings, 1 reply; 4+ messages in thread
From: Baruch Siach @ 2013-11-27  9:02 UTC (permalink / raw)
  To: buildroot

Hi Thomas,

On Wed, Nov 27, 2013 at 09:27:20AM +0100, Thomas Petazzoni wrote:
> On Wed, 27 Nov 2013 07:29:24 +0200, Baruch Siach wrote:
> > From: Chris Zankel <chris@zankel.net>
> > 
> > Xtensa is not yet supported in libnspr. Also add dependencies to
> > libnss, which requires libnspr, and ecryptfs-utils, which requires
> > libnss.
> > 
> > Fixes
> > http://autobuild.buildroot.net/results/14b/14ba6426edbffa100de924aa69157b3f59368ff2/
> > 
> > [baruch: fix summary, add autobuild referench, add comment dependency]
> > 
> > Signed-off-by: Chris Zankel <chris@zankel.net>
> > Signed-off-by: Baruch Siach <baruch@tkos.co.il>
> 
> Thanks! However, I wonder if it's not actually easier to include a
> patch to libnspr to add Xtensa support. See
> http://patchwork.ozlabs.org/patch/291080/ for a patch that adds NIOS2
> support, for example.

That would obviously be better, but I can't properly test a patch adding 
libnspr xtensa support at the moment. Note that xtensa has BE and LE variants, 
so it's a little more involved that the nios patch.

> That being said, I'm fine with having libnspr disabled on Xtensa, as I
> don't believe that many people will care about
> libnspr/libnss/ecryptfs-utils.

It seems like blackfin needs the same treatment 
(http://autobuild.buildroot.net/results/dd353703ed94cec48cd126d80cd2f1b039811be4/).

baruch

-- 
     http://baruch.siach.name/blog/                  ~. .~   Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
   - baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Buildroot] [PATCH v2] libnspr: Add dependency on !BR2_xtensa
  2013-11-27  9:02   ` Baruch Siach
@ 2013-11-27  9:08     ` Thomas Petazzoni
  0 siblings, 0 replies; 4+ messages in thread
From: Thomas Petazzoni @ 2013-11-27  9:08 UTC (permalink / raw)
  To: buildroot

Dear Baruch Siach,

On Wed, 27 Nov 2013 11:02:15 +0200, Baruch Siach wrote:

> > Thanks! However, I wonder if it's not actually easier to include a
> > patch to libnspr to add Xtensa support. See
> > http://patchwork.ozlabs.org/patch/291080/ for a patch that adds
> > NIOS2 support, for example.
> 
> That would obviously be better, but I can't properly test a patch
> adding libnspr xtensa support at the moment. Note that xtensa has BE
> and LE variants, so it's a little more involved that the nios patch.
> 
> > That being said, I'm fine with having libnspr disabled on Xtensa,
> > as I don't believe that many people will care about
> > libnspr/libnss/ecryptfs-utils.
> 
> It seems like blackfin needs the same treatment 
> (http://autobuild.buildroot.net/results/dd353703ed94cec48cd126d80cd2f1b039811be4/).

Ok, then maybe we want something similar to what I've done for Qt:
http://git.buildroot.net/buildroot/commit/package/qt?id=01f99d284fd51bd149e7a92d0e9e7fc368cd0e99.
So a BR2_PACKAGE_LIBNSPR_ARCH_SUPPORTED hidden kconfig knob that is
only enabled for those architectures that support nspr. Therefore, when
we need to change which architectures are supported by nspr, we don't
have to go edit all the reverse dependencies of nspr.

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-11-27  9:08 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-27  5:29 [Buildroot] [PATCH v2] libnspr: Add dependency on !BR2_xtensa Baruch Siach
2013-11-27  8:27 ` Thomas Petazzoni
2013-11-27  9:02   ` Baruch Siach
2013-11-27  9:08     ` Thomas Petazzoni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox