summaryrefslogtreecommitdiffstats
path: root/meta/classes/buildhistory.bbclass
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:26:00 +0100
commite601c8b1603fd7f977fd307d7cecea9fb9331119 (patch)
treebc41065d6d7bb48f0b526fd088d39a13adbe93cc /meta/classes/buildhistory.bbclass
parentc919acf345859385c1a2ca532309777cdcd0c17d (diff)
downloadpoky-e601c8b1603fd7f977fd307d7cecea9fb9331119.tar.gz
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 (From OE-Core rev: cbd868c34718e8fd2a41f5382da71ee959ea4e71) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/buildhistory.bbclass')
-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 ;
499SDK_POSTPROCESS_COMMAND += "buildhistory_get_sdkinfo ; " 499SDK_POSTPROCESS_COMMAND += "buildhistory_get_sdkinfo ; "
500 500
501def buildhistory_get_build_id(d): 501def buildhistory_get_build_id(d):
502 if d.getVar('BB_WORKERCONTEXT', True) != '1':
503 return ""
502 localdata = bb.data.createCopy(d) 504 localdata = bb.data.createCopy(d)
503 bb.data.update_data(localdata) 505 bb.data.update_data(localdata)
504 statuslines = [] 506 statuslines = []