summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorHsia-Jun Li <randy.li@synaptics.com>2021-08-20 14:11:50 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-08-22 22:21:12 +0100
commit2cec34178d6e5864c5d6280532a77cfb9cb255ea (patch)
tree85906190d89fcdebfa6fabe1a2e852cb2d66e161 /meta
parent4b9cf2c80fd14386e0b88a2e6c40a9fa3f1ae0f7 (diff)
downloadopenembedded-core-2cec34178d6e5864c5d6280532a77cfb9cb255ea.tar.gz
lib/oe/elf: Add Android OS to machine_dict
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>
Diffstat (limited to 'meta')
-rw-r--r--meta/lib/oe/elf.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/meta/lib/oe/elf.py b/meta/lib/oe/elf.py
index df0a4593fa..46c884a775 100644
--- a/meta/lib/oe/elf.py
+++ b/meta/lib/oe/elf.py
@@ -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),