diff options
Diffstat (limited to 'meta/conf')
| -rw-r--r-- | meta/conf/distro/include/poky-eglibc.inc | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/meta/conf/distro/include/poky-eglibc.inc b/meta/conf/distro/include/poky-eglibc.inc new file mode 100644 index 0000000000..57d6d28289 --- /dev/null +++ b/meta/conf/distro/include/poky-eglibc.inc | |||
| @@ -0,0 +1,29 @@ | |||
| 1 | # | ||
| 2 | # eglibc specific configuration | ||
| 3 | # | ||
| 4 | |||
| 5 | # Add glibc overrides to the overrides for eglibc. | ||
| 6 | OVERRIDES .= ":libc-glibc" | ||
| 7 | |||
| 8 | PREFERRED_PROVIDER_virtual/libiconv ?= "eglibc" | ||
| 9 | PREFERRED_PROVIDER_virtual/libintl ?= "eglibc" | ||
| 10 | PREFERRED_PROVIDER_virtual/libc ?= "eglibc" | ||
| 11 | PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}libc-initial = "eglibc-initial" | ||
| 12 | PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}libc-for-gcc = "eglibc" | ||
| 13 | |||
| 14 | TARGET_OS = "${GLIBCTARGETOS}" | ||
| 15 | |||
| 16 | CXXFLAGS += "-fvisibility-inlines-hidden" | ||
| 17 | |||
| 18 | |||
| 19 | # eglibc is configured for OLDEST_KERNEL kernel version, so we set minimal | ||
| 20 | # sane versions there | ||
| 21 | |||
| 22 | OLDEST_KERNEL ?= "2.4.0" | ||
| 23 | |||
| 24 | # ARM OABI is fine with 2.4.0, EABI is not, so we override on "-gnueabi" | ||
| 25 | # TARGET_OS here, not on architecture which is 'arm' in both cases | ||
| 26 | OLDEST_KERNEL_linux-gnueabi ?= "2.6.16" | ||
| 27 | OLDEST_KERNEL_sparc64 ?= "2.4.21" | ||
| 28 | OLDEST_KERNEL_ppc64 ?= "2.4.21" | ||
| 29 | |||
