[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.

Dick Hollenbeck dick at softplc.com
Mon Mar 7 19:57:29 UTC 2011


> Signed-off-by: Dick Hollenbeck<dick at softplc.com
<http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel>>

>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,

Thanks.  On this one, please just take it over.  I am still coming up to
speed, and am not able to decipher what you want in a way that will make you
happy.

I know its only a few lines, and you'll want it done a certain way anyway.

Thanks tons.   The disk savings is substantial and worth your time.

Next time I'll be better positioned to help.

Dick







More information about the Openembedded-devel mailing list