From ef0196e3941e374be81e338b0409403a0e303093 Mon Sep 17 00:00:00 2001 From: Jose Quaresma Date: Tue, 12 Sep 2023 06:26:59 +0000 Subject: [PATCH] fixup! [WIP] base: linux-lmp: build the kernel with clang --- meta-lmp-base/recipes-kernel/linux/linux-lmp-clang.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meta-lmp-base/recipes-kernel/linux/linux-lmp-clang.inc b/meta-lmp-base/recipes-kernel/linux/linux-lmp-clang.inc index 6f68d28372..377ff04f74 100644 --- a/meta-lmp-base/recipes-kernel/linux/linux-lmp-clang.inc +++ b/meta-lmp-base/recipes-kernel/linux/linux-lmp-clang.inc @@ -4,8 +4,8 @@ TOOLCHAIN:forcevariable = "clang" DEPENDS:append:toolchain-clang = " clang-cross-${TARGET_ARCH}" KERNEL_CC:toolchain-clang = "${CCACHE}clang ${HOST_CC_KERNEL_ARCH} ${DEBUG_PREFIX_MAP} -fdebug-prefix-map=${STAGING_KERNEL_DIR}=${KERNEL_SRC_PATH}" -KERNEL_LD:toolchain-clang = "${CCACHE}ld.lld" -KERNEL_AR:toolchain-clang = "${CCACHE}llvm-ar" +KERNEL_LD:toolchain-clang = "${CCACHE}ld.lld ${HOST_LD_KERNEL_ARCH}" +KERNEL_AR:toolchain-clang = "${CCACHE}llvm-ar ${HOST_AR_KERNEL_ARCH}" # FIXME: hacks do_kernel_configcheck[noexec] = "1"