We can reduce the for loops and command amounts to make it master.
Merged into master: http://git.openembedded.org/openembedded-core/commit/?id=a619f8e5fd8b88278d41a3d82aca5a8d03cb2907