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:54:01 +0000 (15:54 +0000)
commit4b0ab5cb5cec14933f7fafcf103d0f88d61152d4
tree87f1e95f25ed4b9ebb7878145d5c9e471af053bb
parentbb88a07034df280a6a74f1d1ee9ad5b1e013ad7f
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)

(From OE-Core rev: b5d65f5d5e5b26d3a2c673e899114c90bcaf6bc8)

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