build: use same tarball name on uboot-only release
it's a rarely used feature, not currently used by the libreboot project itself remove unnecessary bloat Signed-off-by: Leah Rowe <leah@libreboot.org>20240612_branch
parent
189b70ddcb
commit
4135ce5e27
7
build
7
build
|
@ -166,16 +166,9 @@ build_release()
|
|||
$err "build_release $srcdir: couldn't generate changelog"
|
||||
|
||||
(
|
||||
if [ "${mode}" = "u-boot" ]; then
|
||||
cd "${srcdir}/src/" || $err "${_xm}: mktarball \"${srcdir}\""
|
||||
mktarball u-boot "../../${srcdir##*/}.tar.xz" || \
|
||||
$err "$_xm: mksrc"
|
||||
# make a src archive containing only u-boot
|
||||
else
|
||||
cd "${srcdir%/*}" || $err "${_xm}: mktarball \"${srcdir}\""
|
||||
mktarball "${srcdir##*/}" "${srcdir##*/}.tar.xz" || \
|
||||
$err "$_xm: mksrc"
|
||||
fi
|
||||
) || $err "can't create src tarball"
|
||||
[ "${mode}" = "src" ] && return 0
|
||||
[ "${mode}" = "u-boot" ] && return 0
|
||||
|
|
Loading…
Reference in New Issue