config: riscv64: move ATF_COMPILER to arch code

- no need to keep repeating this across families
This commit is contained in:
Ricardo Pardini 2026-01-15 03:00:16 +01:00 committed by Igor
parent b48c253f67
commit 1f4d149ef7
3 changed files with 1 additions and 2 deletions

View File

@ -14,7 +14,6 @@ BOOTPATCHDIR="u-boot-nezha"
UBOOT_TARGET_MAP=";;u-boot.img"
# Arm Trusted Firmware
declare -g ATF_COMPILER="riscv64-linux-gnu-"
declare -g ATFSOURCE="https://github.com/riscv-software-src/opensbi.git"
declare -g ATFDIR="opensbi"
declare -g ATFBRANCH="tag:v1.5.1"

View File

@ -12,7 +12,6 @@ declare -g LINUXFAMILY="spacemit"
declare -g GOVERNOR="performance"
# OpenSBI
declare -g ATF_COMPILER="riscv64-linux-gnu-"
declare -g ATFSOURCE="https://gitee.com/bianbu-linux/opensbi.git"
declare -g ATFDIR="opensbi"
declare -g ATFBRANCH="tag:k1-bl-v2.2.7-release"

View File

@ -24,6 +24,7 @@ declare -g KERNEL_INSTALL_TYPE="${KERNEL_INSTALL_TYPE:-"install"}"
declare -g NAME_KERNEL="${NAME_KERNEL:-"Image"}"
declare -g NAME_INITRD="${NAME_INITRD:-"uInitrd"}"
[[ $ATF_COMPILE != "no" && -z $ATF_COMPILER ]] && ATF_COMPILER="riscv64-linux-gnu-"
[[ -z $KERNEL_COMPILER ]] && KERNEL_COMPILER='riscv64-linux-gnu-'
[[ -z $UBOOT_COMPILER ]] && UBOOT_COMPILER='riscv64-linux-gnu-'
[[ -z $INITRD_ARCH ]] && INITRD_ARCH=riscv