From 5f47eca52462a0a17748805efbc9cb6bcab090ce Mon Sep 17 00:00:00 2001 From: kevios12 Date: Fri, 21 Jan 2022 00:40:44 +0100 Subject: [PATCH] universal7885: fix ld.gold not found This fix temp. in rom building (Building Kernel Image) the error: aarch64-linux-android-ld.gold: not found --- universal7885-common/BoardConfigCommon.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/universal7885-common/BoardConfigCommon.mk b/universal7885-common/BoardConfigCommon.mk index fed4e36..bd7a1b5 100644 --- a/universal7885-common/BoardConfigCommon.mk +++ b/universal7885-common/BoardConfigCommon.mk @@ -58,6 +58,7 @@ BOARD_KERNEL_CMDLINE := androidboot.init_fatal_reboot_target=recovery BOARD_MKBOOTIMG_ARGS := --kernel_offset 0x00008000 --ramdisk_offset 0x01000000 --tags_offset 0x00000100 TARGET_KERNEL_SOURCE := kernel/samsung/exynos7885 TARGET_KERNEL_CLANG_COMPILE := true +KERNEL_LD := LD=ld.lld # HIDL include device/samsung/universal7885-common/configs/vintf/manifest.mk