diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-09-05 00:41:13 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-09-05 18:00:00 +0100 |
commit | bf49316bb9913b7c89de64d6a194be31aa66e16b (patch) | |
tree | 7d958115bc934653c388412f6afb9f5bf97cb5b1 /meta/classes/populate_sdk_base.bbclass | |
parent | 713c83fd00ab16250f05b0c3933f0c8178b8a33e (diff) | |
download | openembedded-core-bf49316bb9913b7c89de64d6a194be31aa66e16b.tar.gz openembedded-core-bf49316bb9913b7c89de64d6a194be31aa66e16b.tar.bz2 openembedded-core-bf49316bb9913b7c89de64d6a194be31aa66e16b.zip |
populate_base_sdk: Stop running gcc --version all the time
Running 'gcc --version' for every image recipe is slow and increases parsing
time/resource usage for no good reason. Only compute the value in when we're
really running the task/function.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/populate_sdk_base.bbclass')
-rw-r--r-- | meta/classes/populate_sdk_base.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/populate_sdk_base.bbclass b/meta/classes/populate_sdk_base.bbclass index c456c52866..bbf1ff1cd2 100644 --- a/meta/classes/populate_sdk_base.bbclass +++ b/meta/classes/populate_sdk_base.bbclass @@ -259,7 +259,7 @@ EOF -e 's#@SDK_VERSION@#${SDK_VERSION}#g' \ -e '/@SDK_PRE_INSTALL_COMMAND@/d' \ -e '/@SDK_POST_INSTALL_COMMAND@/d' \ - -e 's#@SDK_GCC_VER@#${@oe.utils.host_gcc_version(d)}#g' \ + -e 's#@SDK_GCC_VER@#${@oe.utils.host_gcc_version(d, taskcontextonly=True)}#g' \ ${SDKDEPLOYDIR}/${TOOLCHAIN_OUTPUTNAME}.sh # add execution permission |