Messages in this thread | | | Date | Thu, 30 Oct 2008 20:51:07 +0100 | From | Ingo Molnar <> | Subject | Re: [PATCH][RFC] x86: add non x86 build configuration |
| |
* Steven Rostedt <rostedt@goodmis.org> wrote:
> A lot of developers develop on x86 architectures, and do things that > sometimes breaks non x86 archs. This patch adds a debug option to > turn off all the CONFIG_HAVE_ options that x86 sets. This allows > developers to easily test their code to make sure that it compiles > without a lot of the assumptions that x86 makes. > > Note: Recently the ftrace code had an issue where a depend was set > by the wrong select, but that select was not set by all archs. > This patch catches that issue when compiling on x86.
cool, very nice - thanks Steve!
testing this way scales _far_ better than maintaining a farm of cross-compilers.
One important detail: could you please flip around the modality of the option? Right now it's CONFIG_SIMULATE_NON_X86_CONFIGURATION, and that will be set by allyesconfig. But it has the exact opposite effect of an "all yes" config.
So please name it something like CONFIG_STANDARD_X86_FEATURES, and also make it depend on CONFIG_EMBEDDED (only allow it to be turned off when EMBEDDED is enabled).
ok?
Ingo
| |