On Tue, Apr 19, 2016 at 4:54 PM, Richard Purdie <[email protected]> wrote: > On Tue, 2016-04-19 at 16:11 +0200, Andreas Müller wrote: >> thanks a lot for your efforts. Do I understand this right: You >> suggest >> to use build sysroot (on my own risk - as I did before) and make gdb >> happy by linking sources? >> >> Problem I see is that we have multiple package archs e.g >> ARM/ARMThumb/Machine so ${BASE_WORKDIR}/${MULTIMACH_TARGET_SYS} >> expands to multiple paths. But a script symlinking all together + set >> substitute-path might help here... >> >> I will play around with this in the later... > > I was thinking about this a bit more and there is another option > available to you which would be to pass all the debug sources into the > sysroot as hardlinks to the files in workdir, in much the same way as > we do the other sysroot files (which you don't strip). > > Since those files are collected by do_package you'd probably have to > force do_populate_sysroot after do_package but such an additional class > to make these tweaks probably wouldn't be that large and would just > affect performance a bit (with the benefit of the debugging you want). Would like to come back to this. Would something like:
addtask do_stage_sources after do_package do_populate_sysroot in a class enabled by local.conf do the job? I wouldn't have expected this to be possible until I found something similar in insane.bbclass. Andreas -- _______________________________________________ Openembedded-core mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-core
