]> code.ossystems Code Review - openembedded-core.git/commit
eglibc: Add missing ${PN} and ${PKGSUFFIX} usages
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 2 Aug 2011 10:42:21 +0000 (11:42 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 2 Aug 2011 13:40:32 +0000 (14:40 +0100)
commit3a18aa65a4c123ea922b6cd09ca6a77090f12252
tree1db949c8d8998e6907dcdc2148c49a3625b3f802
parent0611cceca1595ea4656ebcb985cbd92bb9774ec8
eglibc: Add missing ${PN} and ${PKGSUFFIX} usages

This fixes warning messages such as:

The providers found were: ['virtual:nativesdk:eglibc_2.13.bb', 'eglibc_2.13.bb']
The PREFERRED_PROVIDER entries resulting in this conflict were: ['PREFERRED_PROVIDER_virtual/libc-nativesdk = eglibc-nativesdk', 'PREFERRED_PROVIDER_virtual/libc = eglibc']
NOTE: multiple providers are available for runtime glibc-utils (eglibc, eglibc-nativesdk, external-csl-toolchain, external-poky-toolchain)
NOTE: consider defining a PREFERRED_PROVIDER entry to match glibc-utils

This highlights how ugly adding to PN is when using BBCLASSEXTEND. We need to do this to
eglibc so the nativesdk class continues to work correctly for now and ensure consistency
in how the various eglibc packages are generated.

Longer term, if we switch nativesdk to use the multilib approach and MLPREFIX, we can
remove all the PKGSUFFIX mess. I'd rather not get into changing nativesdk right at this
time though given all the other changes that are going on.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-core/eglibc/eglibc-package.inc