diff options
author | Khem Raj <raj.khem@gmail.com> | 2019-02-26 18:27:04 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-02-28 13:21:54 +0000 |
commit | 9d973d3b4ed8d2ce3c8997dc21603a0952e7ef0e (patch) | |
tree | d82567893852c0134a574f1c45ce7db7b90c2fd0 /meta/conf | |
parent | 561ff52c516990c769681446c22d516eb6b91461 (diff) | |
download | poky-9d973d3b4ed8d2ce3c8997dc21603a0952e7ef0e.tar.gz |
default-distrovars: Drop DISTRO_FEATURES_LIBC
After eglibc was merged into glibc, Kconfig support was also dropped so
these libc features therefore are not effective anymore and can be
removed
(From OE-Core rev: c62b1cc06613a4cdddf53290e6203559f43fc62d)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/conf')
-rw-r--r-- | meta/conf/bitbake.conf | 4 | ||||
-rw-r--r-- | meta/conf/distro/include/default-distrovars.inc | 13 | ||||
-rw-r--r-- | meta/conf/distro/include/tclibc-glibc.inc | 19 |
3 files changed, 9 insertions, 27 deletions
diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf index 435646a946..1c5369ec98 100644 --- a/meta/conf/bitbake.conf +++ b/meta/conf/bitbake.conf | |||
@@ -123,7 +123,7 @@ TUNE_ASARGS ??= "" | |||
123 | TUNE_FEATURES ??= "${TUNE_FEATURES_tune-${DEFAULTTUNE}}" | 123 | TUNE_FEATURES ??= "${TUNE_FEATURES_tune-${DEFAULTTUNE}}" |
124 | LIBCEXTENSION ??= "" | 124 | LIBCEXTENSION ??= "" |
125 | ABIEXTENSION ??= "" | 125 | ABIEXTENSION ??= "" |
126 | USE_NLS ??= "${@bb.utils.contains('DISTRO_FEATURES', 'libc-locale-code', 'yes', 'no', d)}" | 126 | USE_NLS ??= "yes" |
127 | SDKUSE_NLS ??= "yes" | 127 | SDKUSE_NLS ??= "yes" |
128 | 128 | ||
129 | TARGET_ARCH = "${TUNE_ARCH}" | 129 | TARGET_ARCH = "${TUNE_ARCH}" |
@@ -820,7 +820,7 @@ IMAGE_FEATURES += "${EXTRA_IMAGE_FEATURES}" | |||
820 | # Native distro features (will always be used for -native, even if they | 820 | # Native distro features (will always be used for -native, even if they |
821 | # are not enabled for target) | 821 | # are not enabled for target) |
822 | DISTRO_FEATURES_NATIVE ?= "x11 ipv6 xattr" | 822 | DISTRO_FEATURES_NATIVE ?= "x11 ipv6 xattr" |
823 | DISTRO_FEATURES_NATIVESDK ?= "x11 libc-charsets libc-locales libc-locale-code" | 823 | DISTRO_FEATURES_NATIVESDK ?= "x11" |
824 | 824 | ||
825 | # Normally target distro features will not be applied to native builds: | 825 | # Normally target distro features will not be applied to native builds: |
826 | # Native distro features on this list will use the target feature value | 826 | # Native distro features on this list will use the target feature value |
diff --git a/meta/conf/distro/include/default-distrovars.inc b/meta/conf/distro/include/default-distrovars.inc index 76edff6480..7a0baf3260 100644 --- a/meta/conf/distro/include/default-distrovars.inc +++ b/meta/conf/distro/include/default-distrovars.inc | |||
@@ -10,17 +10,8 @@ LOCALE_UTF8_ONLY ?= "0" | |||
10 | LOCALE_UTF8_IS_DEFAULT ?= "1" | 10 | LOCALE_UTF8_IS_DEFAULT ?= "1" |
11 | LOCALE_UTF8_IS_DEFAULT_class-nativesdk = "0" | 11 | LOCALE_UTF8_IS_DEFAULT_class-nativesdk = "0" |
12 | 12 | ||
13 | DISTRO_FEATURES_DEFAULT ?= "acl alsa argp bluetooth ext2 irda largefile pcmcia usbgadget usbhost wifi xattr nfs zeroconf pci 3g nfc x11" | 13 | DISTRO_FEATURES_DEFAULT ?= "acl alsa argp bluetooth ext2 ipv4 ipv6 irda largefile pcmcia usbgadget usbhost wifi xattr nfs zeroconf pci 3g nfc x11" |
14 | DISTRO_FEATURES_LIBC_DEFAULT ?= "ipv4 ipv6 libc-backtrace libc-big-macros libc-bsd libc-cxx-tests libc-catgets libc-charsets libc-crypt \ | 14 | DISTRO_FEATURES ?= "${DISTRO_FEATURES_DEFAULT}" |
15 | libc-crypt-ufc libc-db-aliases libc-envz libc-fcvt libc-fmtmsg libc-fstab libc-ftraverse \ | ||
16 | libc-getlogin libc-idn libc-inet-anl libc-libm libc-locales libc-locale-code \ | ||
17 | libc-memusage libc-nsswitch libc-rcmd libc-rtld-debug libc-spawn libc-streams \ | ||
18 | libc-utmp libc-utmpx libc-wordexp libc-posix-clang-wchar libc-posix-regexp libc-posix-regexp-glibc \ | ||
19 | libc-posix-wchar-io" | ||
20 | DISTRO_FEATURES_LIBC ?= "${DISTRO_FEATURES_LIBC_DEFAULT}" | ||
21 | DISTRO_FEATURES_LIBC_class-nativesdk = "${DISTRO_FEATURES_LIBC_DEFAULT}" | ||
22 | DISTRO_FEATURES ?= "${DISTRO_FEATURES_DEFAULT} ${DISTRO_FEATURES_LIBC}" | ||
23 | |||
24 | IMAGE_FEATURES ?= "" | 15 | IMAGE_FEATURES ?= "" |
25 | 16 | ||
26 | WHITELIST_GPL-3.0 ?= "" | 17 | WHITELIST_GPL-3.0 ?= "" |
diff --git a/meta/conf/distro/include/tclibc-glibc.inc b/meta/conf/distro/include/tclibc-glibc.inc index abe619aaac..3246490997 100644 --- a/meta/conf/distro/include/tclibc-glibc.inc +++ b/meta/conf/distro/include/tclibc-glibc.inc | |||
@@ -22,17 +22,8 @@ LIBC_DEPENDENCIES = "libsegfault \ | |||
22 | glibc-dev \ | 22 | glibc-dev \ |
23 | glibc-utils \ | 23 | glibc-utils \ |
24 | glibc-thread-db \ | 24 | glibc-thread-db \ |
25 | ${@get_libc_locales_dependencies(d)}" | 25 | glibc-localedata-i18n \ |
26 | 26 | glibc-gconv-ibm850 \ | |
27 | LIBC_LOCALE_DEPENDENCIES = "\ | 27 | glibc-gconv-cp1252 \ |
28 | glibc-localedata-i18n \ | 28 | glibc-gconv-iso8859-1 \ |
29 | glibc-gconv-ibm850 \ | 29 | glibc-gconv-iso8859-15" |
30 | glibc-gconv-cp1252 \ | ||
31 | glibc-gconv-iso8859-1 \ | ||
32 | glibc-gconv-iso8859-15" | ||
33 | |||
34 | def get_libc_locales_dependencies(d): | ||
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 '' | ||
37 | else: | ||
38 | return '' | ||