summaryrefslogtreecommitdiffstats
path: root/meta/packages/glibc/glibc_2.4.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta/packages/glibc/glibc_2.4.bb')
-rw-r--r--meta/packages/glibc/glibc_2.4.bb19
1 files changed, 2 insertions, 17 deletions
diff --git a/meta/packages/glibc/glibc_2.4.bb b/meta/packages/glibc/glibc_2.4.bb
index a8e6f740ad..95b2b99853 100644
--- a/meta/packages/glibc/glibc_2.4.bb
+++ b/meta/packages/glibc/glibc_2.4.bb
@@ -1,20 +1,14 @@
1DESCRIPTION = "GNU C Library" 1require glibc.inc
2HOMEPAGE = "http://www.gnu.org/software/libc/libc.html" 2
3LICENSE = "LGPL"
4SECTION = "libs"
5PRIORITY = "required"
6# DEFAULT_PREFERENCE = "-1"
7PR = "r11" 3PR = "r11"
8 4
9# the -isystem in bitbake.conf screws up glibc do_stage 5# the -isystem in bitbake.conf screws up glibc do_stage
10BUILD_CPPFLAGS = "-I${STAGING_INCDIR_NATIVE}" 6BUILD_CPPFLAGS = "-I${STAGING_INCDIR_NATIVE}"
11TARGET_CPPFLAGS = "-I${STAGING_DIR_TARGET}${layout_includedir}" 7TARGET_CPPFLAGS = "-I${STAGING_DIR_TARGET}${layout_includedir}"
12 8
13
14FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/glibc-2.4" 9FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/glibc-2.4"
15 10
16GLIBC_ADDONS ?= "ports,nptl,libidn" 11GLIBC_ADDONS ?= "ports,nptl,libidn"
17GLIBC_EXTRA_OECONF ?= ""
18 12
19GLIBC_BROKEN_LOCALES = "sid_ET tr_TR mn_MN gez_ET bn_BD gez_ER te_IN" 13GLIBC_BROKEN_LOCALES = "sid_ET tr_TR mn_MN gez_ET bn_BD gez_ER te_IN"
20 14
@@ -34,13 +28,6 @@ python __anonymous () {
34 bb.data.getVar('TARGET_OS', d, 1)) 28 bb.data.getVar('TARGET_OS', d, 1))
35} 29}
36 30
37# nptl needs unwind support in gcc, which can't be built without glibc.
38PROVIDES = "virtual/libc ${@['virtual/${TARGET_PREFIX}libc-for-gcc', '']['nptl' in '${GLIBC_ADDONS}']}"
39PROVIDES += "virtual/libintl virtual/libiconv"
40DEPENDS = "${@['virtual/${TARGET_PREFIX}gcc-initial', 'virtual/${TARGET_PREFIX}gcc']['nptl' in '${GLIBC_ADDONS}']} linux-libc-headers"
41RDEPENDS_${PN}-dev = "linux-libc-headers-dev"
42INHIBIT_DEFAULT_DEPS = "1"
43
44# file://noinfo.patch;patch=1 31# file://noinfo.patch;patch=1
45# file://ldconfig.patch;patch=1;pnum=0 32# file://ldconfig.patch;patch=1;pnum=0
46# file://arm-machine-gmon.patch;patch=1;pnum=0 \ 33# file://arm-machine-gmon.patch;patch=1;pnum=0 \
@@ -73,8 +60,6 @@ SRC_URI_append_sh4 = " file://no-z-defs.patch;patch=1"
73S = "${WORKDIR}/glibc-2.4" 60S = "${WORKDIR}/glibc-2.4"
74B = "${WORKDIR}/build-${TARGET_SYS}" 61B = "${WORKDIR}/build-${TARGET_SYS}"
75 62
76inherit autotools
77
78EXTRA_OECONF = "--enable-kernel=${OLDEST_KERNEL} \ 63EXTRA_OECONF = "--enable-kernel=${OLDEST_KERNEL} \
79 --without-cvs --disable-profile --disable-debug --without-gd \ 64 --without-cvs --disable-profile --disable-debug --without-gd \
80 --enable-clocale=gnu \ 65 --enable-clocale=gnu \