ANDROID: build.config: set NDK_TRIPLE
In order to support CONFIG_UAPI_HEADER_TEST=y with a bionic sysroot
using prebuilt bionic from the NDK, we need to set a different target
triple for USERCFLAGS than what's used when cross compiling the kernel
(so that the correct headers and libc.{a|so} are found+used).
Bug: 190019968
Signed-off-by: Nick Desaulniers <ndesaulniers@google.com>
Change-Id: Ib3e60c41b862cda9f79ff8d2c812aaa8bfb571af
This commit is contained in:
@@ -12,3 +12,5 @@ vmlinux.symvers
|
|||||||
modules.builtin
|
modules.builtin
|
||||||
modules.builtin.modinfo
|
modules.builtin.modinfo
|
||||||
"
|
"
|
||||||
|
|
||||||
|
NDK_TRIPLE=aarch64-linux-android31
|
||||||
|
|||||||
@@ -9,3 +9,5 @@ arch/arm/boot/zImage
|
|||||||
vmlinux
|
vmlinux
|
||||||
System.map
|
System.map
|
||||||
"
|
"
|
||||||
|
|
||||||
|
NDK_TRIPLE=arm-linux-androideabi31
|
||||||
|
|||||||
@@ -12,3 +12,5 @@ vmlinux.symvers
|
|||||||
modules.builtin
|
modules.builtin
|
||||||
modules.builtin.modinfo
|
modules.builtin.modinfo
|
||||||
"
|
"
|
||||||
|
|
||||||
|
NDK_TRIPLE=x86_64-linux-android31
|
||||||
|
|||||||
Reference in New Issue
Block a user