diff options
| -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 5da369d422..dca4271a69 100644 --- a/meta/classes/archiver.bbclass +++ b/meta/classes/archiver.bbclass | |||
| @@ -459,7 +459,9 @@ def create_diff_gz(d, src_orig, src, ar_outdir): | |||
| 459 | 459 | ||
| 460 | def is_work_shared(d): | 460 | def is_work_shared(d): |
| 461 | pn = d.getVar('PN') | 461 | pn = d.getVar('PN') |
| 462 | return bb.data.inherits_class('kernel', d) or pn.startswith('gcc-source') | 462 | return pn.startswith('gcc-source') or \ |
| 463 | bb.data.inherits_class('kernel', d) or \ | ||
| 464 | (bb.data.inherits_class('kernelsrc', d) and d.getVar('S') == d.getVar('STAGING_KERNEL_DIR')) | ||
| 463 | 465 | ||
| 464 | # Run do_unpack and do_patch | 466 | # Run do_unpack and do_patch |
| 465 | python do_unpack_and_patch() { | 467 | python do_unpack_and_patch() { |
