]> code.ossystems Code Review - openembedded-core.git/commit
lib/oe/classextend: Avoid early expansion of PR values
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 24 Jul 2014 21:10:13 +0000 (22:10 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 25 Jul 2014 14:33:32 +0000 (15:33 +0100)
commit5aea553e6eaa3b9647f26944976d2a9da79cba42
treede3db4f0f77054ceccd5846c50ec12bad4ba48bd
parent4544b7f1d0abd1b1efd74da430f1ddedf3fdbd1d
lib/oe/classextend: Avoid early expansion of PR values

Variables like RDEPENDS can contain EXTENDPKGV which in turn uses AUTOPR
based values. This gets set during do_package execution so we want to
defer expansion until then. The only way we can do this in the RDEPENDS
(and friends) mapping code is to subsitute a dummy value, then change it
back again. Horrible but I can't see any other way.

This resolves multilib build failures with inconsistent PR values.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oe/classextend.py