[OE-core] [PATCH V2 01/15] conf/bitbake.conf package.bbclass: fix dbg package not contain sources while -fdebug-prefix-map used

Hongxu Jia hongxu.jia at windriver.com
Wed Mar 23 14:15:42 UTC 2016


On 03/23/2016 09:40 PM, Mark Hatle wrote:
> The following looks right to me.  I'd recommend this version be used.
>
> However, I'm guessing the work is not done.  Anything that has an ${S} outside
> of the WORKDIR will not be remapped.  I'm guessing this includes the toolchain
> and kernel bits.... but other things might also have a shared work dir?

Yes, we should consider this situation, I will do the investigation to 
find the fix

>
> We probably should make it a requirement that those things have their own unique
> mapping defined as well.  I'm not sure if the existing tests will capture those
> issues and alert the user.

OK, with some investigation done, I will try to collect the requirements 
for discussing.

>
> (This is also a place in the developer guide we should probably explain what
> this debug-prelix-map does and how it should be used to make on-target
> debuggable items.)

Maybe we should introduce -debug-pprefix-map in reference/development
manual, I will file a doc requirement in bugzilla.

So it's just a start, we should continue to work on:

1) Support to remap ${S} outside of the WORKDIR (shared work dir)

2) Add -fdebug-prefix-map usage in manual

//Hongxu

>
> --Mark




More information about the Openembedded-core mailing list