Fix sanity check for new abi

current_abi is the abi of the tmp directory, not the current abi specified in
the abi file...

Now the sanity check should work sanely.

Signed-off-by: Joshua Lock <josh@linux.intel.com>
This commit is contained in:
Joshua Lock 2010-04-29 10:25:39 +01:00
parent 19a81653b7
commit 69d788ad5e
1 changed files with 1 additions and 1 deletions

View File

@ -166,7 +166,7 @@ def check_sanity(e):
f = file(abifile, "w")
f.write(current_abi)
elif current_abi == "5":
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.