summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2024-05-15 03:19:32 +0100
committerLeah Rowe <leah@libreboot.org>2024-05-15 03:19:32 +0100
commit914ff1ad12487eac7a65f885fc24cc00f0073b29 (patch)
treeb0dbe4b9f0e44dd5247e6bc1de4fd0ba561c0026
parent5c3fb9a4f887b8fb767f40cb12fcc097ac12d110 (diff)
./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>
-rwxr-xr-xbuild6
1 files changed, 1 insertions, 5 deletions
diff --git a/build b/build
index 708e89ae..4dec3734 100755
--- a/build
+++ b/build
@@ -135,7 +135,6 @@ mkrelease()
done
vdir="${vdir}/${version}"
- [ "${mode}" = "u-boot" ] && relname="u-boot-for-${relname}"
src_dirname="${relname}_src"
srcdir="${vdir}/${src_dirname}"
@@ -154,7 +153,7 @@ build_release()
(
cd "${srcdir}" || $err "${_xm}: !cd \"${srcdir}\""
fetch_trees
- [ "${mode}" = "u-boot" ] || x_ mv src/docs docs
+ x_ mv src/docs docs
) || $err "can't create release files"
git log --graph --pretty=format:'%Cred%h%Creset %s %Creset' \
@@ -167,7 +166,6 @@ build_release()
$err "$_xm: mksrc"
) || $err "can't create src tarball"
[ "${mode}" = "src" ] && return 0
- [ "${mode}" = "u-boot" ] && return 0
(
cd "${srcdir}" || $err "${_xm}: 2 !cd \"${srcdir}\""
@@ -183,11 +181,9 @@ build_release()
fetch_trees()
{
for x in config/git/*; do
- [ "${mode}" = "u-boot" ] && break
[ ! -f "${x}" ] || ./update trees -f "${x#config/git/}" || \
$err "${_xm}: fetch ${x#config/git/}"
done
- [ "${mode}" = "u-boot" ] && x_ ./update trees -f u-boot
for x in config/*/build.list; do
[ -f "${x}" ] || continue