build/roms: clean up tarball handling

Signed-off-by: Leah Rowe <leah@libreboot.org>
20240612_branch
Leah Rowe 2024-05-15 02:36:24 +01:00
parent e5ffb2afe6
commit a40a61292d
1 changed files with 4 additions and 3 deletions

View File

@ -160,9 +160,10 @@ handle_coreboot_target()
[ -d "bin/${board}" ] || return 0
[ "$lbmk_release" = "y" ] || targets="* bin/${board}\n${targets}"
[ "$lbmk_release" = "y" ] && \
targets="* bin/${relname}_$board.tar.xz\n$targets"
[ "$lbmk_release" = "y" ] && mktar_release "bin/$board"; return 0
[ "$lbmk_release" = "y" ] || return 0
targets="* bin/${relname}_$board.tar.xz\n$targets"
mktar_release "bin/$board"
}
configure_target()