mirror of
git://git.yoctoproject.org/poky
synced 2026-04-02 02:49:11 +00:00
archiver: avoid using machine variable as it breaks multiconfig
STAGING_KERNEL_DIR uses the MACHINE name so it breaks the multiconfig and in this cases it will run the shared recipes twice, one for each machine. STAGING_KERNEL_DIR it's been introduced in commit 5487dee2e1 (From OE-Core rev: a71a5343838571e094ead68a42c757f0c43a41b1) Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 6050d1f74c02495490d982ead2993b6b3c9cc04a) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
452dbb90db
commit
37a5b06ccd
@ -465,7 +465,7 @@ def is_work_shared(d):
|
||||
pn = d.getVar('PN')
|
||||
return pn.startswith('gcc-source') or \
|
||||
bb.data.inherits_class('kernel', d) or \
|
||||
(bb.data.inherits_class('kernelsrc', d) and d.getVar('S') == d.getVar('STAGING_KERNEL_DIR'))
|
||||
(bb.data.inherits_class('kernelsrc', d) and d.expand("${TMPDIR}/work-shared") in d.getVar('S'))
|
||||
|
||||
# Run do_unpack and do_patch
|
||||
python do_unpack_and_patch() {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user