2010-08-03 01:56:04 +00:00
|
|
|
#
|
|
|
|
# eglibc specific configuration
|
|
|
|
#
|
|
|
|
|
2011-07-22 16:54:32 +00:00
|
|
|
LIBCEXTENSION = "${@['', '-gnu'][(d.getVar('ABIEXTENSION', True) or '') != '']}"
|
2011-05-10 13:04:57 +00:00
|
|
|
|
2010-08-03 01:56:04 +00:00
|
|
|
# Add glibc overrides to the overrides for eglibc.
|
2011-12-01 03:07:07 +00:00
|
|
|
LIBCOVERRIDE = ":libc-glibc"
|
|
|
|
OVERRIDES .= "${LIBCOVERRIDE}"
|
2010-08-03 01:56:04 +00:00
|
|
|
|
|
|
|
PREFERRED_PROVIDER_virtual/libiconv ?= "eglibc"
|
2011-12-22 17:43:33 +00:00
|
|
|
PREFERRED_PROVIDER_virtual/nativesdk-libiconv ?= "nativesdk-eglibc"
|
2010-08-03 01:56:04 +00:00
|
|
|
PREFERRED_PROVIDER_virtual/libintl ?= "eglibc"
|
|
|
|
PREFERRED_PROVIDER_virtual/libc ?= "eglibc"
|
2011-12-22 17:43:33 +00:00
|
|
|
PREFERRED_PROVIDER_virtual/nativesdk-libc ?= "nativesdk-eglibc"
|
2011-06-28 06:58:15 +00:00
|
|
|
PREFERRED_PROVIDER_virtual/libc-locale ?= "eglibc-locale"
|
2010-08-03 01:56:04 +00:00
|
|
|
|
|
|
|
CXXFLAGS += "-fvisibility-inlines-hidden"
|
|
|
|
|
2010-08-16 15:30:49 +00:00
|
|
|
LIBC_DEPENDENCIES = "libsegfault \
|
|
|
|
eglibc \
|
2012-04-27 22:39:12 +00:00
|
|
|
eglibc-dbg \
|
|
|
|
eglibc-dev \
|
|
|
|
eglibc-utils \
|
|
|
|
eglibc-thread-db \
|
2012-04-11 01:33:46 +00:00
|
|
|
${@get_libc_locales_dependencies(d)}"
|
|
|
|
|
|
|
|
LIBC_LOCALE_DEPENDENCIES = "\
|
|
|
|
eglibc-localedata-i18n \
|
|
|
|
eglibc-gconv-ibm850 \
|
|
|
|
eglibc-gconv-cp1252 \
|
|
|
|
eglibc-gconv-iso8859-1 \
|
2012-04-27 22:39:12 +00:00
|
|
|
eglibc-gconv-iso8859-15"
|
2012-04-11 01:33:46 +00:00
|
|
|
|
|
|
|
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 ''
|