]> code.ossystems Code Review - openembedded-core.git/commit
package.bbclass: Check FILES once, not once per loop iteration
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 29 Jan 2013 13:49:56 +0000 (13:49 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 1 Feb 2013 15:51:29 +0000 (15:51 +0000)
commit40542f7a46bfb8431e31eca9af06adb4b343d810
tree3c9cc2aac648de9e86babcb045c74e081b8d76d4
parent9509627e06ab4cf18c5bbf3f405ecf19a9f40287
package.bbclass: Check FILES once, not once per loop iteration

There is no need to check FILES in each loop iteration, we can just check it once
at the start when we read the variable.

(From OE-Core rev: 1bcc5cba12cbb1b846b433719d1b0820f5a97105)

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