diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-12-17 14:54:01 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-12-18 12:18:18 +0000 |
commit | 7b1e48f9c7d5c2f62eefbb0bf67d158c72c82757 (patch) | |
tree | 7e24f4fc4fc386a70ca0af6ed8438d0fec623d7b /meta/recipes-extended/less | |
parent | 78371629b84dcd5c9fae39a8b454c9c9f071b6ff (diff) | |
download | poky-7b1e48f9c7d5c2f62eefbb0bf67d158c72c82757.tar.gz |
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.
(From OE-Core rev: 918d83460639df273f38ae079ffeebd6a79b3373)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/less')
0 files changed, 0 insertions, 0 deletions