From 1fe9c4b8991f3bff7532fd85f4fd9ece73044236 Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Sun, 19 May 2024 06:45:38 +0100 Subject: [PATCH] option.sh: mktar_release to mkrom_tarball that's all it's used for, to compress the rom images Signed-off-by: Leah Rowe --- include/option.sh | 2 +- script/roms | 4 ++-- 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 }