summaryrefslogtreecommitdiffstats
path: root/meta/classes/libc-package.bbclass
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:12:01 +0100
commit8578bc17b54da97d42b257b3c8f398ac52b91a9f (patch)
tree039429427e3c8605b5d72f8e6d0dd75e4c31cf06 /meta/classes/libc-package.bbclass
parent0942afffddf3c1af933b41cc58831966232ce563 (diff)
downloadpoky-8578bc17b54da97d42b257b3c8f398ac52b91a9f.tar.gz
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. (From OE-Core rev: 80e2dfbfef2d40c3ab074142deac73317f89e3a2) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/libc-package.bbclass')
-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 () {
236 supported[locale] = charset 236 supported[locale] = charset
237 237
238 def output_locale_source(name, pkgname, locale, encoding): 238 def output_locale_source(name, pkgname, locale, encoding):
239 d.setVar('RDEPENDS_%s' % pkgname, 'localedef %s-localedata-%s %s-charmap-%s' % \ 239 d.setVar('RDEPENDS_%s' % pkgname, '%slocaledef %s-localedata-%s %s-charmap-%s' % \
240 (mlprefix+bpn, legitimize_package_name(locale), mlprefix+bpn, legitimize_package_name(encoding))) 240 (mlprefix, mlprefix+bpn, legitimize_package_name(locale), mlprefix+bpn, legitimize_package_name(encoding)))
241 d.setVar('pkg_postinst_%s' % pkgname, d.getVar('locale_base_postinst', True) \ 241 d.setVar('pkg_postinst_%s' % pkgname, d.getVar('locale_base_postinst', True) \
242 % (locale, encoding, locale)) 242 % (locale, encoding, locale))
243 d.setVar('pkg_postrm_%s' % pkgname, d.getVar('locale_base_postrm', True) % \ 243 d.setVar('pkg_postrm_%s' % pkgname, d.getVar('locale_base_postrm', True) % \