summaryrefslogtreecommitdiff
path: root/packages/glibc/glibc_cvs.bb
diff options
context:
space:
mode:
authorRolf Leggewie <oe-devel@rolf.leggewie.biz>2007-03-16 16:30:49 +0000
committerRolf Leggewie <oe-devel@rolf.leggewie.biz>2007-03-16 16:30:49 +0000
commit86c228e54834a26fa885386484a476079039e3e5 (patch)
treea225daeac056ba5cc429fa6902809ae1431cf077 /packages/glibc/glibc_cvs.bb
parent0b31be760cd7bfd06c7be273b157873172910ba5 (diff)
disapproval of revision '2c516898480b1bc053c9cbf6da853a016059c4c6'
Diffstat (limited to 'packages/glibc/glibc_cvs.bb')
-rw-r--r--packages/glibc/glibc_cvs.bb8
1 files changed, 8 insertions, 0 deletions
diff --git a/packages/glibc/glibc_cvs.bb b/packages/glibc/glibc_cvs.bb
index 0ddcb8a447..c85aa500f1 100644
--- a/packages/glibc/glibc_cvs.bb
+++ b/packages/glibc/glibc_cvs.bb
@@ -5,6 +5,7 @@ PR = "r5"
PV = "2.3.5+cvs${SRCDATE}"
GLIBC_ADDONS ?= "ports,linuxthreads"
+GLIBC_EXTRA_OECONF ?= ""
DEFAULT_PREFERENCE = "-1"
@@ -24,6 +25,11 @@ python __anonymous () {
bb.data.getVar('TARGET_OS', d, 1))
}
+# nptl needs unwind support in gcc, which can't be built without glibc.
+PROVIDES = "virtual/libc ${@['virtual/${TARGET_PREFIX}libc-for-gcc', '']['nptl' in '${GLIBC_ADDONS}']}"
+PROVIDES += "virtual/libintl virtual/libiconv"
+DEPENDS = "${@['virtual/${TARGET_PREFIX}gcc-initial', 'virtual/${TARGET_PREFIX}gcc']['nptl' in '${GLIBC_ADDONS}']} linux-libc-headers"
+INHIBIT_DEFAULT_DEPS = "1"
RDEPENDS_${PN}-dev = "linux-libc-headers-dev"
# file://noinfo.patch;patch=1
@@ -52,6 +58,8 @@ SRC_URI_append_arm = " file://dyn-ldconfig-20041128.patch;patch=1"
S = "${WORKDIR}/libc"
B = "${WORKDIR}/build-${TARGET_SYS}"
+inherit autotools
+
EXTRA_OECONF = "--enable-kernel=${OLDEST_KERNEL} \
--without-cvs --disable-profile --disable-debug --without-gd \
--enable-clocale=gnu \