diff options
author | Alexandru DAMIAN <alexandru.damian@intel.com> | 2013-12-18 19:24:47 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-12-21 09:05:01 +0000 |
commit | 7f2637ec8d1b8840c31255572b5cb058777382e7 (patch) | |
tree | d5ce15a9eabfb15289fffbf4946890bedf2bd9d8 /scripts | |
parent | 57794c201aa732392a135e03e04faf18929f645f (diff) | |
download | openembedded-core-7f2637ec8d1b8840c31255572b5cb058777382e7.tar.gz openembedded-core-7f2637ec8d1b8840c31255572b5cb058777382e7.tar.bz2 openembedded-core-7f2637ec8d1b8840c31255572b5cb058777382e7.zip |
toaster.bbclass: fix crash on buildstats collection
Toaster needs buildstats to be enabled in order to
collect task statistics. The toaster.bbclass didn't
have a guard to stop task data collection if the buildstats
weren't enabled, leading to a crash.
This patch verifies that the task variables are defined before
trying to use them.
Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions