All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/3] packagegroup-cross-canadian: repackage when TUNE_ARCH changes
@ 2019-05-16 15:04 Alexander Kanavin
  2019-05-16 15:04 ` [PATCH 2/3] qemux86: use a Core 2 Duo CPU instead of the original circa-1993 Pentium Alexander Kanavin
  2019-05-16 15:04 ` [PATCH 3/3] mesa: fix imx gallium driver PACKAGECONFIG option Alexander Kanavin
  0 siblings, 2 replies; 4+ messages in thread
From: Alexander Kanavin @ 2019-05-16 15:04 UTC (permalink / raw)
  To: openembedded-core

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
---
 .../packagegroups/packagegroup-cross-canadian.bb            | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/meta/recipes-core/packagegroups/packagegroup-cross-canadian.bb b/meta/recipes-core/packagegroups/packagegroup-cross-canadian.bb
index d551147b5a4..3b430c08148 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} = "\
     ${@all_multilib_tune_values(d, 'GDB')} \
     meta-environment-${MACHINE} \
     "
+
+# When TUNE_ARCH changes but MACHINE does not (for example when a machine definition is updated), 
+# cross-canadian.bbclass prevents variable dependency propagation to TRANSLATED_TARGET_ARCH
+# This will result in erroneous reuse of previous sstate packages. The following line
+# establishes a direct dependency instead.
+do_package[vardeps] += "TUNE_ARCH"
-- 
2.17.1



^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2019-05-16 15:32 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-05-16 15:04 [PATCH 1/3] packagegroup-cross-canadian: repackage when TUNE_ARCH changes Alexander Kanavin
2019-05-16 15:04 ` [PATCH 2/3] qemux86: use a Core 2 Duo CPU instead of the original circa-1993 Pentium Alexander Kanavin
2019-05-16 15:04 ` [PATCH 3/3] mesa: fix imx gallium driver PACKAGECONFIG option Alexander Kanavin
2019-05-16 15:32   ` akuster808

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.