diff options
author | Robert Yang <liezhi.yang@windriver.com> | 2019-02-14 14:37:19 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-02-15 08:03:11 +0000 |
commit | da798db0a48282e3d4f58890a7aec42c3deff0b8 (patch) | |
tree | ddb23cf601d0fca8ec3996f8d26716b950460184 /meta/recipes-connectivity | |
parent | ce6f4f3e40e8864e50bb06be37250f4e6f323acd (diff) | |
download | openembedded-core-da798db0a48282e3d4f58890a7aec42c3deff0b8.tar.gz |
base.bbclass: Check BuildStarted for HOSTTOOLS
There might be no bb.event.ConfigParsed event if bitbake server is running, so
check bb.event.BuildStarted too to make sure HOSTTOOLS_DIR exists.
Fixed:
$ export BB_SERVER_TIMEOUT=-1
$ bitbake quilt-native
$ rm -fr tmp
$ bitbake quilt-native
ERROR: Error running gcc --version: /bin/sh: gcc: command not found
This error is caused by enable_uninative(), it runs twice (ConfigParsed and
BuildStarted), the error would happen when there is no ConfigParsed event
(no hosttools is created), but BuildStarted. This patch can fix the problem.
[YOCTO #13022]
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-connectivity')
0 files changed, 0 insertions, 0 deletions