diff options
author | Hongxu Jia <hongxu.jia@windriver.com> | 2016-03-21 04:46:20 -0400 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-03-28 15:55:51 +0100 |
commit | 55cd35bd1802498240878b24f40f558fb807e881 (patch) | |
tree | cecf9b26cf26491dd9c149a38df3070bbcfb01ca /bitbake | |
parent | e2b919c1f48ed5eb4816d2fee898fd9fcea6a467 (diff) | |
download | poky-55cd35bd1802498240878b24f40f558fb807e881.tar.gz |
conf/bitbake.conf package.bbclass: fix dbg package not contain sources while -fdebug-prefix-map used
Tweak DEBUG_FLAGS to use "/usr/src/debug/${PN}/${EXTENDPE}${PV}-${PR}"
as source target path in DWARF. While use gdb to debug binary, it could
work with sources in dbg package.
While -fdebug-prefix-map is used for compiling, we do not need invoking
debugedit to edit DWARF at do_package time, but list where sources files
are.
The copydebugsources uses the list to copy sources to dbg package. It
works whether -fdebug-prefix-map used or not.
[YOCTO #9305]
(From OE-Core rev: ecb56a6ae0c870af680da03db9d39703b525fc98)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake')
0 files changed, 0 insertions, 0 deletions