diff options
Diffstat (limited to 'meta')
-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.") |