diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-02-25 15:35:37 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-02-25 22:43:33 +0000 |
commit | b40b1937415516c2813d1ad55e652e650e36030e (patch) | |
tree | 06664d918bdfb075695f312f44e3bd783bcc7cf2 /meta/classes/package.bbclass | |
parent | 40ea19d6e1c4074df4793e348ed25338477aeebb (diff) | |
download | poky-b40b1937415516c2813d1ad55e652e650e36030e.tar.gz |
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/package.bbclass')
-rw-r--r-- | 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 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)" |