[oe] [PATCH] sane-toolchain-*: add -g to FULL_OPTIMIZATION to make -dbg packages more usefull

Tom Rini tom_rini at mentor.com
Tue Mar 1 16:07:09 UTC 2011


On 03/01/2011 02:10 AM, Martin Jansa wrote:
> Signed-off-by: Martin Jansa<Martin.Jansa at gmail.com>
> ---
>   conf/distro/include/sane-toolchain-eglibc.inc      |   12 ++++++------
>   conf/distro/include/sane-toolchain-glibc.inc       |   10 +++++-----
>   conf/distro/include/sane-toolchain-uclibc.inc      |    6 +++---
>   .../include/sane-toolchain-uclinux-uclibc.inc      |    2 +-
>   4 files changed, 15 insertions(+), 15 deletions(-)

While we're in here, we should look at what the angstrom ones do 
correctly which is that BUILD_OPTIMIZATION is only for -native recipes.

And personally I'd like to see the -g flag (for both target and the 
rest) be a variable that can be tweaked as needed (for more or less 
debug in the area).

-- 
Tom Rini
Mentor Graphics Corporation




More information about the Openembedded-devel mailing list