summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2011-02-25 15:35:37 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-02-25 22:43:33 +0000
commitb40b1937415516c2813d1ad55e652e650e36030e (patch)
tree06664d918bdfb075695f312f44e3bd783bcc7cf2
parent40ea19d6e1c4074df4793e348ed25338477aeebb (diff)
downloadpoky-b40b1937415516c2813d1ad55e652e650e36030e.tar.gz
package.bbclass: Fix debug sources directory creation to reference the target system
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/classes/package.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/package.bbclass b/meta/classes/package.bbclass
index 59a0601d0d..c8adbb0564 100644
--- a/meta/classes/package.bbclass
+++ b/meta/classes/package.bbclass
@@ -225,7 +225,7 @@ def splitfile2(debugsrcdir, d):
225 sourcefile = bb.data.expand("${WORKDIR}/debugsources.list", d) 225 sourcefile = bb.data.expand("${WORKDIR}/debugsources.list", d)
226 226
227 if debugsrcdir: 227 if debugsrcdir:
228 bb.mkdirhier(debugsrcdir) 228 bb.mkdirhier("%s%s" % (dvar, debugsrcdir))
229 229
230 processdebugsrc = "LC_ALL=C ; sort -z -u '%s' | egrep -v -z '(<internal>|<built-in>)$' | " 230 processdebugsrc = "LC_ALL=C ; sort -z -u '%s' | egrep -v -z '(<internal>|<built-in>)$' | "
231 processdebugsrc += "(cd '%s' ; cpio -pd0mL '%s%s' 2>/dev/null)" 231 processdebugsrc += "(cd '%s' ; cpio -pd0mL '%s%s' 2>/dev/null)"