summaryrefslogtreecommitdiff
path: root/meta/classes/siteinfo.bbclass
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2011-07-25 22:09:13 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-07-26 15:22:47 +0100
commit54a54778fad39931ac7d43daaf37ce7c1946a29b (patch)
tree418abbd873cfebe61dfff30dd1f22fc5b7f959e3 /meta/classes/siteinfo.bbclass
parent5c09cbe3bf456e968fc853827698eb18b62e8348 (diff)
downloadopenembedded-core-54a54778fad39931ac7d43daaf37ce7c1946a29b.tar.gz
openembedded-core-54a54778fad39931ac7d43daaf37ce7c1946a29b.tar.bz2
openembedded-core-54a54778fad39931ac7d43daaf37ce7c1946a29b.zip
meta: Rename SITEINFO_ENDIANESS to SITEINFO_ENDIANNESS
There is this discrepency in spelling. Lets fix it in core. There are lot of layers using SITEINFO_ENDIANNESS This was shielded since meta-oe had its own copy of siteinfo class. But that class has now been deleted in favor of oe-core Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/siteinfo.bbclass')
-rw-r--r--meta/classes/siteinfo.bbclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/classes/siteinfo.bbclass b/meta/classes/siteinfo.bbclass
index c5308b3d26..f3c24e88f3 100644
--- a/meta/classes/siteinfo.bbclass
+++ b/meta/classes/siteinfo.bbclass
@@ -86,9 +86,9 @@ def siteinfo_data(d):
python () {
sitedata = set(siteinfo_data(d))
if "endian-little" in sitedata:
- d.setVar("SITEINFO_ENDIANESS", "le")
+ d.setVar("SITEINFO_ENDIANNESS", "le")
elif "endian-big" in sitedata:
- d.setVar("SITEINFO_ENDIANESS", "be")
+ d.setVar("SITEINFO_ENDIANNESS", "be")
else:
bb.error("Unable to determine endianness for architecture '%s'" %
d.getVar("HOST_ARCH", True))