Skip to contentSkip to conversation

multilib_header: avoid sstate checksum issues for -nativesdk recipes

PATCH In review Joshua Lock 3 participants 3 messages Sep 30, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 multilib_header: avoid sstate checksum issues for -nativesdk recipes

Much as with -native recipes, as addressed in commit b15730caf0d4c40271796887505507f2501958bb, arch specific variables like MIPSPKGSFX_ABI were affecting -nativesdk sstate checksums for recipes like nativesdk-glibc-initial.

Disable multilib_header for nativesdk as we don't use multilibs in this scenario.

[YOCTO #10320]

---
 meta/classes/multilib_header.bbclass | 5 +++++
 1 file changed, 5 insertions(+)
meta/classes/multilib_header.bbclass +5 -0
index 5ee0a2d..304c28e 100644
@@ -52,3 +52,8 @@ oe_multilib_header() {
 oe_multilib_header_class-native () {
 	return
 }
+
+# Nor do we need multilib headers for nativesdk builds.
+oe_multilib_header_class-nativesdk () {
+	return
+}
Signature · 1 line
2.7.4
#1 lore raw
Quoted 4 lines · Joshua Lock

Much as with -native recipes, as addressed in commit b15730caf0d4c40271796887505507f2501958bb, arch specific variables like MIPSPKGSFX_ABI were affecting -nativesdk sstate checksums for recipes like nativesdk-glibc-initial.

Since commit

b15730caf0d4c40271796887505507f2501958bb is in Jethro and Krogoth, do both of those branch need this fix?

- armin

Quoted 24 lines

Disable multilib_header for nativesdk as we don't use multilibs in this scenario.

[YOCTO #10320]

---
  meta/classes/multilib_header.bbclass | 5 +++++
  1 file changed, 5 insertions(+)
meta/classes/multilib_header.bbclass +5 -0
index 5ee0a2d..304c28e 100644
@@ -52,3 +52,8 @@ oe_multilib_header() {
  oe_multilib_header_class-native () {
  	return
  }
+
+# Nor do we need multilib headers for nativesdk builds.
+oe_multilib_header_class-nativesdk () {
+	return
+}
#2 lore raw
Quoted 11 lines · On Fri, 2016-09-30 at 08:29 -0700, akuster808 wrote:
Quoted 5 lines · Joshua Lock

Much as with -native recipes, as addressed in commit b15730caf0d4c40271796887505507f2501958bb, arch specific variables like MIPSPKGSFX_ABI were affecting -nativesdk sstate checksums for recipes like nativesdk-glibc-initial.

Since commit

b15730caf0d4c40271796887505507f2501958bb is in Jethro and Krogoth, do both of those branch need this fix?

This patch improves sstate object reuse for nativesdk recipes when switching between a mips and non-mips MACHINE.
It's no doubt useful to have in krogoth and jethro too.

Joshua

Quoted 29 lines

- armin

Quoted 26 lines

Disable multilib_header for nativesdk as we don't use multilibs in this scenario.

[YOCTO #10320]

---
  meta/classes/multilib_header.bbclass | 5 +++++

  1 file changed, 5 insertions(+)
meta/classes/multilib_header.bbclass +0 -0
index 5ee0a2d..304c28e 100644
@@ -52,3 +52,8 @@ oe_multilib_header() {
   oe_multilib_header_class-native () {

   return
  }

meta/classes/multilib_header.bbclass +5 -0
+
+# Nor do we need multilib headers for nativesdk builds.
+oe_multilib_header_class-nativesdk () {
+	return
+}