summaryrefslogtreecommitdiff
path: root/meta/classes
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2011-02-25 15:35:37 +0000
committerRichard Purdie <rpurdie@linux.intel.com>2011-03-01 11:46:46 +0000
commit977dd89c83e8df6cf8d3c622dc42bc4f71b9d037 (patch)
tree7e5735f9c18919342361a00121bf775a111b5d7e /meta/classes
parent02d2e5e5c7097e0315bf89868ff60cad6f59904f (diff)
downloadopenembedded-core-977dd89c83e8df6cf8d3c622dc42bc4f71b9d037.tar.gz
openembedded-core-977dd89c83e8df6cf8d3c622dc42bc4f71b9d037.tar.bz2
openembedded-core-977dd89c83e8df6cf8d3c622dc42bc4f71b9d037.zip
package.bbclass: Fix debug sources directory creation to reference the target system
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
-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):
sourcefile = bb.data.expand("${WORKDIR}/debugsources.list", d)
if debugsrcdir:
- bb.mkdirhier(debugsrcdir)
+ bb.mkdirhier("%s%s" % (dvar, debugsrcdir))
processdebugsrc = "LC_ALL=C ; sort -z -u '%s' | egrep -v -z '(<internal>|<built-in>)$' | "
processdebugsrc += "(cd '%s' ; cpio -pd0mL '%s%s' 2>/dev/null)"