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:25 +0100 |
commit | 7a76bb53040663e009abab98ffcdc99aa5006b86 (patch) | |
tree | 61e5708a0d77d1cd2fd5367ebd3889831b261742 /meta/classes | |
parent | bcaa35fe541ea7dafd9cadb3c89c244c35bbe0ff (diff) | |
download | poky-7a76bb53040663e009abab98ffcdc99aa5006b86.tar.gz |
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.
(From OE-Core rev: bf49316bb9913b7c89de64d6a194be31aa66e16b)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
-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 | |||
259 | -e 's#@SDK_VERSION@#${SDK_VERSION}#g' \ | 259 | -e 's#@SDK_VERSION@#${SDK_VERSION}#g' \ |
260 | -e '/@SDK_PRE_INSTALL_COMMAND@/d' \ | 260 | -e '/@SDK_PRE_INSTALL_COMMAND@/d' \ |
261 | -e '/@SDK_POST_INSTALL_COMMAND@/d' \ | 261 | -e '/@SDK_POST_INSTALL_COMMAND@/d' \ |
262 | -e 's#@SDK_GCC_VER@#${@oe.utils.host_gcc_version(d)}#g' \ | 262 | -e 's#@SDK_GCC_VER@#${@oe.utils.host_gcc_version(d, taskcontextonly=True)}#g' \ |
263 | ${SDKDEPLOYDIR}/${TOOLCHAIN_OUTPUTNAME}.sh | 263 | ${SDKDEPLOYDIR}/${TOOLCHAIN_OUTPUTNAME}.sh |
264 | 264 | ||
265 | # add execution permission | 265 | # add execution permission |