rom.sh: don't run mkpicotool on dry builds

Signed-off-by: Leah Rowe <leah@libreboot.org>
master
Leah Rowe 2025-01-06 18:15:22 +00:00
parent 62d655b8dd
commit 8829539531
1 changed files with 2 additions and 1 deletions

View File

@ -8,9 +8,10 @@
mkserprog()
{
[ $# -lt 1 ] && $err "mkserprog: no arguments provided"
[ "$_f" = "-d" ] && return 0 # dry run
[ "$1" = "pico" ] && mkpicotool
[ "$_f" = "-d" ] && return 0 # dry run
basename -as .h "$serdir/"*.h > "$TMPDIR/ser" || $err "!mk $1 $TMPDIR"
while read -r sertarget; do