diff options
author | Mark Hatle <mark.hatle@windriver.com> | 2011-03-03 10:37:05 -0600 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-03-03 23:49:19 +0000 |
commit | 18420c41126803a8cb6490664eb004eb7a72207d (patch) | |
tree | 738169f5bceed10f8a70e9c73424868bb7ec8bc8 /meta/lib | |
parent | d94abab5e4d13f9f56d47b98cdecc651405c5c03 (diff) | |
download | poky-18420c41126803a8cb6490664eb004eb7a72207d.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/lib')
-rw-r--r-- | meta/lib/oe/qa.py | 4 |
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.") |