]> code.ossystems Code Review - openembedded-core.git/commit
package.bbclass: Various minor performance tweaks
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 3 Feb 2013 17:25:30 +0000 (17:25 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 6 Feb 2013 13:12:19 +0000 (13:12 +0000)
commit52b506145bcddc133ca93a8c9f7343de69d10907
tree89d5849986b5fe7ef4352b2e58ba1aaf1bd5d6a1
parent4b31d6f6f0a2a6b9e504ffae0d3b2099cbd7dddc
package.bbclass: Various minor performance tweaks

* Call getVar outside the loop
* Drop unneeded PATH export (bitbake does this already)
* Drop unused variable
* Simplify if statement nesting
* Simplify variable expandion to a getVar call (expand would just call getVar)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/package.bbclass