build/roms: clean up tarball handling

Signed-off-by: Leah Rowe <leah@libreboot.org>
audit2-merge1
Leah Rowe 2024-05-15 02:36:24 +01:00 committed by Leah Rowe
parent 3469836f18
commit ae44676727
1 changed files with 4 additions and 3 deletions

View File

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