public inbox for openembedded-core@lists.openembedded.org
 help / color / mirror / Atom feed
From: "Hsia-Jun Li" <randy.li@synaptics.com>
To: openembedded-core@lists.openembedded.org
Cc: Hsia-Jun Li <randy.li@synaptics.com>
Subject: [PATCH 2/2] machine_dict: Add Android OS to it
Date: Fri, 20 Aug 2021 14:11:50 +0800	[thread overview]
Message-ID: <20210820061150.146518-3-randy.li@synaptics.com> (raw)
In-Reply-To: <20210820061150.146518-1-randy.li@synaptics.com>

Signed-off-by: Hsia-Jun Li <randy.li@synaptics.com>
---
 meta/lib/oe/elf.py | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/meta/lib/oe/elf.py b/meta/lib/oe/elf.py
index df0a459..46c884a 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),
-- 
2.7.4


  parent reply	other threads:[~2021-08-20  6:12 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-20  6:11 [PATCH 0/2] support building for Android target randy.li
2021-08-20  6:11 ` [PATCH 1/2] cross-canadian: skip it for Android bionic Hsia-Jun Li
2021-08-20  6:11 ` Hsia-Jun Li [this message]
2021-08-20 17:34 ` [OE-core] [PATCH 0/2] support building for Android target Khem Raj
2021-08-30  7:40   ` Hsia-Jun Li

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210820061150.146518-3-randy.li@synaptics.com \
    --to=randy.li@synaptics.com \
    --cc=openembedded-core@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox