From 693a4c31c9c071e5af21570107698ec79f709246 Mon Sep 17 00:00:00 2001 From: Dongxiao Xu Date: Wed, 28 Sep 2011 14:16:45 +0800 Subject: 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 --- meta/classes/libc-package.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'meta/classes/libc-package.bbclass') 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) -- cgit v1.2.3