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:54:52 +0100 |
commit | ecb56a6ae0c870af680da03db9d39703b525fc98 (patch) | |
tree | 93e12659de4b725fad0f36d8de27a72f249cdc60 /meta/classes/buildstats.bbclass | |
parent | a797abe08bfe4144e120c984d1718c2cc3d87c0a (diff) | |
download | openembedded-core-ecb56a6ae0c870af680da03db9d39703b525fc98.tar.gz openembedded-core-ecb56a6ae0c870af680da03db9d39703b525fc98.tar.bz2 openembedded-core-ecb56a6ae0c870af680da03db9d39703b525fc98.zip |
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]
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/buildstats.bbclass')
0 files changed, 0 insertions, 0 deletions