summaryrefslogtreecommitdiff
path: root/script/update/trees
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2023-12-21 13:26:26 +0000
committerLeah Rowe <leah@libreboot.org>2023-12-21 14:18:56 +0000
commit95788059ce607ab77f37d7d9b94a09219ad24a0a (patch)
tree92ea398a8636e5d6ef33750be81b2ff042ae3eff /script/update/trees
parent90ac30b163b47769695ba247b2d5cb7c43226815 (diff)
update/trees crossgcc: call err if arch isn't set
Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'script/update/trees')
-rwxr-xr-xscript/update/trees2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/update/trees b/script/update/trees
index 44a63263..f046b027 100755
--- a/script/update/trees
+++ b/script/update/trees
@@ -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"