]> code.ossystems Code Review - openembedded-core.git/commit
classes/buildstats: misc cleanups
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Wed, 6 May 2015 16:19:27 +0000 (17:19 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 7 May 2015 12:14:38 +0000 (13:14 +0100)
commit2392c9bae9fc7732ebafb8c2cd42e49ab281afc9
treeb5d724a541ec00e461c9ee80f2179449cf4657f3
parent76daab82185851608e5e225487e411504ecb6569
classes/buildstats: misc cleanups

* Rename BNFILE and DEVFILE so that they are clearly specific to this
  class, since they end up in the global scope
* Use "with open" when opening files consistently
* Use getVar('PF', True) instead of expand('${PF}')
* Drop some unnecessary assignments

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/buildstats.bbclass