multilib_header: avoid sstate checksum issues for -nativesdk recipes
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
@@ -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
Quoted 4 lines · Joshua Lock
Much as with -native recipes, as addressed in commit
b15730caf0d4c40271796887505507f2501958bb, arch specific variables likeMIPSPKGSFX_ABIwere 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_headerfor nativesdk as we don't use multilibs in this scenario.[YOCTO #10320]
Signed-off-by Joshua Lock <[email protected]>--- meta/classes/multilib_header.bbclass | 5 +++++ 1 file changed, 5 insertions(+)meta/classes/multilib_header.bbclass +5
-0@@ -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 +}
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 likeMIPSPKGSFX_ABIwere affecting -nativesdk sstate checksums for recipes like nativesdk-glibc-initial.Since commit
b15730caf0d4c40271796887505507f2501958bbis 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_headerfor nativesdk as we don't use multilibs in this scenario.[YOCTO #10320]
Signed-off-by Joshua Lock <[email protected]>---
meta/classes/multilib_header.bbclass | 5 +++++1 file changed, 5 insertions(+)meta/classes/multilib_header.bbclass +0
-0@@ -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 +}