mirror of
https://git.yoctoproject.org/poky
synced 2026-05-09 17:39:31 +00:00
cc8a2a0ff3
Its possible that BASE_PACKAGE_ARCH isn't set to ppce500 or ppce500v2 when we build native toolchains. So we can utilize TARGET_FPU being set to 'ppc-efd' or 'ppc-efs' to determine if we should enable the gnuspe ABI. (From OE-Core rev: 1a9ae8ea8c0540d41b8ff4d95c0420d6df754634) Signed-off-by: Kumar Gala <galak@kernel.crashing.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
35 lines
1.0 KiB
PHP
35 lines
1.0 KiB
PHP
#
|
|
# eglibc specific configuration
|
|
#
|
|
|
|
TARGET_OS = "linux"
|
|
TARGET_OS_arm = "linux-gnueabi"
|
|
TARGET_OS_armeb = "linux-gnueabi"
|
|
TARGET_OS_powerpc = "linux${@['','-gnuspe'][bb.data.getVar('TARGET_FPU',d,1) in ['ppc-efd', 'ppc-efs']]}"
|
|
|
|
# Add glibc overrides to the overrides for eglibc.
|
|
OVERRIDES .= ":libc-glibc"
|
|
|
|
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 "
|