summaryrefslogtreecommitdiff
path: root/conf
diff options
context:
space:
mode:
authorTom Rini <trini@embeddedalley.com>2009-04-23 18:28:50 -0400
committerTom Rini <trini@embeddedalley.com>2009-05-04 12:21:47 -0400
commit19641ab1b283755f6e3c02c167db5b2bf564c566 (patch)
tree009a9cf1e37f228705753a6bcb5c10c2210622ea /conf
parent714bed6ab1174ec126ea7d8c8655d1cfd6900325 (diff)
Add distro inc files for eglibc, glibc and uclibc.
This gives us the libc into OVERRIDES, of glibc for glibc/eglibc and uclibc for uclibc. We also ?= for libintl/libiconv and = set the rest of the virtuals. Acked-by: Leon Woestenberg <leon@sidebranch.com> Acked-by: Mike Westerhof <mwester@dls.net> Signed-off-by: Tom Rini <trini@embeddedalley.com>
Diffstat (limited to 'conf')
-rw-r--r--conf/distro/include/eglibc.inc9
-rw-r--r--conf/distro/include/glibc.inc9
-rw-r--r--conf/distro/include/uclibc.inc9
3 files changed, 27 insertions, 0 deletions
diff --git a/conf/distro/include/eglibc.inc b/conf/distro/include/eglibc.inc
new file mode 100644
index 0000000000..ed3e0ecf9d
--- /dev/null
+++ b/conf/distro/include/eglibc.inc
@@ -0,0 +1,9 @@
+# Add glibc overrides to the overrides for eglibc.
+OVERRIDES .= ":glibc"
+
+# The things eglibc can provide. We default to wanting eglibc to provide them.
+PREFERRED_PROVIDER_virtual/libiconv ?= "eglibc"
+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"
diff --git a/conf/distro/include/glibc.inc b/conf/distro/include/glibc.inc
new file mode 100644
index 0000000000..1d6b22d8b5
--- /dev/null
+++ b/conf/distro/include/glibc.inc
@@ -0,0 +1,9 @@
+# Add glibc to the overrides.
+OVERRIDES .= ":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"
diff --git a/conf/distro/include/uclibc.inc b/conf/distro/include/uclibc.inc
new file mode 100644
index 0000000000..bb2e2be71f
--- /dev/null
+++ b/conf/distro/include/uclibc.inc
@@ -0,0 +1,9 @@
+# Add uclibc overrides to the overrides.
+OVERRIDES .= ":uclibc"
+
+# The things uclibc can provide. We default to wanting uclibc to provide them.
+PREFERRED_PROVIDER_virtual/libiconv ?= "libiconv"
+PREFERRED_PROVIDER_virtual/libintl ?= "gettext"
+PREFERRED_PROVIDER_virtual/libc = "uclibc"
+PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}libc-initial = "uclibc-initial"
+PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}libc-for-gcc = "uclibc"