From f59e5d8e2b0339811c4242aa1e1ae8db8bcc8dfd Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Thu, 17 Sep 2026 10:55:19 +0100 Subject: [PATCH] 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 --- include/fw/rom.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/fw/rom.sh b/include/fw/rom.sh index 7292336a..1dd41e8d 100644 --- a/include/fw/rom.sh +++ b/include/fw/rom.sh @@ -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"; : }