From 914ff1ad12487eac7a65f885fc24cc00f0073b29 Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Wed, 15 May 2024 03:19:32 +0100 Subject: ./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 --- build | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'build') 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 -- cgit v1.2.1