summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRandy Witt <randy.e.witt@linux.intel.com>2015-03-24 17:16:26 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-03-31 22:23:19 +0100
commit051ce59440b11fbb2f8c840561b48c9c14b6acc7 (patch)
tree803b6b3735373da5f66d0236da8da3346bf5d3e5
parent40731942515ec8d80c727ad561174986d4f05818 (diff)
downloadpoky-051ce59440b11fbb2f8c840561b48c9c14b6acc7.tar.gz
populate_sdk_ext: Log the "Preparing build system" step
When using bitbake to do the setscene as part of sdk setup, it would be useful to have a log in the case where it fails. The log is called preparing_build_system.log and is in the top level directory of the extracted sdk. (From OE-Core rev: 698019f6bb1f72f079cc2cb051e665620bf551a3) Signed-off-by: Randy Witt <randy.e.witt@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/classes/populate_sdk_ext.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/populate_sdk_ext.bbclass b/meta/classes/populate_sdk_ext.bbclass
index ec1cff0658..22e0ffca28 100644
--- a/meta/classes/populate_sdk_ext.bbclass
+++ b/meta/classes/populate_sdk_ext.bbclass
@@ -182,7 +182,7 @@ sdk_ext_postinst() {
182 # dash which is /bin/sh on Ubuntu will not preserve the 182 # dash which is /bin/sh on Ubuntu will not preserve the
183 # current working directory when first ran, nor will it set $1 when 183 # current working directory when first ran, nor will it set $1 when
184 # sourcing a script. That is why this has to look so ugly. 184 # sourcing a script. That is why this has to look so ugly.
185 sh -c ". buildtools/environment-setup* > /dev/null && cd $target_sdk_dir/`dirname ${oe_init_build_env_path}` && set $target_sdk_dir && . $target_sdk_dir/${oe_init_build_env_path} $target_sdk_dir > /dev/null && bitbake ${SDK_TARGETS} > /dev/null" || { echo "SDK preparation failed" ; exit 1 ; } 185 sh -c ". buildtools/environment-setup* > preparing_build_system.log && cd $target_sdk_dir/`dirname ${oe_init_build_env_path}` && set $target_sdk_dir && . $target_sdk_dir/${oe_init_build_env_path} $target_sdk_dir >> preparing_build_system.log && bitbake ${SDK_TARGETS} >> preparing_build_system.log" || { echo "SDK preparation failed: see `pwd`/preparing_build_system.log" ; exit 1 ; }
186 echo done 186 echo done
187} 187}
188 188