* [PATCH 0/2] support building for Android target
@ 2021-08-20 6:11 randy.li
2021-08-20 6:11 ` [PATCH 1/2] cross-canadian: skip it for Android bionic Hsia-Jun Li
` (2 more replies)
0 siblings, 3 replies; 5+ messages in thread
From: randy.li @ 2021-08-20 6:11 UTC (permalink / raw)
To: openembedded-core; +Cc: Hsia-Jun(Randy) Li
From: "Hsia-Jun(Randy) Li" <randy.li@synaptics.com>
You may check the meta-android-ndk I posted to the -devel
list before.
Hsia-Jun Li (2):
cross-canadian: skip it for Android bionic
machine_dict: Add Android OS to it
meta/classes/cross-canadian.bbclass | 2 +-
meta/lib/oe/elf.py | 8 ++++++++
2 files changed, 9 insertions(+), 1 deletion(-)
--
2.7.4
^ permalink raw reply [flat|nested] 5+ messages in thread* [PATCH 1/2] cross-canadian: skip it for Android bionic 2021-08-20 6:11 [PATCH 0/2] support building for Android target randy.li @ 2021-08-20 6:11 ` Hsia-Jun Li 2021-08-20 6:11 ` [PATCH 2/2] machine_dict: Add Android OS to it Hsia-Jun Li 2021-08-20 17:34 ` [OE-core] [PATCH 0/2] support building for Android target Khem Raj 2 siblings, 0 replies; 5+ messages in thread From: Hsia-Jun Li @ 2021-08-20 6:11 UTC (permalink / raw) To: openembedded-core; +Cc: Hsia-Jun Li Signed-off-by: Hsia-Jun Li <randy.li@synaptics.com> --- meta/classes/cross-canadian.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/classes/cross-canadian.bbclass b/meta/classes/cross-canadian.bbclass index 447a2bb..ce8751e 100644 --- a/meta/classes/cross-canadian.bbclass +++ b/meta/classes/cross-canadian.bbclass @@ -32,7 +32,7 @@ python () { if d.getVar("MODIFYTOS") != "1": return - if d.getVar("TCLIBC") in [ 'baremetal', 'newlib' ]: + if d.getVar("TCLIBC") in [ 'baremetal', 'newlib', 'bionic' ]: return tos = d.getVar("TARGET_OS") -- 2.7.4 ^ permalink raw reply related [flat|nested] 5+ messages in thread
* [PATCH 2/2] machine_dict: Add Android OS to it 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 2021-08-20 17:34 ` [OE-core] [PATCH 0/2] support building for Android target Khem Raj 2 siblings, 0 replies; 5+ messages in thread From: Hsia-Jun Li @ 2021-08-20 6:11 UTC (permalink / raw) To: openembedded-core; +Cc: Hsia-Jun Li 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 ^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [OE-core] [PATCH 0/2] support building for Android target 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 ` [PATCH 2/2] machine_dict: Add Android OS to it Hsia-Jun Li @ 2021-08-20 17:34 ` Khem Raj 2021-08-30 7:40 ` Hsia-Jun Li 2 siblings, 1 reply; 5+ messages in thread From: Khem Raj @ 2021-08-20 17:34 UTC (permalink / raw) To: openembedded-core On 8/19/21 11:11 PM, Hsia-Jun Li wrote: > From: "Hsia-Jun(Randy) Li" <randy.li@synaptics.com> > > You may check the meta-android-ndk I posted to the -devel > list before. > These patches look ok. Can you explain why we want to ignore canadian sdk for bionic ? > Hsia-Jun Li (2): > cross-canadian: skip it for Android bionic > machine_dict: Add Android OS to it > > meta/classes/cross-canadian.bbclass | 2 +- > meta/lib/oe/elf.py | 8 ++++++++ > 2 files changed, 9 insertions(+), 1 deletion(-) > > > > > ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [OE-core] [PATCH 0/2] support building for Android target 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 0 siblings, 0 replies; 5+ messages in thread From: Hsia-Jun Li @ 2021-08-30 7:40 UTC (permalink / raw) To: Khem Raj, openembedded-core On 8/21/21 1:34 AM, Khem Raj wrote: > CAUTION: Email originated externally, do not click links or open > attachments unless you recognize the sender and know the content is safe. > > > On 8/19/21 11:11 PM, Hsia-Jun Li wrote: >> From: "Hsia-Jun(Randy) Li" <randy.li@synaptics.com> >> >> You may check the meta-android-ndk I posted to the -devel >> list before. >> > > These patches look ok. Can you explain why we want to ignore canadian > sdk for bionic ? Sorry for later reply Because it is hard to let android ndk toolchain pass the whitelist in that script. The libc used in Android is bionic but the android ndk toolchain would not take that name in its prefix. > >> Hsia-Jun Li (2): >> cross-canadian: skip it for Android bionic >> machine_dict: Add Android OS to it >> >> meta/classes/cross-canadian.bbclass | 2 +- >> meta/lib/oe/elf.py | 8 ++++++++ >> 2 files changed, 9 insertions(+), 1 deletion(-) >> >> >> >> >> > > > > -- Hsia-Jun(Randy) Li ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2021-08-30 7:40 UTC | newest] Thread overview: 5+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 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 ` [PATCH 2/2] machine_dict: Add Android OS to it Hsia-Jun Li 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
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox