Skip to content

Commit

Permalink
fixup! [WIP] base: linux-lmp: build the kernel with clang
Browse files Browse the repository at this point in the history
  • Loading branch information
quaresmajose committed Sep 12, 2023
1 parent 6d7f542 commit ef0196e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions meta-lmp-base/recipes-kernel/linux/linux-lmp-clang.inc
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit ef0196e

Please sign in to comment.