From: "Hsia-Jun(Randy) Li" <randy...@synaptics.com>

We could build an Android toolchain but its triple should
always contain the string android or clang can't link
the right object files for it.

Signed-off-by: Hsia-Jun(Randy) Li <randy...@synaptics.com>
---
 meta/classes/cross-canadian.bbclass | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta/classes/cross-canadian.bbclass 
b/meta/classes/cross-canadian.bbclass
index 447a2bb..ffbc216 100644
--- a/meta/classes/cross-canadian.bbclass
+++ b/meta/classes/cross-canadian.bbclass
@@ -40,6 +40,8 @@ python () {
     extralibcs = [""]
     if "musl" in d.getVar("BASECANADIANEXTRAOS"):
         extralibcs.append("musl")
+    if "android" in tos:
+        extralibcs.append("android")
     for variant in ["", "spe", "x32", "eabi", "n32", "_ilp32"]:
         for libc in extralibcs:
             entry = "linux"
-- 
2.7.4

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#155713): 
https://lists.openembedded.org/g/openembedded-core/message/155713
Mute This Topic: https://lists.openembedded.org/mt/85409129/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to