diff options
Diffstat (limited to 'meta/classes/archiver.bbclass')
-rw-r--r-- | meta/classes/archiver.bbclass | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/meta/classes/archiver.bbclass b/meta/classes/archiver.bbclass index 13b05bb5f2..093e2d95af 100644 --- a/meta/classes/archiver.bbclass +++ b/meta/classes/archiver.bbclass | |||
@@ -221,9 +221,10 @@ python do_ar_patched() { | |||
221 | 221 | ||
222 | # Get the ARCHIVER_OUTDIR before we reset the WORKDIR | 222 | # Get the ARCHIVER_OUTDIR before we reset the WORKDIR |
223 | ar_outdir = d.getVar('ARCHIVER_OUTDIR') | 223 | ar_outdir = d.getVar('ARCHIVER_OUTDIR') |
224 | ar_workdir = d.getVar('ARCHIVER_WORKDIR') | 224 | if not is_work_shared(d): |
225 | ar_workdir = d.getVar('ARCHIVER_WORKDIR') | ||
226 | d.setVar('WORKDIR', ar_workdir) | ||
225 | bb.note('Archiving the patched source...') | 227 | bb.note('Archiving the patched source...') |
226 | d.setVar('WORKDIR', ar_workdir) | ||
227 | create_tarball(d, d.getVar('S'), 'patched', ar_outdir) | 228 | create_tarball(d, d.getVar('S'), 'patched', ar_outdir) |
228 | } | 229 | } |
229 | 230 | ||