summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorMark Hatle <mark.hatle@windriver.com>2011-03-03 10:37:05 -0600
committerSaul Wold <sgw@linux.intel.com>2011-03-03 16:33:59 -0800
commit091ace83f8c08d2fee9804e9596a911a5ca04ca6 (patch)
tree62a801d74b72ec6494eb3d82537722bc5946b067 /meta
parente81957973df30f03e7a2471809d734eaedaf878e (diff)
downloadpoky-091ace83f8c08d2fee9804e9596a911a5ca04ca6.tar.gz
qa.py: Fix a typo when evaluating bitsize
This should be setting a variable, not performing a comparison. (From OE-Core rev: cbe1b8277c610e8e31d1270757877300532bed56) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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:
40 self.my_assert(self.data[3], 'F') 40 self.my_assert(self.data[3], 'F')
41 if self.bits == 0: 41 if self.bits == 0:
42 if self.data[ELFFile.EI_CLASS] == chr(ELFFile.ELFCLASS32): 42 if self.data[ELFFile.EI_CLASS] == chr(ELFFile.ELFCLASS32):
43 self.bits == 32 43 self.bits = 32
44 elif self.data[ELFFile.EI_CLASS] == chr(ELFFile.ELFCLASS64): 44 elif self.data[ELFFile.EI_CLASS] == chr(ELFFile.ELFCLASS64):
45 self.bits == 64 45 self.bits = 64
46 else: 46 else:
47 # Not 32-bit or 64.. lets assert 47 # Not 32-bit or 64.. lets assert
48 raise Exception("ELF but not 32 or 64 bit.") 48 raise Exception("ELF but not 32 or 64 bit.")