update/trees crossgcc: call err if arch isn't set

Signed-off-by: Leah Rowe <leah@libreboot.org>
9020vga
Leah Rowe 2023-12-21 13:26:26 +00:00
parent 90ac30b163
commit 95788059ce
1 changed files with 1 additions and 1 deletions

View File

@ -175,7 +175,7 @@ handle_src_tree()
check_cross_compiler()
{
[ "$project" = "u-boot" ] || [ "$project" = "coreboot" ] || return 0
[ -z "${arch}" ] && return 0
[ -z "${arch}" ] && err "${project}/${tree}: arch isn't set"
_arch="${arch}"
[ "${arch}" = "aarch64-elf" ] && _arch="aarch64-elf arm-eabi"