]> git.openpandora.org Git - openembedded.git/commitdiff
(e)glibc.inc: add minimal sane kernel versions, move from bitbake.conf
authorRoman I Khimov <khimov@altell.ru>
Tue, 19 May 2009 09:15:56 +0000 (13:15 +0400)
committerRoman I Khimov <khimov@altell.ru>
Mon, 1 Jun 2009 17:38:39 +0000 (21:38 +0400)
(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>
conf/bitbake.conf
conf/distro/include/eglibc.inc
conf/distro/include/glibc.inc

index 0caa162f678ae6585f0c445b15eba565bcf110de..e711a1f1d22f428f46d4a448196e0fdbee6556dc 100644 (file)
@@ -656,8 +656,6 @@ require conf/enterprise.conf
 # Weak variables (usually to retain backwards compatibility)
 ##################################################################
 
-OLDEST_KERNEL ?= "2.4.0"
-
 DL_DIR ?= "${TMPDIR}/downloads"
 IMAGE_FSTYPES ?= "tar.gz"
 PCMCIA_MANAGER ?= "pcmcia-cs"
index 0d2087ed4bdda184685b1b47b8ec0081eacd7e81..04431403e2b82304fe53e91eb46a357d04a3d6ff 100644 (file)
@@ -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"
index f9140ffa438267e081b729f8d70f739c2f6f07fb..2cb6502322f6f83f31fdc8e06e4f222a824ffad4 100644 (file)
@@ -7,3 +7,14 @@ PREFERRED_PROVIDER_virtual/libintl ?= "glibc"
 PREFERRED_PROVIDER_virtual/libc = "glibc"
 PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}libc-initial = "glibc-initial"
 PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}libc-for-gcc = "glibc"
+
+# glibc 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.14"
+OLDEST_KERNEL_sparc64 ?= "2.4.21"
+OLDEST_KERNEL_ppc64 ?= "2.4.21"