From d4cc94d6b449060db7c2224e584b2e84d04e6d1f Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Mon, 6 Jan 2025 18:15:22 +0000 Subject: rom.sh: don't run mkpicotool on dry builds Signed-off-by: Leah Rowe --- include/rom.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include') diff --git a/include/rom.sh b/include/rom.sh index 52e39b52..3e8c9c9b 100644 --- a/include/rom.sh +++ b/include/rom.sh @@ -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 -- cgit v1.2.1