aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Savoye <rob.savoye@linaro.org>2015-07-23 12:11:57 -0600
committerRob Savoye <rob.savoye@linaro.org>2015-07-23 12:12:07 -0600
commit38e32433edb76abe2fd264fd40a2b1c6b37b2b5b (patch)
treefd767b63360f76c741dae8711b25af485120a867
parent57e4b305f65c0079c7fd710d0cc13b7cb6e4e5cf (diff)
If the gcc or binutils source isn't specified, just use the default latest version from the config files.
Change-Id: I9682fb72fb09a88892b9610c42b2a8188a1dc11d
-rwxr-xr-xscripts/MakeRelease.job7
1 files changed, 5 insertions, 2 deletions
diff --git a/scripts/MakeRelease.job b/scripts/MakeRelease.job
index 6eef99ef..4187ffd1 100755
--- a/scripts/MakeRelease.job
+++ b/scripts/MakeRelease.job
@@ -89,10 +89,13 @@ else
libc="--set libc=newlib"
fi
+binutils=${binutils_src:+binutils=${binutils_src}}
+gcc=${gcc_src:+gcc=${gcc_src}}
+
# Build a toolchain, run the tests, and the create a source release as a tarball
if test x"${tarsrc}" = x"yes"; then
$CONFIG_SHELL ${abe_dir}/abe.sh --release ${release} \
- --tarsrc ${check} gcc=${gcc_src} binutils=${binutil s_src} ${platform} -build all ${libc}
+ --tarsrc ${check} ${gcc} ${binutils} ${platform} -build all ${libc}
fi
# Build a binary release tarball, then run the tests on the installed binaries
@@ -106,7 +109,7 @@ if test x"${tarbin}" = x"yes"; then
else
host=""
fi
- $CONFIG_SHELL ${abe_dir}/abe.sh ${update} --release ${release} --tarbin ${check} gcc=${gcc_src} binutils=${binutils_src} ${platform} ${host} --build all ${libc}
+ $CONFIG_SHELL ${abe_dir}/abe.sh ${update} --release ${release} --tarbin ${check} ${gcc} ${binutils } ${platform} ${host} --build all ${libc}
fi
# force a failure if abe has build problems.