diff options
author | Phil Blundell <philb@gnu.org> | 2011-07-28 11:01:31 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-08-01 14:16:55 +0100 |
commit | 7dc2732b28b16c9cfcc35136ce9110567cc3b67a (patch) | |
tree | dfe9610ec561ec47d8f306dd0c8e489ae80be980 /meta/recipes-core/glibc/glibc.inc | |
parent | e464fb9a2809aa88f56b5c44d318d3bb3dadd7fc (diff) | |
download | poky-7dc2732b28b16c9cfcc35136ce9110567cc3b67a.tar.gz |
glibc: deleted
Glibc 2.10.1 is outdated now and eglibc seems to provide a superset of
its functionality.
(From OE-Core rev: 1d9866a2c4fe93202749a56c7ad89a3cbd07d9f8)
Signed-off-by: Phil Blundell <philb@gnu.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/glibc/glibc.inc')
-rw-r--r-- | meta/recipes-core/glibc/glibc.inc | 60 |
1 files changed, 0 insertions, 60 deletions
diff --git a/meta/recipes-core/glibc/glibc.inc b/meta/recipes-core/glibc/glibc.inc deleted file mode 100644 index 57d693c803..0000000000 --- a/meta/recipes-core/glibc/glibc.inc +++ /dev/null | |||
@@ -1,60 +0,0 @@ | |||
1 | DESCRIPTION = "GNU C Library" | ||
2 | HOMEPAGE = "http://www.gnu.org/software/libc/libc.html" | ||
3 | BUGTRACKER = "http://sources.redhat.com/bugzilla/" | ||
4 | SECTION = "libs" | ||
5 | LICENSE = "LGPLv2.1+ & GPLv2+" | ||
6 | LIC_FILES_CHKSUM = "file://COPYING;md5=393a5ca445f6965873eca0259a17f833 \ | ||
7 | file://elf/cache.c;beginline=1;endline=17;md5=926aac25497b1de7d630b4749005d208 \ | ||
8 | file://COPYING.LIB;md5=bbb461211a33b134d42ed5ee802b37ff \ | ||
9 | file://bits/types.h;beginline=1;endline=18;md5=267938e7c0538e76f734551ec6ea908d" | ||
10 | # nptl needs unwind support in gcc, which can't be built without glibc. | ||
11 | DEPENDS = "virtual/${TARGET_PREFIX}gcc-intermediate linux-libc-headers" | ||
12 | RDEPENDS_${PN}-dev = "linux-libc-headers-dev" | ||
13 | #this leads to circular deps, so lets not add it yet | ||
14 | #RDEPENDS_ldd += " bash" | ||
15 | #RDEPENDS_${PN} += "${@['','libgcc']['nptl' in '${GLIBC_ADDONS}']}" | ||
16 | PROVIDES = "virtual/libc virtual/${TARGET_PREFIX}libc-for-gcc" | ||
17 | PROVIDES += "virtual/libintl virtual/libiconv" | ||
18 | |||
19 | STAGINGCC = "gcc-cross-intermediate" | ||
20 | STAGINGCC_virtclass-nativesdk = "gcc-crosssdk-intermediate" | ||
21 | PATH_prepend = "${STAGING_BINDIR_TOOLCHAIN}.${STAGINGCC}:" | ||
22 | |||
23 | TOOLCHAIN_OPTIONS = " --sysroot=${STAGING_DIR_TCBOOTSTRAP}" | ||
24 | |||
25 | # siteconfig.bbclass runs configure which needs a working compiler | ||
26 | # For the compiler to work we need a working libc yet libc isn't | ||
27 | # in the sysroots directory at this point. This means the libc.so | ||
28 | # linker script won't work as the --sysroot setting isn't correct. | ||
29 | # Here we create a hacked up libc linker script and pass in the right | ||
30 | # flags to let configure work. Ugly. | ||
31 | EXTRASITECONFIG = "CFLAGS='${CFLAGS} -Wl,-L${WORKDIR}/site_config_libc -L${WORKDIR}/site_config_libc -L${SYSROOT_DESTDIR}${libdir} -L${SYSROOT_DESTDIR}${base_libdir} -Wl,-L${SYSROOT_DESTDIR}${libdir} -Wl,-L${SYSROOT_DESTDIR}${base_libdir}'" | ||
32 | siteconfig_do_siteconfig_gencache_prepend = " \ | ||
33 | mkdir -p ${WORKDIR}/site_config_libc; \ | ||
34 | cp ${SYSROOT_DESTDIR}${libdir}/libc.so ${WORKDIR}/site_config_libc; \ | ||
35 | sed -i -e 's# ${base_libdir}# ${SYSROOT_DESTDIR}${base_libdir}#g' -e 's# ${libdir}# ${SYSROOT_DESTDIR}${libdir}#g' ${WORKDIR}/site_config_libc/libc.so; \ | ||
36 | " | ||
37 | |||
38 | inherit autotools | ||
39 | |||
40 | GLIBC_EXTRA_OECONF ?= "" | ||
41 | INHIBIT_DEFAULT_DEPS = "1" | ||
42 | |||
43 | do_rig_locales() { | ||
44 | # If indicated, only build a limited selection of locales | ||
45 | if [ "x${LIMIT_BUILT_LOCALES}" != "x" ]; then | ||
46 | INFILE="${S}/localedata/SUPPORTED" | ||
47 | OUTFILE="${S}/localedata/SUPPORTED.tmp" | ||
48 | head -n 3 $INFILE > $OUTFILE | ||
49 | for i in ${LIMIT_BUILT_LOCALES}; do | ||
50 | echo | ||
51 | grep $i $INFILE >> $OUTFILE || true | ||
52 | done | ||
53 | head --lines=-1 $OUTFILE > $INFILE | ||
54 | tail --lines=1 $OUTFILE | sed 's#\\##' >> $INFILE | ||
55 | fi | ||
56 | } | ||
57 | |||
58 | addtask rig_locales before do_compile after do_configure | ||
59 | |||
60 | ARM_INSTRUCTION_SET = "arm" | ||