aboutsummaryrefslogtreecommitdiffstats
path: root/classes
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2010-07-21 10:55:59 -0700
committerKhem Raj <raj.khem@gmail.com>2010-07-22 10:13:19 -0700
commitff701435705b6d0bb28a051e5e3c524b2badc834 (patch)
treef5f73248ae20888595ad00645231c01bbf22671a /classes
parentdc69812bdf6bdb19d9738079b06e7d2a55d11437 (diff)
downloadopenembedded-ff701435705b6d0bb28a051e5e3c524b2badc834.tar.gz
sanity.bbclass, abi_version.conf: Bump the ABI to inform that cross has died.
* tmpdir layout is changed bump ABI version to force a rebuild. Signed-off-by: Khem Raj <raj.khem@gmail.com> Acked-by: Tom Rini <tom_rini@mentor.com> Acked-by: Richard Purdie <rpurdie@rpsys.net> Ackef-by: Chris Larson <clarson@kergoth.com> Acked-by: Martin Jansa <Martin.Jansa@gmail.com> Acked-by: Koen Kooi <koen@openembedded.org>
Diffstat (limited to 'classes')
-rw-r--r--classes/sanity.bbclass2
1 files changed, 2 insertions, 0 deletions
diff --git a/classes/sanity.bbclass b/classes/sanity.bbclass
index 8eb74530a2..cff415a812 100644
--- a/classes/sanity.bbclass
+++ b/classes/sanity.bbclass
@@ -149,6 +149,8 @@ def check_sanity(e):
os.system(bb.data.expand("cd ${TMPDIR}/stamps; for i in */*do_populate_staging; do new=`echo $i | sed -e 's/do_populate_staging/do_populate_sysroot/'`; mv $i $new; done", e.data))
f = file(abifile, "w")
f.write(current_abi)
+ elif abi == "5" and current_abi != "5":
+ messages = messages + "Staging layout has changed. The cross directory has been deprecated and cross packages are now built under the native sysroot.\nThis requires a rebuild.\n"
elif (abi != current_abi):
# Code to convert from one ABI to another could go here if possible.
messages = messages + "Error, TMPDIR has changed ABI (%s to %s) and you need to either rebuild, revert or adjust it at your own risk.\n" % (abi, current_abi)