mirror of
https://git.yoctoproject.org/poky
synced 2026-04-20 09:32:13 +02:00
cross-canadian: make android pass target sys check
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. (From OE-Core rev: e9527164cfd628cfd3def2077cc19e75add06db8) Signed-off-by: Hsia-Jun(Randy) Li <randy.li@synaptics.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
714f11a72d
commit
73967f5e6f
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user