From 9691bf38b822ac14af38511c954d52caf4607d02 Mon Sep 17 00:00:00 2001 From: TheMalachite Date: Tue, 27 Sep 2022 10:01:26 +0000 Subject: [PATCH] universal7885: Switch to LLVM utils and ld.lld * fixes linker issues in T Signed-off-by: Gian --- universal7885-common/BoardConfigCommon.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/universal7885-common/BoardConfigCommon.mk b/universal7885-common/BoardConfigCommon.mk index ab8eb50..3c089ff 100644 --- a/universal7885-common/BoardConfigCommon.mk +++ b/universal7885-common/BoardConfigCommon.mk @@ -63,6 +63,7 @@ TARGET_INIT_VENDOR_LIB := //$(COMMON_PATH):libinit_universal7885 # Kernel TARGET_KERNEL_ARCH := arm64 BOARD_KERNEL_IMAGE_NAME := Image +TARGET_KERNEL_ADDITIONAL_FLAGS += LD=ld.lld AR=llvm-ar NM=llvm-nm OBJCOPY=llvm-objcopy OBJDUMP=llvm-objdump STRIP=llvm-strip BOARD_KERNEL_BASE := 0x10000000 BOARD_KERNEL_PAGESIZE := 2048 BOARD_KERNEL_CMDLINE := androidboot.init_fatal_reboot_target=recovery