lkml.org 
[lkml]   [2008]   [Mar]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [patch] x86: phase out forced inlining
    On Tue, 4 Mar 2008 09:03:59 +0100 Sam Ravnborg <sam@ravnborg.org> wrote:

    > > It would be nice to be able to feed the gcc version into the Kconfig logic,
    > > really..
    > We can do this using a few environment options.
    >
    > Somewhere in a Makefile:
    > export CC_MAJOR=`magic`
    > export CC_MINOR=`more magic`
    >
    > And in a Kconfig file:
    >
    > config CC_MAJOR
    > string
    > option env=CC_MAJOR
    >
    >
    > And then we can do:
    > config CC_DEFAULT_INLINE
    > bool "Force inline of functions annotated inline"
    > default y if CC_MAJOR = 04

    Sounds neat. I guess we should do HOST_CC too.

    > Shall I try to cook up a patch for this?
    > [I may get access to my dev box tonight - cannot promise..]

    accuracy=1/speed. There's no rush on this ;)


    \
     
     \ /
      Last update: 2008-03-04 09:43    [W:2.965 / U:1.880 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site