]> code.ossystems Code Review - openembedded-core.git/commit
staging/allarch: Remove hardcoded PACKAGE_ARCHS from the class
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 24 Jan 2017 17:48:09 +0000 (17:48 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 26 Jan 2017 10:41:08 +0000 (10:41 +0000)
commitb1bab7a6eff6b195824be7d754de58c6e9ee2bfb
treefb69c9566a3b301beb3a227bb6f6ea08d7992f33
parent40463f9d806b478a887128345a66135ef6fa2fe8
staging/allarch: Remove hardcoded PACKAGE_ARCHS from the class

The code was making an assumption that the only PACKAGE_ARCH in use
was TUNE_PKGARCH. This is incorrect so iterate over the list from
PACKAGE_EXTRA_ARCH instead.

We also need to change allarch to preserve this variable, else the
staging code doesn't function. We do this in a way which clears the
variable history so that the task hashes remain unaffected.

[Thanks to Andrew Goodbody <andrew.goodbody@cambrionix.com> for
testing/fixing]

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