diff options
author | Richard Purdie <richard@openedhand.com> | 2007-10-29 21:28:10 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2007-10-29 21:28:10 +0000 |
commit | a6314a0f40010a1e6c0216083c93a28028c955df (patch) | |
tree | 421d2722023656a3c7b3adfe521147bf44d36256 /meta/packages/glibc/glibc_2.4.bb | |
parent | 4894e1380e1ebe62b13c3ac051cc235de33e38f5 (diff) | |
download | poky-a6314a0f40010a1e6c0216083c93a28028c955df.tar.gz |
glibc: Sync glibc.inc cleanup from OE
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3029 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/glibc/glibc_2.4.bb')
-rw-r--r-- | meta/packages/glibc/glibc_2.4.bb | 19 |
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 @@ | |||
1 | DESCRIPTION = "GNU C Library" | 1 | require glibc.inc |
2 | HOMEPAGE = "http://www.gnu.org/software/libc/libc.html" | 2 | |
3 | LICENSE = "LGPL" | ||
4 | SECTION = "libs" | ||
5 | PRIORITY = "required" | ||
6 | # DEFAULT_PREFERENCE = "-1" | ||
7 | PR = "r11" | 3 | PR = "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 |
10 | BUILD_CPPFLAGS = "-I${STAGING_INCDIR_NATIVE}" | 6 | BUILD_CPPFLAGS = "-I${STAGING_INCDIR_NATIVE}" |
11 | TARGET_CPPFLAGS = "-I${STAGING_DIR_TARGET}${layout_includedir}" | 7 | TARGET_CPPFLAGS = "-I${STAGING_DIR_TARGET}${layout_includedir}" |
12 | 8 | ||
13 | |||
14 | FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/glibc-2.4" | 9 | FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/glibc-2.4" |
15 | 10 | ||
16 | GLIBC_ADDONS ?= "ports,nptl,libidn" | 11 | GLIBC_ADDONS ?= "ports,nptl,libidn" |
17 | GLIBC_EXTRA_OECONF ?= "" | ||
18 | 12 | ||
19 | GLIBC_BROKEN_LOCALES = "sid_ET tr_TR mn_MN gez_ET bn_BD gez_ER te_IN" | 13 | GLIBC_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. | ||
38 | PROVIDES = "virtual/libc ${@['virtual/${TARGET_PREFIX}libc-for-gcc', '']['nptl' in '${GLIBC_ADDONS}']}" | ||
39 | PROVIDES += "virtual/libintl virtual/libiconv" | ||
40 | DEPENDS = "${@['virtual/${TARGET_PREFIX}gcc-initial', 'virtual/${TARGET_PREFIX}gcc']['nptl' in '${GLIBC_ADDONS}']} linux-libc-headers" | ||
41 | RDEPENDS_${PN}-dev = "linux-libc-headers-dev" | ||
42 | INHIBIT_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" | |||
73 | S = "${WORKDIR}/glibc-2.4" | 60 | S = "${WORKDIR}/glibc-2.4" |
74 | B = "${WORKDIR}/build-${TARGET_SYS}" | 61 | B = "${WORKDIR}/build-${TARGET_SYS}" |
75 | 62 | ||
76 | inherit autotools | ||
77 | |||
78 | EXTRA_OECONF = "--enable-kernel=${OLDEST_KERNEL} \ | 63 | EXTRA_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 \ |