summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2015-07-08 12:56:44 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-07-09 18:00:17 +0100
commit3e4edfdfaeb1acda5079c16a70162f71dd339e85 (patch)
tree534f7b6325b2dad2e55520b1abf0968a81516bfe /meta
parent9fa842addcbcd1fb6cd32df5b335a20a730a1610 (diff)
downloadpoky-3e4edfdfaeb1acda5079c16a70162f71dd339e85.tar.gz
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] (From OE-Core rev: 4caf6187bb52d4f6f92ea0959e90339b82ac92b8) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-devtools/pseudo/pseudo.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/recipes-devtools/pseudo/pseudo.inc b/meta/recipes-devtools/pseudo/pseudo.inc
index 11a8514675..fe12258fd4 100644
--- a/meta/recipes-devtools/pseudo/pseudo.inc
+++ b/meta/recipes-devtools/pseudo/pseudo.inc
@@ -36,6 +36,7 @@ do_compile () {
36 fi 36 fi
37 oe_runmake ${MAKEOPTS} 37 oe_runmake ${MAKEOPTS}
38} 38}
39do_compile[vardepsexclude] = "SITEINFO_BITS"
39 40
40maybe_make32() { 41maybe_make32() {
41 # We probably don't need to build 32-bit binaries. 42 # We probably don't need to build 32-bit binaries.
@@ -64,6 +65,7 @@ maybe_make32() {
64 bbnote "If you need to run 32-bit executables, ensure that NO32LIBS is set to 0." 65 bbnote "If you need to run 32-bit executables, ensure that NO32LIBS is set to 0."
65 fi 66 fi
66} 67}
68maybe_make32[vardepsexclude] = "SITEINFO_BITS"
67 69
68warn_32bit_missing() { 70warn_32bit_missing() {
69 bbwarn "Can't find stubs-32.h, but usually need it to build 32-bit libpseudo." 71 bbwarn "Can't find stubs-32.h, but usually need it to build 32-bit libpseudo."