[U-Boot] [PATCH] powerpc:Enable compiler debug option for powerpc platforms

Zang Roy-R61911 R61911 at freescale.com
Mon Apr 25 11:25:04 CEST 2011



> -----Original Message-----
> From: Wolfgang Denk [mailto:wd at denx.de]
> Sent: Monday, April 25, 2011 16:39 PM
> To: Zang Roy-R61911
> Cc: u-boot at lists.denx.de; Wood Scott-B07421; Kumar Gala
> Subject: Re: [PATCH] powerpc:Enable compiler debug option for powerpc
> platforms
> 
> Dear Zang Roy-R61911,
> 
> In message <2239AC579C7D3646A720227A37E02681124B78 at 039-SN1MPN1-
> 004.039d.mgd.msft.net> you wrote:
> >
> > > You did not comment to these questions, and your current code is
> > > still powerpc-centric.
> > Yes. because there is other voice:
> > http://lists.denx.de/pipermail/u-boot/2011-January/086489.html
> > http://lists.denx.de/pipermail/u-boot/2011-January/086512.html
> > any  comment?
> 
> It would be nice if you actually quoted the text parts that you are
> referring to.
> 
> In any case, I read for example this:
> 
> |                                                            ... I can't
> | provide exact details, since the current toolchains work fine without
> | such tweaking - I only wanted to point out that if you need to specify
> | the exact debug format, then it might be platform-specific.
> |
> | A simple "-g" should be fine in the common area.
> 
> I agree to this.
Also for a "-g" option, do you prefer adding to "PLATFORM_CPPFLAGS" or
"CPPFLAGS" ?
Thanks.
Roy



More information about the U-Boot mailing list