From 19a81653b707adc2440d1f8eb194c1bcb0ae9d50 Mon Sep 17 00:00:00 2001 From: Joshua Lock Date: Wed, 28 Apr 2010 17:48:08 +0100 Subject: Bump the ABI to alert people that cross has gone Since we've change the tmpdir layout quite a bit we're going to bump ABI and force a rebuild. Signed-off-by: Joshua Lock --- meta/classes/sanity.bbclass | 2 ++ 1 file changed, 2 insertions(+) (limited to 'meta/classes/sanity.bbclass') diff --git a/meta/classes/sanity.bbclass b/meta/classes/sanity.bbclass index 67a5f52de3..86b8901c55 100644 --- a/meta/classes/sanity.bbclass +++ b/meta/classes/sanity.bbclass @@ -166,6 +166,8 @@ def check_sanity(e): f = file(abifile, "w") f.write(current_abi) + elif 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) -- cgit 1.2.3-korg