aboutsummaryrefslogtreecommitdiffstats
path: root/conf/distro/include/eglibc.inc
diff options
context:
space:
mode:
authorRoman I Khimov <khimov@altell.ru>2009-05-19 13:15:56 +0400
committerRoman I Khimov <khimov@altell.ru>2009-06-01 21:38:39 +0400
commitffa55a98f65d84d73824032fd70de68f5a96c551 (patch)
tree62f6058a1492ea4155982c75a4456497db5cd8e6 /conf/distro/include/eglibc.inc
parentd63d3549606cab7ef3f2ee68967f960828acc386 (diff)
downloadopenembedded-ffa55a98f65d84d73824032fd70de68f5a96c551.tar.gz
(e)glibc.inc: add minimal sane kernel versions, move from bitbake.conf
(e)glibc is configured for OLDEST_KERNEL, certain target architectures have specific requirements for kernel versions, if that are not satisfied (e)glibc reconfigures itself with what it think more appropriate and warns user that there is misconfiguration on his side. Add minimal sane kernel versions for architectures requiring that. Also move (e)glibc-specific OLDEST_KERNEL variable from bitbake.conf to (e)glibc.inc files that are more appropriate for this. Acked-by: Tom Rini <trini@embeddedalley.com>
Diffstat (limited to 'conf/distro/include/eglibc.inc')
-rw-r--r--conf/distro/include/eglibc.inc11
1 files changed, 11 insertions, 0 deletions
diff --git a/conf/distro/include/eglibc.inc b/conf/distro/include/eglibc.inc
index 0d2087ed4b..04431403e2 100644
--- a/conf/distro/include/eglibc.inc
+++ b/conf/distro/include/eglibc.inc
@@ -7,3 +7,14 @@ PREFERRED_PROVIDER_virtual/libintl ?= "eglibc"
PREFERRED_PROVIDER_virtual/libc = "eglibc"
PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}libc-initial = "eglibc-initial"
PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}libc-for-gcc = "eglibc"
+
+# eglibc is configured for OLDEST_KERNEL kernel version, so we set minimal
+# sane versions there
+
+OLDEST_KERNEL ?= "2.4.0"
+
+# ARM OABI is fine with 2.4.0, EABI is not, so we override on "-gnueabi"
+# TARGET_OS here, not on architecture which is 'arm' in both cases
+OLDEST_KERNEL_linux-gnueabi ?= "2.6.16"
+OLDEST_KERNEL_sparc64 ?= "2.4.21"
+OLDEST_KERNEL_ppc64 ?= "2.4.21"