* [PATCH 0/1] package.bbclass: Allow overriding of debugedit base path
@ 2012-07-11 20:31 Peter Seebach
2012-07-11 20:31 ` [PATCH 1/1] package.bbclass: Allow overriding of debugedit starting path Peter Seebach
2012-07-17 16:06 ` [PATCH 0/1] package.bbclass: Allow overriding of debugedit base path Saul Wold
0 siblings, 2 replies; 3+ messages in thread
From: Peter Seebach @ 2012-07-11 20:31 UTC (permalink / raw)
To: Patches and discussions about the oe-core layer
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(-)
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH 1/1] package.bbclass: Allow overriding of debugedit starting path
2012-07-11 20:31 [PATCH 0/1] package.bbclass: Allow overriding of debugedit base path Peter Seebach
@ 2012-07-11 20:31 ` Peter Seebach
2012-07-17 16:06 ` [PATCH 0/1] package.bbclass: Allow overriding of debugedit base path Saul Wold
1 sibling, 0 replies; 3+ messages in thread
From: Peter Seebach @ 2012-07-11 20:31 UTC (permalink / raw)
To: Patches and discussions about the oe-core layer
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.
Signed-off-by: Peter Seebach <peter.seebach@windriver.com>
---
meta/classes/package.bbclass | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/meta/classes/package.bbclass b/meta/classes/package.bbclass
index e6856cd..f0ca443 100644
--- a/meta/classes/package.bbclass
+++ b/meta/classes/package.bbclass
@@ -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.
--
1.7.0.4
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH 0/1] package.bbclass: Allow overriding of debugedit base path
2012-07-11 20:31 [PATCH 0/1] package.bbclass: Allow overriding of debugedit base path Peter Seebach
2012-07-11 20:31 ` [PATCH 1/1] package.bbclass: Allow overriding of debugedit starting path Peter Seebach
@ 2012-07-17 16:06 ` Saul Wold
1 sibling, 0 replies; 3+ messages in thread
From: Saul Wold @ 2012-07-17 16:06 UTC (permalink / raw)
To: Patches and discussions about the oe-core layer
On 07/11/2012 01:31 PM, Peter Seebach wrote:
> 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(-)
>
>
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
>
>
Merged into OE-Core
Thanks
Sau!
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-07-17 16:17 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-07-11 20:31 [PATCH 0/1] package.bbclass: Allow overriding of debugedit base path Peter Seebach
2012-07-11 20:31 ` [PATCH 1/1] package.bbclass: Allow overriding of debugedit starting path Peter Seebach
2012-07-17 16:06 ` [PATCH 0/1] package.bbclass: Allow overriding of debugedit base path Saul Wold
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox