mirror of
https://git.yoctoproject.org/poky
synced 2026-05-30 12:29:55 +00:00
tclibc-eglibc.inc: make locale packages dependency conditional
Only add locale package dependencies if the eglibc is configured with locale support. This avoids dependencies issues for distros such as poky-tiny [RP: Add PR bump] (From OE-Core rev: bcaea8ec9c9c333f76b368225f60d4fb54c1c7b2) Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
6abc4c46fd
commit
88b399bb2c
@@ -23,10 +23,19 @@ LIBC_DEPENDENCIES = "libsegfault \
|
|||||||
eglibc-dev \
|
eglibc-dev \
|
||||||
eglibc-utils \
|
eglibc-utils \
|
||||||
eglibc-thread-db \
|
eglibc-thread-db \
|
||||||
eglibc-localedata-i18n \
|
${@get_libc_locales_dependencies(d)}"
|
||||||
eglibc-gconv-ibm850 \
|
|
||||||
eglibc-gconv-cp1252 \
|
LIBC_LOCALE_DEPENDENCIES = "\
|
||||||
eglibc-gconv-iso8859-1 \
|
eglibc-localedata-i18n \
|
||||||
eglibc-gconv-iso8859-15 \
|
eglibc-gconv-ibm850 \
|
||||||
locale-base-en-us \
|
eglibc-gconv-cp1252 \
|
||||||
locale-base-en-gb "
|
eglibc-gconv-iso8859-1 \
|
||||||
|
eglibc-gconv-iso8859-15 \
|
||||||
|
locale-base-en-us \
|
||||||
|
locale-base-en-gb"
|
||||||
|
|
||||||
|
def get_libc_locales_dependencies(d):
|
||||||
|
if 'libc-locales' in (d.getVar('DISTRO_FEATURES', True) or '').split() :
|
||||||
|
return d.getVar('LIBC_LOCALE_DEPENDENCIES', True) or ''
|
||||||
|
else:
|
||||||
|
return ''
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
DESCRIPTION = "Target packages for the standalone SDK"
|
DESCRIPTION = "Target packages for the standalone SDK"
|
||||||
PR = "r6"
|
PR = "r7"
|
||||||
LICENSE = "MIT"
|
LICENSE = "MIT"
|
||||||
LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \
|
LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \
|
||||||
file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
|
file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
|
||||||
|
|||||||
Reference in New Issue
Block a user