diff options
author | Holger Freyther <zecke@selfish.org> | 2007-03-16 21:08:07 +0000 |
---|---|---|
committer | Holger Freyther <zecke@selfish.org> | 2007-03-16 21:08:07 +0000 |
commit | e3993ed56c6b1b46c1726a40a48b46f9523b4a10 (patch) | |
tree | cc2b4f7e91ee82a9f04cf8c085f7520133921035 /packages/glibc/glibc_2.3.5+cvs20050627.bb | |
parent | 1977f9a109dac503efc20651adde01c28a92fd4f (diff) | |
parent | 9a627b9161ebdbcef11fdfe1a2a3c667b653e777 (diff) |
merge of '084b301b3063c88fe114f956424ce200979b1c31'
and '48c496f011147db1b9af6d381745616b2a2472e6'
Diffstat (limited to 'packages/glibc/glibc_2.3.5+cvs20050627.bb')
-rw-r--r-- | packages/glibc/glibc_2.3.5+cvs20050627.bb | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/packages/glibc/glibc_2.3.5+cvs20050627.bb b/packages/glibc/glibc_2.3.5+cvs20050627.bb index e2094321fb..985df1dfaa 100644 --- a/packages/glibc/glibc_2.3.5+cvs20050627.bb +++ b/packages/glibc/glibc_2.3.5+cvs20050627.bb @@ -8,6 +8,7 @@ PR = "r13" DEFAULT_PREFERENCE_sh3="-1" GLIBC_ADDONS ?= "ports,linuxthreads" +GLIBC_EXTRA_OECONF ?= "" GLIBC_BROKEN_LOCALES = "sid_ET tr_TR mn_MN" @@ -27,7 +28,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 += "virtual/libintl virtual/libiconv" +DEPENDS = "${@['virtual/${TARGET_PREFIX}gcc-initial', 'virtual/${TARGET_PREFIX}gcc']['nptl' in '${GLIBC_ADDONS}']} linux-libc-headers" RDEPENDS_${PN}-dev = "linux-libc-headers-dev" +INHIBIT_DEFAULT_DEPS = "1" # file://noinfo.patch;patch=1 # file://ldconfig.patch;patch=1;pnum=0 @@ -65,6 +71,8 @@ SRC_URI_append_sh4 = " file://no-z-defs.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 \ @@ -174,3 +182,5 @@ do_stage() { echo 'GROUP ( libpthread.so.0 libpthread_nonshared.a )' > ${CROSS_DIR}/${TARGET_SYS}/lib/libpthread.so echo 'GROUP ( libc.so.6 libc_nonshared.a )' > ${CROSS_DIR}/${TARGET_SYS}/lib/libc.so } + +require glibc-package.bbclass |