[oe] [PATCH] cc1 and cc1plus had about 20 mbytes of debug information each, in the final redistributable form. This patch strips those two binaries yielding a savings of about 40 mbytes per SDK.

Tom Rini tom_rini at mentor.com
Mon Mar 7 19:08:10 UTC 2011


On 03/07/2011 11:33 AM, Dick Hollenbeck wrote:
> Signed-off-by: Dick Hollenbeck<dick at softplc.com>

We recently added logic to conf/distro/include/sane-toolchain-* to 
handle the debug level via DEBUG_LEVEL.  Would you mind adding a 
DEBUG_LEVEL_HOST to conf/bitbake.conf and making BUILD_OPTIMIZATION obey 
that instead so that we can drop debug info from all of them?  Thanks.

-- 
Tom Rini
Mentor Graphics Corporation




More information about the Openembedded-devel mailing list