summaryrefslogtreecommitdiffstats
path: root/meta/classes/siteinfo.bbclass
diff options
context:
space:
mode:
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):
86python () { 86python () {
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))