summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2015-10-19 17:41:16 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-10-20 10:11:44 +0100
commit80e2dfbfef2d40c3ab074142deac73317f89e3a2 (patch)
tree066e8d95e5f63021b70153aec1befe2343314b6c
parent83729437c584fc74577a2b15dbb2ae094788339d (diff)
downloadopenembedded-core-80e2dfbfef2d40c3ab074142deac73317f89e3a2.tar.gz
openembedded-core-80e2dfbfef2d40c3ab074142deac73317f89e3a2.tar.bz2
openembedded-core-80e2dfbfef2d40c3ab074142deac73317f89e3a2.zip
libc-package: Fix localedef multilib dependency issues
Building nativesdk-glibc-locale results in many messages like: QA Issue: nativesdk-locale-base-en-sg rdepends on localedef, but it isn't a build dependency? [build-deps] It should depend on ${MLPREFIX}localedef, not just localedef to fix these warnings. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-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 47be691e2d..adb423034d 100644
--- a/meta/classes/libc-package.bbclass
+++ b/meta/classes/libc-package.bbclass
@@ -236,8 +236,8 @@ python package_do_split_gconvs () {
supported[locale] = charset
def output_locale_source(name, pkgname, locale, encoding):
- d.setVar('RDEPENDS_%s' % pkgname, 'localedef %s-localedata-%s %s-charmap-%s' % \
- (mlprefix+bpn, legitimize_package_name(locale), mlprefix+bpn, legitimize_package_name(encoding)))
+ d.setVar('RDEPENDS_%s' % pkgname, '%slocaledef %s-localedata-%s %s-charmap-%s' % \
+ (mlprefix, mlprefix+bpn, legitimize_package_name(locale), mlprefix+bpn, legitimize_package_name(encoding)))
d.setVar('pkg_postinst_%s' % pkgname, d.getVar('locale_base_postinst', True) \
% (locale, encoding, locale))
d.setVar('pkg_postrm_%s' % pkgname, d.getVar('locale_base_postrm', True) % \