summaryrefslogtreecommitdiff
path: root/meta/classes/libc-package.bbclass
diff options
context:
space:
mode:
authorLianhao Lu <lianhao.lu@intel.com>2012-05-18 17:18:11 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-05-18 15:22:22 +0100
commita52f7cf2cc90d918e3250c410995dcc1f3bfd5ee (patch)
tree42991412630c733cecaff38d803d0fbf89425544 /meta/classes/libc-package.bbclass
parent7163ebd92a799b8f000b2b6f303b20de468b5f90 (diff)
downloadopenembedded-core-a52f7cf2cc90d918e3250c410995dcc1f3bfd5ee.tar.gz
openembedded-core-a52f7cf2cc90d918e3250c410995dcc1f3bfd5ee.tar.bz2
openembedded-core-a52f7cf2cc90d918e3250c410995dcc1f3bfd5ee.tar.xz
openembedded-core-a52f7cf2cc90d918e3250c410995dcc1f3bfd5ee.zip
(libc-)package.bbclass: Added MLPREFIX to locale packages.
Added multilib prefix to the locale related package names/dependencies. Signed-off-by: Lianhao Lu <lianhao.lu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/libc-package.bbclass')
-rw-r--r--meta/classes/libc-package.bbclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/classes/libc-package.bbclass b/meta/classes/libc-package.bbclass
index 57b6fd98f..10f5f8748 100644
--- a/meta/classes/libc-package.bbclass
+++ b/meta/classes/libc-package.bbclass
@@ -308,10 +308,10 @@ python package_do_split_gconvs () {
pkgname = d.getVar('MLPREFIX') + 'locale-base-' + legitimize_package_name(name)
d.setVar('ALLOW_EMPTY_%s' % pkgname, '1')
d.setVar('PACKAGES', '%s %s' % (pkgname, d.getVar('PACKAGES', True)))
- rprovides = ' virtual-locale-%s' % legitimize_package_name(name)
+ rprovides = ' %svirtual-locale-%s' % (mlprefix, legitimize_package_name(name))
m = re.match("(.*)_(.*)", name)
if m:
- rprovides += ' virtual-locale-%s' % m.group(1)
+ rprovides += ' %svirtual-locale-%s' % (mlprefix, m.group(1))
d.setVar('RPROVIDES_%s' % pkgname, rprovides)
if use_bin == "compile":