summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoralk3pInjection <webmaster@raspii.tech>2022-09-02 02:04:03 +0800
committeralk3pInjection <webmaster@raspii.tech>2022-09-02 02:04:03 +0800
commit02542b105f624f108f43421b7135ae22b89ec3d1 (patch)
tree8dfdd7751a073ae5583e7e04b8f0306e8c8aada1
parentd3edb6607719fae62f2b16e9ef640587cab79899 (diff)
kernel_definitions: Switch host binutils to LLVMtachibana
Change-Id: Ib55aa1c516048c78491dd026fa07d73cec98c18d
-rw-r--r--kernel_definitions.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel_definitions.mk b/kernel_definitions.mk
index d2e4ffa..97026d9 100644
--- a/kernel_definitions.mk
+++ b/kernel_definitions.mk
@@ -36,8 +36,8 @@ ifeq ($(BOARD_KERNEL_SEPARATED_DTBO), true)
TARGET_KERNEL_MAKE_ENV += CONFIG_BUILD_ARM64_DT_OVERLAY=y
endif
TARGET_KERNEL_MAKE_ENV += HOSTCC=$(SOURCE_ROOT)/$(SOONG_LLVM_PREBUILTS_PATH)/clang
-TARGET_KERNEL_MAKE_ENV += HOSTAR=$(SOURCE_ROOT)/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.17-4.8/bin/x86_64-linux-ar
-TARGET_KERNEL_MAKE_ENV += HOSTLD=$(SOURCE_ROOT)/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.17-4.8/bin/x86_64-linux-ld
+TARGET_KERNEL_MAKE_ENV += HOSTAR=$(SOURCE_ROOT)/$(SOONG_LLVM_PREBUILTS_PATH)/llvm-ar
+TARGET_KERNEL_MAKE_ENV += HOSTLD=$(SOURCE_ROOT)/$(SOONG_LLVM_PREBUILTS_PATH)/lld
TARGET_KERNEL_MAKE_CFLAGS = "-I/usr/include -I/usr/include/x86_64-linux-gnu -L/usr/lib -L/usr/lib/x86_64-linux-gnu -fuse-ld=lld"
TARGET_KERNEL_MAKE_LDFLAGS = "-L/usr/lib -L/usr/lib/x86_64-linux-gnu -fuse-ld=lld"