summaryrefslogtreecommitdiff
path: root/include/rom.sh
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2025-10-06 12:43:04 +0100
committerLeah Rowe <leah@libreboot.org>2025-10-06 12:43:04 +0100
commit1b54c7a744ac474bdcf0844ace97741b949a6fa1 (patch)
tree8a98ef98158264612a0d9e14852881b837d4c4ae /include/rom.sh
parentafccecbde01ce657bc7a65c2f69f9b4fbd958739 (diff)
rom.sh: use if_dry_build macro
instead of checking if_not_dry_build. use it here the same way. yes. shell script macros. it's how i roll. Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'include/rom.sh')
-rw-r--r--include/rom.sh6
1 files changed, 2 insertions, 4 deletions
diff --git a/include/rom.sh b/include/rom.sh
index b1c3c559..67723559 100644
--- a/include/rom.sh
+++ b/include/rom.sh
@@ -25,9 +25,8 @@ buildser()
copyps1bios()
{
- if [ "$if_not_dry_build" = ":" ]; then
+ $if_dry_build \
return 0
- fi
remkdir "bin/playstation"
x_ cp src/pcsx-redux/src/mips/openbios/openbios.bin bin/playstation
@@ -45,9 +44,8 @@ mkpayload_grub()
grub_modules=""
grub_install_modules=""
- if [ "$if_not_dry_build" = ":" ]; then
+ $if_dry_build \
return 0
- fi
. "$grubdata/module/$tree" || \
err "Can't read '$grubdata/module/$tree'" "mkpayload_grub" "$@"