Patchwork cross: Clear do_populate_sysroot[stamp-extra-info] so that stamps are not MACHINE specific

login
register
mail settings
Submitter Phil Blundell
Date May 21, 2013, 10:40 a.m.
Message ID <1369132806.6695.12.camel@phil-desktop.brightsign>
Download mbox | patch
Permalink /patch/50231/
State Accepted
Commit 66d09565783186ab14fa77ecdfe2131a44a265ab
Headers show

Comments

Phil Blundell - May 21, 2013, 10:40 a.m.
Otherwise we will try to run the setscene task once per MACHINE which will lead to
file conflicts in the sysroot for packages like gcc-cross.  The stamps
are already namespaced by TARGET_ARCH which should be sufficient.

Signed-off-by: Phil Blundell <philb@gnu.org>
---
 meta/classes/cross.bbclass |    1 +
 1 file changed, 1 insertion(+)

Patch

diff --git a/meta/classes/cross.bbclass b/meta/classes/cross.bbclass
index b57e523..eaba4d1 100644
--- a/meta/classes/cross.bbclass
+++ b/meta/classes/cross.bbclass
@@ -55,6 +55,7 @@  libdir = "${exec_prefix}/lib/${CROSS_TARGET_SYS_DIR}"
 libexecdir = "${exec_prefix}/libexec/${CROSS_TARGET_SYS_DIR}"
 
 do_populate_sysroot[sstate-inputdirs] = "${SYSROOT_DESTDIR}/${STAGING_DIR_NATIVE}/"
+do_populate_sysroot[stamp-extra-info] = ""
 
 python cross_virtclass_handler () {
     if not isinstance(e, bb.event.RecipePreFinalise):