Skip to contentSkip to conversation

insane: Add baremetal mappings to the QA arch test

PATCH Richard Purdie 2 participants 2 messages Mar 31, 2015

lore
Share & tools
lore
#0 lore raw

Add mappings for i586-elf, x86_64-elf and arm-eabi to binary lookup table which allows for a variety of baremetal toolchain generation.

meta/classes/insane.bbclass +7 -0
index 061ce5b..d0c6fea 100644
@@ -53,6 +53,13 @@ def package_qa_get_machine_dict():
             "darwin9" : { 
                         "arm" :       (40,     0,    0,          True,          32),
                       },
+            "eabi" : { 
+                        "arm" :       (40,     0,    0,          True,          32),
+                      },
+            "elf" : { 
+                        "i586" :      (3,      0,    0,          True,          32),
+                        "x86_64":     (62,     0,    0,          True,          64),
+                      },
             "linux" : { 
                         "aarch64" :   (183,    0,    0,          True,          64),
                         "aarch64_be" :(183,    0,    0,          False,         64),
#1 lore raw
Quoted 13 lines · Richard Purdie

Add mappings for i586-elf, x86_64-elf and arm-eabi to binary lookup table which allows for a variety of baremetal toolchain generation.

meta/classes/insane.bbclass +0 -0
index 061ce5b..d0c6fea 100644

meta/classes/insane.bbclass def package_qa_get_machine_dict(): · line 58

Quoted 6 lines
meta/classes/insane.bbclass +3 -0
@@ -53,6 +53,13 @@ def package_qa_get_machine_dict():
            "darwin9" : { 
                        "arm" :       (40,     0,    0,          True,          32),
                      },
+            "eabi" : { 
+                        "arm" :       (40,     0,    0,          True,          32),
+                      },

IIRC fsl ppc also uses eabi for baremetal

Quoted 14 lines
meta/classes/insane.bbclass +4 -0
+            "elf" : { 
+                        "i586" :      (3,      0,    0,          True,          32),
+                        "x86_64":     (62,     0,    0,          True,          64),
+                      },
            "linux" : { 
                        "aarch64" :   (183,    0,    0,          True,          64),
                        "aarch64_be" :(183,    0,    0,          False,         64),
Signature · 5 lines
-- 
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core