[Buildroot] [PATCH v2 1/6] arm: update processor types

Guido Martínez guido at vanguardiasur.com.ar
Tue May 19 15:53:42 UTC 2015


On Mon, May 18, 2015 at 10:05:12PM +0200, Thomas Petazzoni wrote:
> >  config BR2_USE_MMU
> > -	bool "Enable MMU support" if BR2_arm || BR2_armeb || BR2_sh || BR2_xtensa
> > -	default y if !BR2_bfin
> > +	bool "Enable MMU support"
> > +	depends on BR2_arm || BR2_armeb || BR2_sh || BR2_xtensa
> > +	depends on !BR2_cortex_m3 && !BR2_bfin
> 
> This breaks things, because now BR2_USE_MMU is empty on architectures
> others than arm, armeb, sh and xtensa.
Ugh, stupid me.

> What we probably need is something like this:
> 
> config BR2_ARCH_MMU_OPTIONAL
> 	bool
> 
> config BR2_ARCH_MMU_MANDATORY
> 	bool
> 
> and have all ARM cores select BR2_ARCH_MMU_OPTIONAL except Cortex M3,
> SuperH and Xtensa select BR2_ARCH_MMU_OPTIONAL, all other architectures
> except Blackfin selecting BR2_ARCH_MMU_MANDATORY.
> 
> And then:
> 
> 	bool "Enable MMU support" if BR2_ARCH_MMU_OPTIONAL
> 	default y if BR2_ARCH_MMU_MANDATORY || BR2_ARCH_MMU_OPTIONAL
> 
> or something like that.
Yes, I'll work on something like that.

Sorry for the noise :(

-- 
Guido Martínez, VanguardiaSur
www.vanguardiasur.com.ar



More information about the buildroot mailing list