summaryrefslogtreecommitdiff
path: root/meta/classes/libc-package.bbclass
diff options
context:
space:
mode:
authorDongxiao Xu <dongxiao.xu@intel.com>2011-09-28 14:16:45 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-09-28 11:47:23 +0100
commit693a4c31c9c071e5af21570107698ec79f709246 (patch)
tree31654f7c93c1516d17fea4fbfa0dc69ff5ed6f7d /meta/classes/libc-package.bbclass
parente0ffab2321b22b40333a0e857d42c16ae599cc0c (diff)
downloadopenembedded-core-693a4c31c9c071e5af21570107698ec79f709246.tar.gz
openembedded-core-693a4c31c9c071e5af21570107698ec79f709246.tar.bz2
openembedded-core-693a4c31c9c071e5af21570107698ec79f709246.zip
libc-package.bbclass: add MLPREFIX when set values to PACKAGES
There are some places that PACKAGES are dynamically set. To support multilib, we need to add MLPREFIX before the package name in those settings. Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Diffstat (limited to 'meta/classes/libc-package.bbclass')
-rw-r--r--meta/classes/libc-package.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/libc-package.bbclass b/meta/classes/libc-package.bbclass
index 9d328441cc..71a577b5c0 100644
--- a/meta/classes/libc-package.bbclass
+++ b/meta/classes/libc-package.bbclass
@@ -311,7 +311,7 @@ python package_do_split_gconvs () {
raise bb.build.FuncFailed("localedef returned an error")
def output_locale(name, locale, encoding):
- pkgname = 'locale-base-' + legitimize_package_name(name)
+ pkgname = bb.data.getVar('MLPREFIX', d) + 'locale-base-' + legitimize_package_name(name)
bb.data.setVar('ALLOW_EMPTY_%s' % pkgname, '1', d)
bb.data.setVar('PACKAGES', '%s %s' % (pkgname, bb.data.getVar('PACKAGES', d, 1)), d)
rprovides = ' virtual-locale-%s' % legitimize_package_name(name)