mirror of
https://git.yoctoproject.org/poky
synced 2026-04-29 18:32:20 +02:00
Based on suggestions from RP libc-uclibc and libc-glibc overrides are for denoting system C library in use on the target and not for the host therefore we make sure that the override only takes effect for target recipes only. (From OE-Core rev: 6e2b53f47da0e97271fb51b281d24da1e1d549cc) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
33 lines
996 B
PHP
33 lines
996 B
PHP
#
|
|
# eglibc specific configuration
|
|
#
|
|
|
|
LIBCEXTENSION = "${@['', '-gnu'][(d.getVar('ABIEXTENSION', True) or '') != '']}"
|
|
|
|
# Add glibc overrides to the overrides for eglibc.
|
|
LIBCOVERRIDE = ":libc-glibc"
|
|
OVERRIDES .= "${LIBCOVERRIDE}"
|
|
|
|
PREFERRED_PROVIDER_virtual/libiconv ?= "eglibc"
|
|
PREFERRED_PROVIDER_virtual/libiconv-nativesdk ?= "eglibc-nativesdk"
|
|
PREFERRED_PROVIDER_virtual/libintl ?= "eglibc"
|
|
PREFERRED_PROVIDER_virtual/libc ?= "eglibc"
|
|
PREFERRED_PROVIDER_virtual/libc-nativesdk ?= "eglibc-nativesdk"
|
|
PREFERRED_PROVIDER_virtual/libc-locale ?= "eglibc-locale"
|
|
|
|
CXXFLAGS += "-fvisibility-inlines-hidden"
|
|
|
|
LIBC_DEPENDENCIES = "libsegfault \
|
|
eglibc \
|
|
eglibc-dbg \
|
|
eglibc-dev \
|
|
eglibc-utils \
|
|
eglibc-thread-db \
|
|
eglibc-localedata-i18n \
|
|
eglibc-gconv-ibm850 \
|
|
eglibc-gconv-cp1252 \
|
|
eglibc-gconv-iso8859-1 \
|
|
eglibc-gconv-iso8859-15 \
|
|
locale-base-en-us \
|
|
locale-base-en-gb "
|