mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-11 05:52:36 +02:00
xbmk: rename the "dry" variable to if_not_dry_run
and add a line break where it is used now it is essentially a macro of sorts, used in terms of syntax, to mean the same as: if [ "$dry" != ":" ]; do thing fi in this case, we say: $if_not_dry_build \ thing yes. macros in sh are a thing. Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
@@ -4,4 +4,4 @@ sersrc="src/pico-serprog"
|
||||
serx="$sersrc/build/pico_serprog.uf2"
|
||||
picosdk="src/pico-sdk"
|
||||
serdir="$picosdk/src/boards/include/boards"
|
||||
premake="$dry eval fx_ \"buildser pico\" x_ basename -as .h \"\$serdir/\"*.h"
|
||||
premake="$if_not_dry_build eval fx_ \"buildser pico\" x_ basename -as .h \"\$serdir/\"*.h"
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
sersrc="src/stm32-vserprog"
|
||||
serx="$sersrc/stm32-vserprog.hex"
|
||||
serdir="$sersrc/boards"
|
||||
mkhelper="$dry eval fx_ \"buildser stm32\" x_ basename -as .h \"\$serdir/\"*.h"
|
||||
mkhelper="$if_not_dry_build eval fx_ \"buildser stm32\" x_ basename -as .h \"\$serdir/\"*.h"
|
||||
|
||||
Reference in New Issue
Block a user