insane.bbclass: added dict entries for mipsel, i386, x86_64
authorMarcin Juszkiewicz <hrw@openembedded.org>
Mon, 19 Feb 2007 08:13:56 +0000 (08:13 +0000)
committerMarcin Juszkiewicz <hrw@openembedded.org>
Mon, 19 Feb 2007 08:13:56 +0000 (08:13 +0000)
x86_64 can not be detected properly with this code - needed change:
-           ELFFile.my_assert(self.data[ELFFile.EI_CLASS], chr(ELFFile.ELFCLASS32)) # only 32 bits
+           ELFFile.my_assert(self.data[ELFFile.EI_CLASS], chr(ELFFile.ELFCLASS64))

classes/insane.bbclass

index cda2ebc..c0c1516 100644 (file)
@@ -37,10 +37,13 @@ def package_qa_get_machine_dict():
             "linux" : { "arm" :       (40,    97,    0,          True),
                         "armeb":      (40,    97,    0,          False),
                         "powerpc":    (20,     0,    0,          False),
+                        "i386":       ( 3,     0,    0,          True),
+                        "x64_64":     (62,     0,    0,          True),
                       },
             "linux-uclibc" : { "arm" :       (40,    97,    0,          True),
                         "armeb":      (40,    97,    0,          False),
                         "powerpc":    (20,     0,    0,          False),
+                        "mipsel":     ( 8,     0,    0,          True),
                       },
         }