diff options
author | Alexander Kanavin <alex.kanavin@gmail.com> | 2019-05-16 17:04:03 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-05-17 07:07:28 +0100 |
commit | 647f065f80822c2d2e97e9d0823b5edecb250f0b (patch) | |
tree | 8a00a351cae0adb47e0cfa68fc8966b2ea9d0137 | |
parent | 15070290a12aac444c6784d477186a553f29af82 (diff) | |
download | poky-647f065f80822c2d2e97e9d0823b5edecb250f0b.tar.gz |
packagegroup-cross-canadian: repackage when TUNE_ARCH changes
(From OE-Core rev: 11c78268a2e9d333d615ce01b5a5bdc3d5546850)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/recipes-core/packagegroups/packagegroup-cross-canadian.bb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/meta/recipes-core/packagegroups/packagegroup-cross-canadian.bb b/meta/recipes-core/packagegroups/packagegroup-cross-canadian.bb index d551147b5a..3b430c0814 100644 --- a/meta/recipes-core/packagegroups/packagegroup-cross-canadian.bb +++ b/meta/recipes-core/packagegroups/packagegroup-cross-canadian.bb | |||
@@ -16,3 +16,9 @@ RDEPENDS_${PN} = "\ | |||
16 | ${@all_multilib_tune_values(d, 'GDB')} \ | 16 | ${@all_multilib_tune_values(d, 'GDB')} \ |
17 | meta-environment-${MACHINE} \ | 17 | meta-environment-${MACHINE} \ |
18 | " | 18 | " |
19 | |||
20 | # When TUNE_ARCH changes but MACHINE does not (for example when a machine definition is updated), | ||
21 | # cross-canadian.bbclass prevents variable dependency propagation to TRANSLATED_TARGET_ARCH | ||
22 | # This will result in erroneous reuse of previous sstate packages. The following line | ||
23 | # establishes a direct dependency instead. | ||
24 | do_package[vardeps] += "TUNE_ARCH" | ||