[Buildroot] [PATCH] czmq: needs MMU

Baruch Siach baruch at tkos.co.il
Mon May 5 08:41:14 UTC 2014


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 at 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 -


More information about the buildroot mailing list