Commit Message

From: Richard Purdie <richard.purdie@linuxfoundation.org>
When looking for RDEPENDS to process, bitbake iterates through PACKAGES
*and* PN. Since native.bbclass sets PACKAGES to be empty, its pointless
remapping the list of PACKAGES since this does nothing. There is a problem
since *_${PN} are used by bitbake but not remapped by the native.bbclass
class extension code.
This changes the code to remap _${PN} in both expanded and unexpanded
forms. We use the unexpanded form since d.expandkeys() has not been called
at the point this code executes. Remapping the expanded form is belt and braces
to cover any case where the unexpanded key form may not be present.
As a result of this, various surprising dependencies are uncovered
and the patch rectifies those. These are real bugs since they're injecting
unneeded (unremapped) dependencies into the dependency chain. Workarounds
for this kind of problem in autoconf are removed.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
---
meta/classes/native.bbclass | 2 +-
meta/recipes-devtools/autoconf/autoconf.inc | 2 ++
meta/recipes-devtools/autoconf/autoconf_2.68.bb | 8 --------
meta/recipes-devtools/automake/automake_1.11.1.bb | 4 ++--
.../recipes-devtools/python/python-native_2.7.2.bb | 2 ++
meta/recipes-gnome/gnome/gconf_3.2.3.bb | 1 +
meta/recipes-support/boost/boost.inc | 1 +
7 files changed, 9 insertions(+), 11 deletions(-)