summaryrefslogtreecommitdiff
path: root/meta/classes
diff options
context:
space:
mode:
authorMartin Jansa <martin.jansa@gmail.com>2014-08-24 18:22:46 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-08-25 10:23:27 +0100
commitcbd868c34718e8fd2a41f5382da71ee959ea4e71 (patch)
treebea5297ca7e903bedcd5e3dc2f2f60112fb7a734 /meta/classes
parent2bfe071d141117ddf41eade5404a0d27c349bbe8 (diff)
downloadopenembedded-core-cbd868c34718e8fd2a41f5382da71ee959ea4e71.tar.gz
openembedded-core-cbd868c34718e8fd2a41f5382da71ee959ea4e71.tar.bz2
openembedded-core-cbd868c34718e8fd2a41f5382da71ee959ea4e71.zip
buildhistory: Restore parsing time optimalization
* it was added in: http://git.openembedded.org/openembedded-core/commit/meta/classes/buildhistory.bbclass?id=540a2a30be21c3eca4323efbe91e7dcfc31a4c97 * then accidentally removed in: http://git.openembedded.org/openembedded-core/commit/meta/classes/buildhistory.bbclass?id=6db6c74f2876df7a183990426bb4262972966441 Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
-rw-r--r--meta/classes/buildhistory.bbclass2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/classes/buildhistory.bbclass b/meta/classes/buildhistory.bbclass
index 479e460c23..e8cdee57d0 100644
--- a/meta/classes/buildhistory.bbclass
+++ b/meta/classes/buildhistory.bbclass
@@ -499,6 +499,8 @@ POPULATE_SDK_POST_HOST_COMMAND_append = " buildhistory_list_installed_sdk_host ;
SDK_POSTPROCESS_COMMAND += "buildhistory_get_sdkinfo ; "
def buildhistory_get_build_id(d):
+ if d.getVar('BB_WORKERCONTEXT', True) != '1':
+ return ""
localdata = bb.data.createCopy(d)
bb.data.update_data(localdata)
statuslines = []