From: Dongxiao Xu <[email protected]>

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 <[email protected]>
---
 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 9d32844..71a577b 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)
-- 
1.7.6


_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core

Reply via email to