diff options
author | Khem Raj <raj.khem@gmail.com> | 2011-07-25 22:09:13 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-07-26 15:47:03 +0100 |
commit | be8f985d2c61a646b1fa2eb9378dc9ebcac0d4e7 (patch) | |
tree | b5dc812a3f81c8f5612dfaac38f363d0fff78724 /meta/classes/siteinfo.bbclass | |
parent | 922eaae5d497ddbe88384020a38bb2b15953725d (diff) | |
download | poky-be8f985d2c61a646b1fa2eb9378dc9ebcac0d4e7.tar.gz |
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
(From OE-Core rev: 54a54778fad39931ac7d43daaf37ce7c1946a29b)
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.bbclass | 4 |
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): | |||
86 | python () { | 86 | python () { |
87 | sitedata = set(siteinfo_data(d)) | 87 | sitedata = set(siteinfo_data(d)) |
88 | if "endian-little" in sitedata: | 88 | if "endian-little" in sitedata: |
89 | d.setVar("SITEINFO_ENDIANESS", "le") | 89 | d.setVar("SITEINFO_ENDIANNESS", "le") |
90 | elif "endian-big" in sitedata: | 90 | elif "endian-big" in sitedata: |
91 | d.setVar("SITEINFO_ENDIANESS", "be") | 91 | d.setVar("SITEINFO_ENDIANNESS", "be") |
92 | else: | 92 | else: |
93 | bb.error("Unable to determine endianness for architecture '%s'" % | 93 | bb.error("Unable to determine endianness for architecture '%s'" % |
94 | d.getVar("HOST_ARCH", True)) | 94 | d.getVar("HOST_ARCH", True)) |