./build release: don't do u-boot-only archives

it's a pointless feature, initially added just to one-up
gnuboot and only intended for canoeboot, to provide u-boot
tarballs with deblobbing. this was done, because the parabola
build system has certain limitations so the idea is to provide
them with tarballs. but why? they can just fix their build system...

delete this bloat from lbmk. we only need to provide full sources,
and rom images.

Signed-off-by: Leah Rowe <leah@libreboot.org>
20240612_branch
Leah Rowe 2024-05-15 03:19:32 +01:00
parent 5c3fb9a4f8
commit 914ff1ad12
1 changed files with 1 additions and 5 deletions

6
build
View File

@ -135,7 +135,6 @@ mkrelease()
done done
vdir="${vdir}/${version}" vdir="${vdir}/${version}"
[ "${mode}" = "u-boot" ] && relname="u-boot-for-${relname}"
src_dirname="${relname}_src" src_dirname="${relname}_src"
srcdir="${vdir}/${src_dirname}" srcdir="${vdir}/${src_dirname}"
@ -154,7 +153,7 @@ build_release()
( (
cd "${srcdir}" || $err "${_xm}: !cd \"${srcdir}\"" cd "${srcdir}" || $err "${_xm}: !cd \"${srcdir}\""
fetch_trees fetch_trees
[ "${mode}" = "u-boot" ] || x_ mv src/docs docs x_ mv src/docs docs
) || $err "can't create release files" ) || $err "can't create release files"
git log --graph --pretty=format:'%Cred%h%Creset %s %Creset' \ git log --graph --pretty=format:'%Cred%h%Creset %s %Creset' \
@ -167,7 +166,6 @@ build_release()
$err "$_xm: mksrc" $err "$_xm: mksrc"
) || $err "can't create src tarball" ) || $err "can't create src tarball"
[ "${mode}" = "src" ] && return 0 [ "${mode}" = "src" ] && return 0
[ "${mode}" = "u-boot" ] && return 0
( (
cd "${srcdir}" || $err "${_xm}: 2 !cd \"${srcdir}\"" cd "${srcdir}" || $err "${_xm}: 2 !cd \"${srcdir}\""
@ -183,11 +181,9 @@ build_release()
fetch_trees() fetch_trees()
{ {
for x in config/git/*; do for x in config/git/*; do
[ "${mode}" = "u-boot" ] && break
[ ! -f "${x}" ] || ./update trees -f "${x#config/git/}" || \ [ ! -f "${x}" ] || ./update trees -f "${x#config/git/}" || \
$err "${_xm}: fetch ${x#config/git/}" $err "${_xm}: fetch ${x#config/git/}"
done done
[ "${mode}" = "u-boot" ] && x_ ./update trees -f u-boot
for x in config/*/build.list; do for x in config/*/build.list; do
[ -f "${x}" ] || continue [ -f "${x}" ] || continue