aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCharles Baylis <charles.baylis@linaro.org>2016-10-17 13:51:52 +0100
committerMaxim Kuvyrkov <maxim.kuvyrkov@linaro.org>2016-10-18 09:29:27 +0000
commita439b8194bc0f920b3a85f48ab5c3d8eda76f1e1 (patch)
tree741636a49254358c702f6a661663f0e72900ff3c
parent3acc4c4b07b3c2d569f65b3e5a7c8741deaf29d3 (diff)
Fix --build <arg>
When building one component, the collect_data function must be called for that component first, so that the version strings and conf files can be parsed. Change-Id: I42b35cd1b446a9e080e193a15d5879409f8a6516
-rwxr-xr-xabe.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/abe.sh b/abe.sh
index d389c702..53f965ee 100755
--- a/abe.sh
+++ b/abe.sh
@@ -1275,6 +1275,7 @@ if test ! -z ${do_build}; then
if test `echo ${do_build} | grep -c "gcc"` -gt 0; then
build_param=${do_build_stage}
fi
+ collect_data ${gitinfo}
build ${gitinfo}${build_param:+ ${build_param}}
if test $? -gt 0; then
error "Building ${gitinfo} failed."