From 78aa57982efe523da9b52c15b2f3a423f8246390 Mon Sep 17 00:00:00 2001 From: Lu jicong Date: Tue, 1 Aug 2023 18:57:30 +0800 Subject: [PATCH] config: rockchip64_common: fix wrong M0 toolchain prefix rockchip ATF M0 code should use "arm-none-eabi-" toolchain to compile. "arm-linux-gnueabi-" toolchain causes LD error. --- config/sources/families/include/rockchip64_common.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/sources/families/include/rockchip64_common.inc b/config/sources/families/include/rockchip64_common.inc index 1b4969202..746c8a58f 100644 --- a/config/sources/families/include/rockchip64_common.inc +++ b/config/sources/families/include/rockchip64_common.inc @@ -159,8 +159,8 @@ prepare_boot_configuration() { ATFDIR='arm-trusted-firmware' ATFBRANCH='tag:v2.6' ATF_USE_GCC='> 6.3' - ATF_TARGET_MAP="M0_CROSS_COMPILE=arm-linux-gnueabi- PLAT=$BOOT_SOC bl31;;build/$BOOT_SOC/release/bl31/bl31.elf:bl31.elf" - ATF_TOOLCHAIN2="arm-linux-gnueabi-:< 10.0" + ATF_TARGET_MAP="M0_CROSS_COMPILE=arm-none-eabi- PLAT=$BOOT_SOC bl31;;build/$BOOT_SOC/release/bl31/bl31.elf:bl31.elf" + ATF_TOOLCHAIN2="arm-none-eabi-:< 10.0" [[ $BOOT_SCENARIO == "tpl-blob-atf-mainline" ]] && UBOOT_TARGET_MAP="BL31=bl31.elf idbloader.img u-boot.itb;;idbloader.img u-boot.itb"