diff options
Diffstat (limited to 'meta/classes/archiver.bbclass')
-rw-r--r-- | meta/classes/archiver.bbclass | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/classes/archiver.bbclass b/meta/classes/archiver.bbclass index 8eb15af393..0710c1ec5e 100644 --- a/meta/classes/archiver.bbclass +++ b/meta/classes/archiver.bbclass | |||
@@ -463,7 +463,9 @@ def create_diff_gz(d, src_orig, src, ar_outdir): | |||
463 | 463 | ||
464 | def is_work_shared(d): | 464 | def is_work_shared(d): |
465 | pn = d.getVar('PN') | 465 | pn = d.getVar('PN') |
466 | return bb.data.inherits_class('kernel', d) or pn.startswith('gcc-source') | 466 | return pn.startswith('gcc-source') or \ |
467 | bb.data.inherits_class('kernel', d) or \ | ||
468 | (bb.data.inherits_class('kernelsrc', d) and d.getVar('S') == d.getVar('STAGING_KERNEL_DIR')) | ||
467 | 469 | ||
468 | # Run do_unpack and do_patch | 470 | # Run do_unpack and do_patch |
469 | python do_unpack_and_patch() { | 471 | python do_unpack_and_patch() { |