From: Russell King - ARM Linux <linux@arm.linux.org.uk>
To: mathieu.poirier@linaro.org
Cc: linux-kernel@vger.kernel.org, arnd@arndb.de, grant.likely@secretlab.ca
Subject: Re: [PATCH] ARM: versatile: automatically pick a board in Kconfig
Date: Tue, 6 Mar 2012 23:13:06 +0000 [thread overview]
Message-ID: <20120306231306.GE15201@n2100.arm.linux.org.uk> (raw)
In-Reply-To: <1331074162-18147-1-git-send-email-mathieu.poirier@linaro.org>
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.
next prev parent reply other threads:[~2012-03-06 23:13 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-03-06 22:49 mathieu.poirier
2012-03-06 23:02 ` Grant Likely
2012-03-06 23:13 ` Russell King - ARM Linux [this message]
2012-03-09 13:44 ` Arnd Bergmann
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20120306231306.GE15201@n2100.arm.linux.org.uk \
--to=linux@arm.linux.org.uk \
--cc=arnd@arndb.de \
--cc=grant.likely@secretlab.ca \
--cc=linux-kernel@vger.kernel.org \
--cc=mathieu.poirier@linaro.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®