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

From: Tony Lindgren
Date: Fri Mar 23 2012 - 14:15:00 EST


* Arnd Bergmann <arnd@xxxxxxxx> [120323 10:40]:
> 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.

And then no description in bool keeps it hidden from selection.
Nice, this works. Too bad these got forgotten in your branch.

Regards,

Tony
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/