[OLPC-devel] Re: [PATCH 0/4] Compile kernel with -fwhole-program --combine

David Woodhouse dwmw2 at infradead.org
Mon Aug 28 07:21:16 EDT 2006


On Mon, 2006-08-28 at 12:52 +0200, Helge Hafting wrote:
> And a "make optImage" (optimized image) when building a
> kernel for production use, when you believe compiling every file
> and spending lots of extra time is worth it. 

If we revamp the entire kbuild infrastructure to allow building the
_whole_ kernel with --combine then I might be inclined to agree -- we
could do that instead of a CONFIG_COMBINED_COMPILE option.

But if, as I suggest, we're doing the simple option which combines only
the files which tend to get most benefit from it -- those which are in
the same directory -- then there's not a lot of point in the separate
target. It really doesn't take that much extra time.

-- 
dwmw2




More information about the Devel mailing list