]> code.ossystems Code Review - openembedded-core.git/commit
package.bbclass: Avoid copying the datastore for FILES handling
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 29 Jan 2013 13:51:06 +0000 (13:51 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 1 Feb 2013 15:51:29 +0000 (15:51 +0000)
commitb5d65f5d5e5b26d3a2c673e899114c90bcaf6bc8
treef71913914d3a4f432c86c29482e7dd06354bd8ac
parent40542f7a46bfb8431e31eca9af06adb4b343d810
package.bbclass: Avoid copying the datastore for FILES handling

There is no real point in adjusting overrides and creating a copy of the datastore,
just to access a single variable. We can do this just as easily with a slightly
more complicated getVar call. This improves performance.

(From OE-Core rev: 69f4351809359a0c7c38e8f233f3e3f7680ed2e2)

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