diff options
author | Dongxiao Xu <dongxiao.xu@intel.com> | 2011-09-28 14:16:45 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-09-28 11:47:23 +0100 |
commit | 693a4c31c9c071e5af21570107698ec79f709246 (patch) | |
tree | 31654f7c93c1516d17fea4fbfa0dc69ff5ed6f7d /meta/classes/libc-package.bbclass | |
parent | e0ffab2321b22b40333a0e857d42c16ae599cc0c (diff) | |
download | openembedded-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.bbclass | 2 |
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) |