./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 cbmk. we only need to provide full sources, and rom images. Signed-off-by: Leah Rowe <leah@libreboot.org>audit2-merge1
parent
d8a923f766
commit
18d0e53480
6
build
6
build
|
@ -128,7 +128,6 @@ mkrelease()
|
|||
done
|
||||
|
||||
vdir="${vdir}/${version}"
|
||||
[ "${mode}" = "u-boot" ] && relname="u-boot-for-${relname}"
|
||||
src_dirname="${relname}_src"
|
||||
srcdir="${vdir}/${src_dirname}"
|
||||
|
||||
|
@ -147,7 +146,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' \
|
||||
|
@ -160,7 +159,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}\""
|
||||
|
@ -176,11 +174,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
|
||||
|
|
Loading…
Reference in New Issue