summaryrefslogtreecommitdiff
path: root/packages/glibc/glibc_2.2.5.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_2.2.5.bb
parent0b31be760cd7bfd06c7be273b157873172910ba5 (diff)
disapproval of revision '2c516898480b1bc053c9cbf6da853a016059c4c6'
Diffstat (limited to 'packages/glibc/glibc_2.2.5.bb')
-rw-r--r--packages/glibc/glibc_2.2.5.bb8
1 files changed, 8 insertions, 0 deletions
diff --git a/packages/glibc/glibc_2.2.5.bb b/packages/glibc/glibc_2.2.5.bb
index adb8a45283..75f08be942 100644
--- a/packages/glibc/glibc_2.2.5.bb
+++ b/packages/glibc/glibc_2.2.5.bb
@@ -6,6 +6,7 @@ PR = "r10"
DEFAULT_PREFERENCE_sh3 = "-99"
GLIBC_ADDONS ?= "linuxthreads"
+GLIBC_EXTRA_OECONF ?= ""
#
# For now, we will skip building of a gcc package if it is a uclibc one
@@ -23,7 +24,12 @@ 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_unslung = "virtual/libc virtual/${TARGET_PREFIX}libc-for-gcc"
+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"
libc_baselibs = "/lib/libc* /lib/libm* /lib/ld* /lib/libpthread* /lib/libresolv* /lib/librt* /lib/libutil* /lib/libnsl* /lib/libnss_files* /lib/libnss_compat* /lib/libnss_dns* /lib/libdl* /lib/libanl* /lib/libBrokenLocale*"
@@ -107,6 +113,8 @@ SRC_URI = "${GNU_MIRROR}/glibc/glibc-${PV}.tar.gz \
S = "${WORKDIR}/glibc-${PV}"
B = "${WORKDIR}/build-${TARGET_SYS}"
+inherit autotools
+
EXTRA_OECONF = "--enable-kernel=${OLDEST_KERNEL} \
--without-cvs --disable-profile --disable-debug --without-gd \
--enable-clocale=gnu \