]> code.ossystems Code Review - openembedded-core.git/commitdiff
lib/oe/elf: Add Android OS to machine_dict
authorHsia-Jun Li <randy.li@synaptics.com>
Fri, 20 Aug 2021 06:11:50 +0000 (14:11 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 22 Aug 2021 21:21:12 +0000 (22:21 +0100)
Add entries for Android to the mappings.

Signed-off-by: Hsia-Jun Li <randy.li@synaptics.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oe/elf.py

index df0a4593fadb5bc49c266e4bb1ddbfcfafa25276..46c884a7758b97b4fd832fa0debb224e0f5e6b92 100644 (file)
@@ -61,6 +61,14 @@ def machine_dict(d):
                         "microblaze":  (189,   0,    0,          False,         32),
                         "microblazeel":(189,   0,    0,          True,          32),
                       },
+            "linux-android" : {
+                        "aarch64" :   (183,    0,    0,          True,          64),
+                        "i686":       ( 3,     0,    0,          True,          32),
+                        "x86_64":     (62,     0,    0,          True,          64),
+                      },
+            "linux-androideabi" : {
+                        "arm" :       (40,    97,    0,          True,          32),
+                      },
             "linux-musl" : { 
                         "aarch64" :   (183,    0,    0,            True,          64),
                         "aarch64_be" :(183,    0,    0,            False,         64),