mirror of
https://git.yoctoproject.org/meta-arm
synced 2026-01-12 03:10:15 +00:00
arm-toolchain: Support linux-arm64-ack build with Android Clang
This commit introduces a configuration variable, LINUX_ACK_TOOLCHAIN_CLANG, that (if set) switches the kernel build to use the Android Clang compiler Change-Id: Iab362916159bf6e8096061f1b7281a7513001d61
This commit is contained in:
committed by
Jon Mason
parent
c4fb4f53cb
commit
db56f59865
@@ -0,0 +1,8 @@
|
||||
# Clang-specific configuration of kernel build
|
||||
|
||||
# We need to add this dependency as the kernel configuration depends on the compiler
|
||||
do_kernel_configme[depends] += "androidclang-native:do_populate_sysroot"
|
||||
|
||||
DEPENDS:append = " androidclang-native"
|
||||
|
||||
KERNEL_CC = "${CCACHE}clang ${HOST_CC_KERNEL_ARCH}"
|
||||
@@ -0,0 +1,3 @@
|
||||
LINUX_ARM64_ACK_TOOLCHAIN_REQUIRE = "${@oe.utils.ifelse(d.getVar('LINUX_ACK_TOOLCHAIN_CLANG'), 'linux-arm64-ack-clang.inc', '')}"
|
||||
|
||||
require ${LINUX_ARM64_ACK_TOOLCHAIN_REQUIRE}
|
||||
Reference in New Issue
Block a user