build/roms: create full release tarball name

set relname from option.sh under check_project()

now the release logic simply has to move a directory

Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
Leah Rowe
2024-05-15 01:23:22 +01:00
parent 36d45474c0
commit 189b70ddcb
3 changed files with 9 additions and 14 deletions
+2 -1
View File
@@ -160,7 +160,8 @@ handle_coreboot_target()
[ -d "bin/${board}" ] || return 0
[ "$lbmk_release" = "y" ] || targets="* bin/${board}\n${targets}"
[ "$lbmk_release" = "y" ] && targets="* bin/$board.tar.xz\n$targets"
[ "$lbmk_release" = "y" ] && \
targets="* bin/${relname}_$board.tar.xz\n$targets"
[ "$lbmk_release" = "y" ] && mktar_release "bin/$board"; return 0
}