[oe-commits] Richard Purdie : pseudo: Exclude SITEINFO_BITS from checksums
git at git.openembedded.org
git at git.openembedded.org
Wed Jul 8 12:16:44 UTC 2015
Module: openembedded-core.git
Branch: master-next
Commit: 4caf6187bb52d4f6f92ea0959e90339b82ac92b8
URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=4caf6187bb52d4f6f92ea0959e90339b82ac92b8
Author: Richard Purdie <richard.purdie at linuxfoundation.org>
Date: Wed Jul 8 12:56:44 2015 +0100
pseudo: Exclude SITEINFO_BITS from checksums
We really want the same sstate checksums for pseudo-native on 32 and 64 bit platforms
but the use of SITEINFO_BITS prevents this. Since other things would change if
the bit size changes, we can safely exclude this variable and rely on others
(e.g. BUILD_ARCH included in WORKDIR) to handle this.
[YOCTO #5970]
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
meta/recipes-devtools/pseudo/pseudo.inc | 2 ++
1 file changed, 2 insertions(+)
diff --git a/meta/recipes-devtools/pseudo/pseudo.inc b/meta/recipes-devtools/pseudo/pseudo.inc
index 11a8514..fe12258 100644
--- a/meta/recipes-devtools/pseudo/pseudo.inc
+++ b/meta/recipes-devtools/pseudo/pseudo.inc
@@ -36,6 +36,7 @@ do_compile () {
fi
oe_runmake ${MAKEOPTS}
}
+do_compile[vardepsexclude] = "SITEINFO_BITS"
maybe_make32() {
# We probably don't need to build 32-bit binaries.
@@ -64,6 +65,7 @@ maybe_make32() {
bbnote "If you need to run 32-bit executables, ensure that NO32LIBS is set to 0."
fi
}
+maybe_make32[vardepsexclude] = "SITEINFO_BITS"
warn_32bit_missing() {
bbwarn "Can't find stubs-32.h, but usually need it to build 32-bit libpseudo."
More information about the Openembedded-commits
mailing list