summaryrefslogtreecommitdiff
path: root/meta
diff options
context:
space:
mode:
authorMark Hatle <mark.hatle@windriver.com>2011-03-03 10:37:05 -0600
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-03-03 23:29:19 +0000
commitcbe1b8277c610e8e31d1270757877300532bed56 (patch)
treecc069a6f886d19c3887b3a2df40dc66e9921a083 /meta
parentc8495be774a5cbf235a023cecf005b2763c98745 (diff)
downloadopenembedded-core-cbe1b8277c610e8e31d1270757877300532bed56.tar.gz
openembedded-core-cbe1b8277c610e8e31d1270757877300532bed56.tar.bz2
openembedded-core-cbe1b8277c610e8e31d1270757877300532bed56.zip
qa.py: Fix a typo when evaluating bitsize
This should be setting a variable, not performing a comparison. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Diffstat (limited to 'meta')
-rw-r--r--meta/lib/oe/qa.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/lib/oe/qa.py b/meta/lib/oe/qa.py
index 7adf4d03ae..d3800128ed 100644
--- a/meta/lib/oe/qa.py
+++ b/meta/lib/oe/qa.py
@@ -40,9 +40,9 @@ class ELFFile:
self.my_assert(self.data[3], 'F')
if self.bits == 0:
if self.data[ELFFile.EI_CLASS] == chr(ELFFile.ELFCLASS32):
- self.bits == 32
+ self.bits = 32
elif self.data[ELFFile.EI_CLASS] == chr(ELFFile.ELFCLASS64):
- self.bits == 64
+ self.bits = 64
else:
# Not 32-bit or 64.. lets assert
raise Exception("ELF but not 32 or 64 bit.")