mirror of
https://git.yoctoproject.org/poky
synced 2026-05-30 00:20:08 +00:00
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>
This commit is contained in:
@@ -123,7 +123,7 @@ TUNE_ASARGS ??= ""
|
||||
TUNE_FEATURES ??= "${TUNE_FEATURES_tune-${DEFAULTTUNE}}"
|
||||
LIBCEXTENSION ??= ""
|
||||
ABIEXTENSION ??= ""
|
||||
USE_NLS ??= "${@bb.utils.contains('DISTRO_FEATURES', 'libc-locale-code', 'yes', 'no', d)}"
|
||||
USE_NLS ??= "yes"
|
||||
SDKUSE_NLS ??= "yes"
|
||||
|
||||
TARGET_ARCH = "${TUNE_ARCH}"
|
||||
@@ -820,7 +820,7 @@ IMAGE_FEATURES += "${EXTRA_IMAGE_FEATURES}"
|
||||
# Native distro features (will always be used for -native, even if they
|
||||
# are not enabled for target)
|
||||
DISTRO_FEATURES_NATIVE ?= "x11 ipv6 xattr"
|
||||
DISTRO_FEATURES_NATIVESDK ?= "x11 libc-charsets libc-locales libc-locale-code"
|
||||
DISTRO_FEATURES_NATIVESDK ?= "x11"
|
||||
|
||||
# Normally target distro features will not be applied to native builds:
|
||||
# Native distro features on this list will use the target feature value
|
||||
|
||||
@@ -10,17 +10,8 @@ LOCALE_UTF8_ONLY ?= "0"
|
||||
LOCALE_UTF8_IS_DEFAULT ?= "1"
|
||||
LOCALE_UTF8_IS_DEFAULT_class-nativesdk = "0"
|
||||
|
||||
DISTRO_FEATURES_DEFAULT ?= "acl alsa argp bluetooth ext2 irda largefile pcmcia usbgadget usbhost wifi xattr nfs zeroconf pci 3g nfc x11"
|
||||
DISTRO_FEATURES_LIBC_DEFAULT ?= "ipv4 ipv6 libc-backtrace libc-big-macros libc-bsd libc-cxx-tests libc-catgets libc-charsets libc-crypt \
|
||||
libc-crypt-ufc libc-db-aliases libc-envz libc-fcvt libc-fmtmsg libc-fstab libc-ftraverse \
|
||||
libc-getlogin libc-idn libc-inet-anl libc-libm libc-locales libc-locale-code \
|
||||
libc-memusage libc-nsswitch libc-rcmd libc-rtld-debug libc-spawn libc-streams \
|
||||
libc-utmp libc-utmpx libc-wordexp libc-posix-clang-wchar libc-posix-regexp libc-posix-regexp-glibc \
|
||||
libc-posix-wchar-io"
|
||||
DISTRO_FEATURES_LIBC ?= "${DISTRO_FEATURES_LIBC_DEFAULT}"
|
||||
DISTRO_FEATURES_LIBC_class-nativesdk = "${DISTRO_FEATURES_LIBC_DEFAULT}"
|
||||
DISTRO_FEATURES ?= "${DISTRO_FEATURES_DEFAULT} ${DISTRO_FEATURES_LIBC}"
|
||||
|
||||
DISTRO_FEATURES_DEFAULT ?= "acl alsa argp bluetooth ext2 ipv4 ipv6 irda largefile pcmcia usbgadget usbhost wifi xattr nfs zeroconf pci 3g nfc x11"
|
||||
DISTRO_FEATURES ?= "${DISTRO_FEATURES_DEFAULT}"
|
||||
IMAGE_FEATURES ?= ""
|
||||
|
||||
WHITELIST_GPL-3.0 ?= ""
|
||||
|
||||
@@ -22,17 +22,8 @@ LIBC_DEPENDENCIES = "libsegfault \
|
||||
glibc-dev \
|
||||
glibc-utils \
|
||||
glibc-thread-db \
|
||||
${@get_libc_locales_dependencies(d)}"
|
||||
|
||||
LIBC_LOCALE_DEPENDENCIES = "\
|
||||
glibc-localedata-i18n \
|
||||
glibc-gconv-ibm850 \
|
||||
glibc-gconv-cp1252 \
|
||||
glibc-gconv-iso8859-1 \
|
||||
glibc-gconv-iso8859-15"
|
||||
|
||||
def get_libc_locales_dependencies(d):
|
||||
if bb.utils.contains('DISTRO_FEATURES', 'libc-charsets libc-locale-code libc-locales', True, False, d):
|
||||
return d.getVar('LIBC_LOCALE_DEPENDENCIES') or ''
|
||||
else:
|
||||
return ''
|
||||
glibc-localedata-i18n \
|
||||
glibc-gconv-ibm850 \
|
||||
glibc-gconv-cp1252 \
|
||||
glibc-gconv-iso8859-1 \
|
||||
glibc-gconv-iso8859-15"
|
||||
|
||||
Reference in New Issue
Block a user