conf: restore glibc.inc, removed by mistake for external-toolchain support
authorDenys Dmytriyenko <denis@denix.org>
Sat, 17 Oct 2009 03:50:02 +0000 (23:50 -0400)
committerDenys Dmytriyenko <denis@denix.org>
Sat, 17 Oct 2009 03:50:02 +0000 (23:50 -0400)
Revert "angstrom: clean ups of the external toolchain support"

This reverts commit 806811bf2d72827d3031bfcd5dbab1e82324d34e.

conf/distro/include/glibc.inc [new file with mode: 0644]

diff --git a/conf/distro/include/glibc.inc b/conf/distro/include/glibc.inc
new file mode 100644 (file)
index 0000000..2cb6502
--- /dev/null
@@ -0,0 +1,20 @@
+# Add glibc to the overrides.
+OVERRIDES .= ":libc-glibc"
+
+# The things glibc can provide.  We default to wanting glibc to provide them.
+PREFERRED_PROVIDER_virtual/libiconv ?= "glibc"
+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"