package.bbclass: Move PKG handling code to emit_pkgdata
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 29 Jan 2013 13:53:17 +0000 (13:53 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 1 Feb 2013 15:54:01 +0000 (15:54 +0000)
commit441d8306392efb47f402bcccf127af6d5be2e3de
tree122d65686d0518896b6b88a088c906827d1c840e
parent4b0ab5cb5cec14933f7fafcf103d0f88d61152d4
package.bbclass: Move PKG handling code to emit_pkgdata

We only use the PKG variable in emit_pkgdata so we might as well move the
fallback code there, allowing restructuring of other parts of the metadata.

(From OE-Core rev: 0136ae9a5f719f0e7ba6e00bfd366c0e61b3b3f2)

(From OE-Core rev: df38695f0fbea10289e85fdcb7c2bdf566990577)

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