trees: simplify "utilmode" variable initialisation

Signed-off-by: Leah Rowe <leah@libreboot.org>
audit2
Leah Rowe 2024-06-29 19:44:47 +01:00 committed by Leah Rowe
parent cbe40044b4
commit cc61bd1239
1 changed files with 1 additions and 2 deletions

View File

@ -188,8 +188,7 @@ check_coreboot_utils()
utilelfdir="elf/$util/$1"
utilsrcdir="src/coreboot/$1/util/$util"
utilmode=""
[ -z "$mode" ] || utilmode="clean"
utilmode="" && [ -n "$mode" ] && utilmode="clean"
x_ make -C "$utilsrcdir" $utilmode -j$XBMK_THREADS $cbmakeargs
[ -z "$mode" ] && [ ! -f "$utilelfdir/$util" ] && \
x_ mkdir -p "$utilelfdir" && \