Messages in this thread | | | Date | Tue, 6 Mar 2012 23:13:06 +0000 | From | Russell King - ARM Linux <> | Subject | Re: [PATCH] ARM: versatile: automatically pick a board in Kconfig |
| |
On Tue, Mar 06, 2012 at 03:49:22PM -0700, mathieu.poirier@linaro.org wrote: > From: Arnd Bergmann <arnd@arndb.de> > > The versatile platform supports building any combination of the > three board types (AB, PB, DT), but at least one of them has > to be enabled. This adds the necessary Kconfig statement to > enforce that at least one of the three is selected.
This approach to 'fixing' the Kconfig doesn't scale particularly well when we've got lots of platforms to deal with.
I much prefer using KALLCONFIG= to seed allno/allyes/allmod/rand configs. If you want to target a particular SoC you have to do that anyway. And you have to use that to ensure that you get a sane config state so that Kconfig doesn't try and ask for the PHYS_OFFSET value - it will decide to make that empty and then refuse to reprocess the Kconfig when you try to build the kernel.
So I don't think there's any point to adding stuff like this.
| |