[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20120306231306.GE15201@n2100.arm.linux.org.uk>
Date: Tue, 6 Mar 2012 23:13:06 +0000
From: Russell King - ARM Linux <linux@....linux.org.uk>
To: mathieu.poirier@...aro.org
Cc: linux-kernel@...r.kernel.org, arnd@...db.de,
grant.likely@...retlab.ca
Subject: Re: [PATCH] ARM: versatile: automatically pick a board in Kconfig
On Tue, Mar 06, 2012 at 03:49:22PM -0700, mathieu.poirier@...aro.org wrote:
> From: Arnd Bergmann <arnd@...db.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.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists