diff options
Diffstat (limited to 'meta')
-rw-r--r-- | meta/conf/distro/include/tclibc-glibc.inc | 2 | ||||
-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 | ||||
-rw-r--r-- | meta/recipes-devtools/mtools/mtools_4.0.19.bb | 4 |
4 files changed, 10 insertions, 4 deletions
diff --git a/meta/conf/distro/include/tclibc-glibc.inc b/meta/conf/distro/include/tclibc-glibc.inc index 8d1076440f..abe619aaac 100644 --- a/meta/conf/distro/include/tclibc-glibc.inc +++ b/meta/conf/distro/include/tclibc-glibc.inc | |||
@@ -32,7 +32,7 @@ LIBC_LOCALE_DEPENDENCIES = "\ | |||
32 | glibc-gconv-iso8859-15" | 32 | glibc-gconv-iso8859-15" |
33 | 33 | ||
34 | def get_libc_locales_dependencies(d): | 34 | def get_libc_locales_dependencies(d): |
35 | if 'libc-locales' in (d.getVar('DISTRO_FEATURES') or '').split() : | 35 | if bb.utils.contains('DISTRO_FEATURES', 'libc-charsets libc-locale-code libc-locales', True, False, d): |
36 | return d.getVar('LIBC_LOCALE_DEPENDENCIES') or '' | 36 | return d.getVar('LIBC_LOCALE_DEPENDENCIES') or '' |
37 | else: | 37 | else: |
38 | return '' | 38 | return '' |
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)}" |
diff --git a/meta/recipes-devtools/mtools/mtools_4.0.19.bb b/meta/recipes-devtools/mtools/mtools_4.0.19.bb index 09742773e0..9972762b4e 100644 --- a/meta/recipes-devtools/mtools/mtools_4.0.19.bb +++ b/meta/recipes-devtools/mtools/mtools_4.0.19.bb | |||
@@ -37,7 +37,9 @@ SRC_URI = "${GNU_MIRROR}/mtools/mtools-${PV}.tar.bz2 \ | |||
37 | 37 | ||
38 | SRC_URI_append_class-native = " file://disable-hardcoded-configs.patch" | 38 | SRC_URI_append_class-native = " file://disable-hardcoded-configs.patch" |
39 | 39 | ||
40 | inherit autotools texinfo | 40 | inherit autotools texinfo distro_features_check |
41 | |||
42 | REQUIRED_DISTRO_FEATURES_libc-glibc = "libc-charsets libc-locale-code libc-locales" | ||
41 | 43 | ||
42 | EXTRA_OECONF = "--without-x" | 44 | EXTRA_OECONF = "--without-x" |
43 | 45 | ||