summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2024-05-19 06:45:38 +0100
committerLeah Rowe <leah@libreboot.org>2024-05-19 06:45:38 +0100
commit1fe9c4b8991f3bff7532fd85f4fd9ece73044236 (patch)
tree4ef2335ae7ccf6b8c70c344c336fc113d49bdbf8
parentcc7ed6926b2bf53468320e32c236f269838178fb (diff)
option.sh: mktar_release to mkrom_tarball
that's all it's used for, to compress the rom images Signed-off-by: Leah Rowe <leah@libreboot.org>
-rwxr-xr-xinclude/option.sh2
-rwxr-xr-xscript/roms4
2 files changed, 3 insertions, 3 deletions
diff --git a/include/option.sh b/include/option.sh
index 45066166..8e50a932 100755
--- a/include/option.sh
+++ b/include/option.sh
@@ -151,7 +151,7 @@ git_err()
$err "Git name/email not configured"
}
-mktar_release()
+mkrom_tarball()
{
printf "%s\n" "${version}" > "${1}/version" || return 1
printf "%s\n" "${versiondate}" > "${1}/versiondate" || return 1
diff --git a/script/roms b/script/roms
index e18bdf17..07b205e4 100755
--- a/script/roms
+++ b/script/roms
@@ -99,7 +99,7 @@ handle_serprog()
done
fi
- [ "$xbmk_release" = "y" ] && mktar_release "bin/serprog_$1"; return 0
+ [ "$xbmk_release" = "y" ] && mkrom_tarball "bin/serprog_$1"; return 0
}
build_rp2040_rom()
@@ -148,7 +148,7 @@ handle_coreboot_target()
[ -d "bin/${board}" ] || return 0
[ "$xbmk_release" = "y" ] || targets="* bin/${board}\n${targets}"
- [ "$xbmk_release" = "y" ] && mktar_release "bin/$board" && \
+ [ "$xbmk_release" = "y" ] && mkrom_tarball "bin/$board" && \
targets="* bin/${relname}_$board.tar.xz\n$targets"; return 0
}