summaryrefslogtreecommitdiff
path: root/packages/eglibc/eglibc.inc
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2008-05-24 06:52:27 +0000
committerKhem Raj <raj.khem@gmail.com>2008-05-24 06:52:27 +0000
commitc8399b4a991c9754c68ce1fd2947684f34d225df (patch)
tree0ad8646c3ce13b32e11f5f684c7bc39bcbd36949 /packages/eglibc/eglibc.inc
parent993d0b41039102ea8a645f333af97a71549ef3e3 (diff)
Move eglibc to a separate package. Adios glibc.
Diffstat (limited to 'packages/eglibc/eglibc.inc')
-rw-r--r--packages/eglibc/eglibc.inc22
1 files changed, 22 insertions, 0 deletions
diff --git a/packages/eglibc/eglibc.inc b/packages/eglibc/eglibc.inc
new file mode 100644
index 0000000000..e1559e46e4
--- /dev/null
+++ b/packages/eglibc/eglibc.inc
@@ -0,0 +1,22 @@
+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-initial', 'virtual/${TARGET_PREFIX}gcc']['nptl' in '${GLIBC_ADDONS}']} 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', '']['nptl' in '${GLIBC_ADDONS}']}"
+PROVIDES += "virtual/libintl virtual/libiconv"
+
+inherit autotools
+
+LEAD_SONAME = "libc.so"
+
+GLIBC_EXTRA_OECONF ?= ""
+INHIBIT_DEFAULT_DEPS = "1"
+
+PACKAGES = "glibc catchsegv sln nscd ldd localedef glibc-utils glibc-dev glibc-doc glibc-locale libsegfault glibc-extra-nss glibc-thread-db glibc-pcprofile"