summaryrefslogtreecommitdiff
path: root/meta/classes/prexport.bbclass
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2015-12-17 14:54:01 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-12-18 12:18:13 +0000
commit918d83460639df273f38ae079ffeebd6a79b3373 (patch)
tree73213fcc73b03c15fd2a79b8b086b95593343c69 /meta/classes/prexport.bbclass
parentf9fb02909f332365cad329352956a29cff6eba77 (diff)
downloadopenembedded-core-918d83460639df273f38ae079ffeebd6a79b3373.tar.gz
openembedded-core-918d83460639df273f38ae079ffeebd6a79b3373.tar.bz2
openembedded-core-918d83460639df273f38ae079ffeebd6a79b3373.zip
buildstats: Drop get_bn/set_pn and just use BUILDNAME
The current setting and getting of the "name" to use for buildstats is convoluted and not particularly interesting. We only need this for the e.getPkgs()[0] component of the path which is the first target listed on the commandline. This is pretty arbitrary. If we drop that piece, we can assume BUILDNAME is common for all events and simply use this and query it. If BUILDNAME did change, that would be a bug and it should be fixed elsewhere. Also take the opportunity to share some common code since the function now has the eventmask. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/prexport.bbclass')
0 files changed, 0 insertions, 0 deletions