Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] czmq: needs MMU
@ 2014-05-05  3:58 Baruch Siach
  2014-05-05  6:45 ` Peter Korsgaard
  2014-05-05  8:33 ` Mike Zick
  0 siblings, 2 replies; 4+ messages in thread
From: Baruch Siach @ 2014-05-05  3:58 UTC (permalink / raw)
  To: buildroot

Fixes:
http://autobuild.buildroot.net/results/6dd/6dd6954e5ab8c422070e53b0e616e1b1a821c626/

Also, remove the Blackfin toolchain dependencies as these are redundant now
since Blackfin is a noMMU arch.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
---
 package/czmq/Config.in | 8 ++------
 1 file changed, 2 insertions(+), 6 deletions(-)

diff --git a/package/czmq/Config.in b/package/czmq/Config.in
index 29333680fd61..fbdedd1bec2f 100644
--- a/package/czmq/Config.in
+++ b/package/czmq/Config.in
@@ -1,22 +1,18 @@
 config BR2_PACKAGE_CZMQ
 	bool "czmq"
 	select BR2_PACKAGE_ZEROMQ
+	depends on BR2_USE_MMU # fork()
 	depends on BR2_INSTALL_LIBSTDCPP # zeromq
 	depends on BR2_INET_IPV6 # zeromq
 	depends on BR2_LARGEFILE # util-linux
 	depends on BR2_USE_WCHAR # util-linux
 	depends on BR2_TOOLCHAIN_HAS_THREADS # zeromq
-	# uClibc toolchains provided by ADI don't have AI_ADDRCONFIG
-	# support
-	depends on !BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2012R2 && \
-		!BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2012R1
 	help
 	  High-level C Binding for 0MQ
 
 	  http://czmq.zeromq.org/
 
 comment "czmq needs a toolchain w/ C++, IPv6, largefile, wchar, threads"
-	depends on !BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2012R2 && \
-		!BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2012R1
+	depends on BR2_USE_MMU
 	depends on !(BR2_INSTALL_LIBSTDCPP && BR2_INET_IPV6 && BR2_LARGEFILE \
 		&& BR2_USE_WCHAR && BR2_TOOLCHAIN_HAS_THREADS)
-- 
2.0.0.rc0

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

* [Buildroot] [PATCH] czmq: needs MMU
  2014-05-05  3:58 [Buildroot] [PATCH] czmq: needs MMU Baruch Siach
@ 2014-05-05  6:45 ` Peter Korsgaard
  2014-05-05  8:33 ` Mike Zick
  1 sibling, 0 replies; 4+ messages in thread
From: Peter Korsgaard @ 2014-05-05  6:45 UTC (permalink / raw)
  To: buildroot

>>>>> "Baruch" == Baruch Siach <baruch@tkos.co.il> writes:

 > Fixes:
 > http://autobuild.buildroot.net/results/6dd/6dd6954e5ab8c422070e53b0e616e1b1a821c626/

 > Also, remove the Blackfin toolchain dependencies as these are redundant now
 > since Blackfin is a noMMU arch.

You forgot its reverse dependencies (filemq). Committed with that fixed,
thanks.

-- 
Bye, Peter Korsgaard

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

* [Buildroot] [PATCH] czmq: needs MMU
  2014-05-05  3:58 [Buildroot] [PATCH] czmq: needs MMU Baruch Siach
  2014-05-05  6:45 ` Peter Korsgaard
@ 2014-05-05  8:33 ` Mike Zick
  2014-05-05  8:41   ` Baruch Siach
  1 sibling, 1 reply; 4+ messages in thread
From: Mike Zick @ 2014-05-05  8:33 UTC (permalink / raw)
  To: buildroot

On Mon,  5 May 2014 06:58:03 +0300
Baruch Siach <baruch@tkos.co.il> wrote:

>  config BR2_PACKAGE_CZMQ
>  	bool "czmq"
>  	select BR2_PACKAGE_ZEROMQ
> +	depends on BR2_USE_MMU # fork()

  ^ ^ ^ ^
>  	depends on BR2_INSTALL_LIBSTDCPP # zeromq
>  	depends on BR2_INET_IPV6 # zeromq
>  	depends on BR2_LARGEFILE # util-linux
>  	depends on BR2_USE_WCHAR # util-linux
>  	depends on BR2_TOOLCHAIN_HAS_THREADS # zeromq
> -	# uClibc toolchains provided by ADI don't have AI_ADDRCONFIG
> -	# support
> -	depends on !BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2012R2
> && \
> -		!BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2012R1
>  	help
>  	  High-level C Binding for 0MQ
>  
>  	  http://czmq.zeromq.org/
>  
>  comment "czmq needs a toolchain w/ C++, IPv6, largefile, wchar,
> threads"
> -	depends on !BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2012R2
> && \
> -		!BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2012R1
> +	depends on BR2_USE_MMU

  ^ ^ ^ ^
>  	depends on !(BR2_INSTALL_LIBSTDCPP && BR2_INET_IPV6 &&
> BR2_LARGEFILE \ && BR2_USE_WCHAR && BR2_TOOLCHAIN_HAS_THREADS)
>

Shouldn't the option and the comment have opposite conditions?
I.E: Either display the option or the comment?

Mike

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

* [Buildroot] [PATCH] czmq: needs MMU
  2014-05-05  8:33 ` Mike Zick
@ 2014-05-05  8:41   ` Baruch Siach
  0 siblings, 0 replies; 4+ messages in thread
From: Baruch Siach @ 2014-05-05  8:41 UTC (permalink / raw)
  To: buildroot

Hi Mike,

On Mon, May 05, 2014 at 03:33:09AM -0500, Mike Zick wrote:
> On Mon,  5 May 2014 06:58:03 +0300
> Baruch Siach <baruch@tkos.co.il> wrote:
> 
> >  config BR2_PACKAGE_CZMQ
> >  	bool "czmq"
> >  	select BR2_PACKAGE_ZEROMQ
> > +	depends on BR2_USE_MMU # fork()
> 
>   ^ ^ ^ ^
> >  	depends on BR2_INSTALL_LIBSTDCPP # zeromq
> >  	depends on BR2_INET_IPV6 # zeromq
> >  	depends on BR2_LARGEFILE # util-linux
> >  	depends on BR2_USE_WCHAR # util-linux
> >  	depends on BR2_TOOLCHAIN_HAS_THREADS # zeromq
> > -	# uClibc toolchains provided by ADI don't have AI_ADDRCONFIG
> > -	# support
> > -	depends on !BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2012R2
> > && \
> > -		!BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2012R1
> >  	help
> >  	  High-level C Binding for 0MQ
> >  
> >  	  http://czmq.zeromq.org/
> >  
> >  comment "czmq needs a toolchain w/ C++, IPv6, largefile, wchar,
> > threads"
> > -	depends on !BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2012R2
> > && \
> > -		!BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2012R1
> > +	depends on BR2_USE_MMU
> 
>   ^ ^ ^ ^
> >  	depends on !(BR2_INSTALL_LIBSTDCPP && BR2_INET_IPV6 &&
> > BR2_LARGEFILE \ && BR2_USE_WCHAR && BR2_TOOLCHAIN_HAS_THREADS)
> >
> 
> Shouldn't the option and the comment have opposite conditions?
> I.E: Either display the option or the comment?

MMU is usually an attribute of the CPU architecture, and not a software 
configuration issue. In this case we don't show the software dependencies 
comment since the user can't do much about the CPU architecture of choice in 
the context of Buildroot. See 
http://buildroot.net/downloads/manual/manual.html#_literal_config_in_literal_file, 
under "Dependencies on target and toolchain options".

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

end of thread, other threads:[~2014-05-05  8:41 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-05  3:58 [Buildroot] [PATCH] czmq: needs MMU Baruch Siach
2014-05-05  6:45 ` Peter Korsgaard
2014-05-05  8:33 ` Mike Zick
2014-05-05  8:41   ` Baruch Siach

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