summaryrefslogtreecommitdiff
path: root/recipes/eglibc/eglibc.inc
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/eglibc/eglibc.inc')
-rw-r--r--recipes/eglibc/eglibc.inc23
1 files changed, 23 insertions, 0 deletions
diff --git a/recipes/eglibc/eglibc.inc b/recipes/eglibc/eglibc.inc
new file mode 100644
index 0000000000..97a45ac8dc
--- /dev/null
+++ b/recipes/eglibc/eglibc.inc
@@ -0,0 +1,23 @@
+DESCRIPTION = "Embedded GNU C Library"
+HOMEPAGE = "http://www.eglibc.org/home"
+SECTION = "libs"
+PRIORITY = "required"
+LICENSE = "LGPL"
+# nptl needs unwind support in gcc, which can't be built without glibc.
+DEPENDS = "virtual/${TARGET_PREFIX}gcc-intermediate linux-libc-headers"
+#this leads to circular deps, so lets not add it yet
+#RDEPENDS_ldd += " bash"
+# nptl needs libgcc but dlopens it, so our shlibs code doesn't detect this
+#RDEPENDS += "${@['','libgcc']['nptl' in '${GLIBC_ADDONS}']}"
+PROVIDES = "virtual/libc virtual/${TARGET_PREFIX}libc-for-gcc"
+PROVIDES += "virtual/libintl virtual/libiconv"
+inherit autotools
+
+LEAD_SONAME = "libc.so"
+
+GLIBC_EXTRA_OECONF ?= ""
+INHIBIT_DEFAULT_DEPS = "1"
+
+ARM_INSTRUCTION_SET = "arm"
+
+PACKAGES = "glibc catchsegv sln nscd ldd localedef glibc-utils glibc-dev glibc-doc glibc-locale libsegfault glibc-extra-nss glibc-thread-db glibc-pcprofile"