package.bbclass: Allow overriding of debugedit base path
cover package.bbclass: Allow overriding of debugedit base path
As before, only with the prettier and smaller change RP suggested. This provides a mechanism for making the existing debugedit that gets done from package.bbclass work for prebuilt binaries with debug paths that aren't related directly to the build environment.
The following changes since commit 20405bdab18b7a2b101f818e72863d289d5945e4:
Bruce Ashfield (1):
linux-yocto/3.0: perf scripting support
are available in the git repository at:
git://git.yoctoproject.org/poky-contrib seebs/debugsrc
http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=seebs/debugsrc
Peter Seebach (1):
package.bbclass: Allow overriding of debugedit starting path
meta/classes/package.bbclass | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
PATCH 1/1 package.bbclass: Allow overriding of debugedit starting path
In the usual case, the computed path used for debugedit to fix up path references for the target filesystem is correct. However, prebuilt binary components, such as prebuilt toolchains, can have debug paths that do not reflect paths within the local build directory. Providing an override lets us continue to use the standard debugedit logic in package.bbclass.
--- meta/classes/package.bbclass | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
meta/classes/package.bbclass +1 -1
@@ -190,7 +190,7 @@ def splitfile(file, debugfile, debugsrcdir, d): objcopy = d.getVar("OBJCOPY", True) debugedit = d.expand("${STAGING_LIBDIR_NATIVE}/rpm/bin/debugedit") workdir = d.getVar("WORKDIR", True) - workparentdir = os.path.dirname(workdir) + workparentdir = d.getVar("DEBUGSRC_OVERRIDE_PATH", True) or os.path.dirname(workdir) sourcefile = d.expand("${WORKDIR}/debugsources.list") # We ignore kernel modules, we don't generate debug info files.
Signature · 1 line
1.7.0.4
Saul Wold
AppliedQuoted 17 lines · Peter Seebach
As before, only with the prettier and smaller change RP suggested. This provides a mechanism for making the existing debugedit that gets done from package.bbclass work for prebuilt binaries with debug paths that aren't related directly to the build environment.
The following changes since commit
20405bdab18b7a2b101f818e72863d289d5945e4:
Bruce Ashfield (1):
linux-yocto/3.0: perf scripting supportare available in the git repository at:
git://git.yoctoproject.org/poky-contribseebs/debugsrc
http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=seebs/debugsrcPeter Seebach (1):
package.bbclass: Allow overriding of debugedit starting path
Quoted 10 lines
meta/classes/package.bbclass | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
Merged into OE-Core
Thanks
Sau!