summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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