diff options
author | Kai Kang <kai.kang@windriver.com> | 2018-12-05 08:00:56 -0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-12-05 22:30:19 +0000 |
commit | a0352216915da500536fbb73c1d999e90d999217 (patch) | |
tree | 31beee2e1ad4107d9041bbdb8e75130dc94aef4f /meta/recipes-core | |
parent | 3a439047bf51a0bae736d9dd6de91d8b8ab907cb (diff) | |
download | poky-a0352216915da500536fbb73c1d999e90d999217.tar.gz |
packages: respect PACKAGE_NO_GCONV
PACKAGE_NO_GCONV is set in libc-package.bbclass if not all of
'libc-charsets libc-locale-code libc-locales' included in
DISTRO_FEATURES. And then no packages glibc-gconv-* glibc-charmap-* and
glibc-localedata-* is created. Update recipes and conf file which depend
on these packages to check required distro features.
(From OE-Core rev: 58446992de0f16a345f1f55b66d0d34d31dc341b)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core')
-rw-r--r-- | meta/recipes-core/glib-2.0/glib.inc | 4 | ||||
-rw-r--r-- | meta/recipes-core/libxml/libxml2_2.9.8.bb | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/meta/recipes-core/glib-2.0/glib.inc b/meta/recipes-core/glib-2.0/glib.inc index e8215da583..a868b6df23 100644 --- a/meta/recipes-core/glib-2.0/glib.inc +++ b/meta/recipes-core/glib-2.0/glib.inc | |||
@@ -29,7 +29,9 @@ PACKAGES += "${PN}-codegen ${PN}-utils" | |||
29 | 29 | ||
30 | LEAD_SONAME = "libglib-2.0.*" | 30 | LEAD_SONAME = "libglib-2.0.*" |
31 | 31 | ||
32 | inherit autotools gettext gtk-doc pkgconfig ptest-gnome upstream-version-is-even bash-completion gio-module-cache manpages | 32 | inherit autotools gettext gtk-doc pkgconfig ptest-gnome upstream-version-is-even bash-completion gio-module-cache manpages distro_features_check |
33 | |||
34 | REQUIRED_DISTRO_FEATURES_libc-glibc = "${@'libc-charsets libc-locale-code libc-locales' if bb.utils.contains('DISTRO_FEATURES', 'ptest', True, False, d) else ''}" | ||
33 | 35 | ||
34 | S = "${WORKDIR}/glib-${PV}" | 36 | S = "${WORKDIR}/glib-${PV}" |
35 | 37 | ||
diff --git a/meta/recipes-core/libxml/libxml2_2.9.8.bb b/meta/recipes-core/libxml/libxml2_2.9.8.bb index 740bf56a5a..0e2461154b 100644 --- a/meta/recipes-core/libxml/libxml2_2.9.8.bb +++ b/meta/recipes-core/libxml/libxml2_2.9.8.bb | |||
@@ -38,10 +38,12 @@ PACKAGECONFIG ??= "python \ | |||
38 | PACKAGECONFIG[python] = "--with-python=${PYTHON},--without-python,python3" | 38 | PACKAGECONFIG[python] = "--with-python=${PYTHON},--without-python,python3" |
39 | PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6," | 39 | PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6," |
40 | 40 | ||
41 | inherit autotools pkgconfig binconfig-disabled ptest | 41 | inherit autotools pkgconfig binconfig-disabled ptest distro_features_check |
42 | 42 | ||
43 | inherit ${@bb.utils.contains('PACKAGECONFIG', 'python', 'python3native', '', d)} | 43 | inherit ${@bb.utils.contains('PACKAGECONFIG', 'python', 'python3native', '', d)} |
44 | 44 | ||
45 | REQUIRED_DISTRO_FEATURES_libc-glibc = "${@'libc-charsets libc-locale-code libc-locales' if bb.utils.contains('DISTRO_FEATURES', 'ptest', True, False, d) else ''}" | ||
46 | |||
45 | RDEPENDS_${PN}-ptest += "make ${@bb.utils.contains('PACKAGECONFIG', 'python', 'libgcc python3-core python3-logging python3-shell python3-stringold python3-threading python3-unittest ${PN}-python', '', d)}" | 47 | RDEPENDS_${PN}-ptest += "make ${@bb.utils.contains('PACKAGECONFIG', 'python', 'libgcc python3-core python3-logging python3-shell python3-stringold python3-threading python3-unittest ${PN}-python', '', d)}" |
46 | 48 | ||
47 | RDEPENDS_${PN}-python += "${@bb.utils.contains('PACKAGECONFIG', 'python', 'python3-core', '', d)}" | 49 | RDEPENDS_${PN}-python += "${@bb.utils.contains('PACKAGECONFIG', 'python', 'python3-core', '', d)}" |