Re: [PATCH 7/9] omap2plus: ensure that one of omap2/3/4 is selected

Arnd Bergmann
2012-03-23T17:38:05Z

On Friday 23 March 2012, Tony Lindgren wrote:
> >
> > +config ARCH_OMAP2_AUTO
> > + bool
> > + depends on !ARCH_OMAP3 && !ARCH_OMAP4
> > + select ARCH_OMAP2
> > + default y
> > + help
> > + At least one of OMAP2/OMAP3/OMAP4 needs to be enabled, this
> > + selects OMAP2 if nothing else gets selected, to avoid non-building
> > + configurations.
> > +
> > comment "OMAP Core Type"
> > depends on ARCH_OMAP2
>
> Hmm yeah omap2 makes the smallest build, so randconfig builds
> faster than it would for omap3 or 4.
>
> But isn't there now still a chance that randconfig does not
> select ARCH_OMAP2_AUTO either?

No. ARCH_OMAP2_AUTO is only disabled if one of OMAP3 or OMAP4
are enabled.

Arnd