lkml.org 
[lkml]   [2008]   [Oct]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [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


    \
     
     \ /
      Last update: 2008-10-30 20:55    [W:4.298 / U:0.008 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site