diff options
author | Leah Rowe <leah@libreboot.org> | 2025-01-06 18:15:22 +0000 |
---|---|---|
committer | Leah Rowe <leah@libreboot.org> | 2025-01-06 18:15:22 +0000 |
commit | d4cc94d6b449060db7c2224e584b2e84d04e6d1f (patch) | |
tree | ad1384c6a2bc4391fb7cb0d1d2f2754a8db075e2 /include | |
parent | de6d2f556f16cae1a2c038f50d90a3a3945e3d42 (diff) |
rom.sh: don't run mkpicotool on dry builds
Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/rom.sh | 3 |
1 files changed, 2 insertions, 1 deletions
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 |