]> code.ossystems Code Review - openembedded-core.git/commitdiff
Bump the ABI to alert people that cross has gone
authorJoshua Lock <josh@linux.intel.com>
Wed, 28 Apr 2010 16:48:08 +0000 (17:48 +0100)
committerJoshua Lock <josh@linux.intel.com>
Wed, 28 Apr 2010 16:48:08 +0000 (17:48 +0100)
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 <josh@linux.intel.com>
meta/classes/sanity.bbclass
meta/conf/abi_version.conf

index 67a5f52de3c61705cb06af999fae1f5f47611fd7..86b8901c55408c7fe7400bb7727228236a069261 100644 (file)
@@ -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)
index a3287a56fcc2f21799e94b88dde8e3ad95c8be27..e679aaa9c3a450358f3a3ecfc06385adf63da53a 100644 (file)
@@ -4,4 +4,4 @@
 # that breaks the format and have been previously discussed on the mailing list 
 # with general agreement from the core team.
 #
-OELAYOUT_ABI = "4"
+OELAYOUT_ABI = "5"