rom.sh: remove redundant check

if_build / empty mode are a given here, since this
is a premake function which only executes if
the mode string is empty and/or if_build is empty

Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
Leah Rowe
2026-09-17 10:55:19 +01:00
parent 4530c6f2e3
commit f59e5d8e2b
+1 -1
View File
@@ -64,7 +64,7 @@ corebootpremake()
printf "%s\n" "${version%%-*}" > "$srcdir/.coreboot-version" || \
err "!mk $srcdir .coreboot-version" "corebootpremake" "$@"
[ -z "$mode" ] && [ "$target" != "$tree" ] && \
[ "$target" != "$tree" ] && \
x_ "$mk" download "$target"; :
}