From: Ingo Molnar <mingo@elte.hu>
To: Steven Rostedt <rostedt@goodmis.org>
Cc: LKML <linux-kernel@vger.kernel.org>,
Andrew Morton <akpm@linux-foundation.org>,
Linus Torvalds <torvalds@linux-foundation.org>,
Heiko Carstens <heiko.carstens@de.ibm.com>
Subject: Re: [PATCH][RFC] x86: add non x86 build configuration
Date: Thu, 30 Oct 2008 20:51:07 +0100 [thread overview]
Message-ID: <20081030195107.GK27407@elte.hu> (raw)
In-Reply-To: <alpine.DEB.1.10.0810292139170.6145@gandalf.stny.rr.com>
* 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
next prev parent reply other threads:[~2008-10-30 19:51 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <200810281802.m9SI2fYX030138@hera.kernel.org>
2008-10-29 9:18 ` ftrace: fix depends Heiko Carstens
2008-10-29 15:15 ` [PATCH] ftrace: fix trace_nop config select Steven Rostedt
2008-10-29 16:21 ` Ingo Molnar
2008-10-30 1:43 ` [PATCH][RFC] x86: add non x86 build configuration Steven Rostedt
2008-10-30 19:51 ` Ingo Molnar [this message]
2008-10-30 20:05 ` Steven Rostedt
2008-10-30 20:57 ` Ingo Molnar
2008-10-30 21:09 ` Steven Rostedt
2008-10-30 20:20 ` Sam Ravnborg
2008-10-30 20:55 ` Ingo Molnar
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=20081030195107.GK27407@elte.hu \
--to=mingo@elte.hu \
--cc=akpm@linux-foundation.org \
--cc=heiko.carstens@de.ibm.com \
--cc=linux-kernel@vger.kernel.org \
--cc=rostedt@goodmis.org \
--cc=torvalds@linux-foundation.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®