diff options
author | Khem Raj <raj.khem@gmail.com> | 2013-06-26 13:59:01 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-07-05 15:34:26 +0100 |
commit | 67c35e1072d4aa52fa1e5406bb3def909452c8b0 (patch) | |
tree | 4e5cd7b330a00cd88c3135d7778ea247cd490bdc /meta/recipes-core/eglibc/cross-localedef-native_2.18.bb | |
parent | 7450ff24160864bf93804eac6985782a4784e565 (diff) | |
download | poky-67c35e1072d4aa52fa1e5406bb3def909452c8b0.tar.gz |
eglibc: Add 2.18 recipes
(From OE-Core rev: 59ae9fc07a6a89492c001de0b3322ecd6d3956be)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/eglibc/cross-localedef-native_2.18.bb')
-rw-r--r-- | meta/recipes-core/eglibc/cross-localedef-native_2.18.bb | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/meta/recipes-core/eglibc/cross-localedef-native_2.18.bb b/meta/recipes-core/eglibc/cross-localedef-native_2.18.bb new file mode 100644 index 0000000000..bf9e3c270f --- /dev/null +++ b/meta/recipes-core/eglibc/cross-localedef-native_2.18.bb | |||
@@ -0,0 +1,49 @@ | |||
1 | DESCRIPTION = "Cross locale generation tool for eglibc" | ||
2 | HOMEPAGE = "http://www.eglibc.org/home" | ||
3 | SECTION = "libs" | ||
4 | LICENSE = "LGPL-2.1" | ||
5 | |||
6 | LIC_DIR = "${WORKDIR}/eglibc-${PV}/libc" | ||
7 | LIC_FILES_CHKSUM = "file://${LIC_DIR}/LICENSES;md5=e9a558e243b36d3209f380deb394b213 \ | ||
8 | file://${LIC_DIR}/COPYING;md5=393a5ca445f6965873eca0259a17f833 \ | ||
9 | file://${LIC_DIR}/posix/rxspencer/COPYRIGHT;md5=dc5485bb394a13b2332ec1c785f5d83a \ | ||
10 | file://${LIC_DIR}/COPYING.LIB;md5=bbb461211a33b134d42ed5ee802b37ff " | ||
11 | |||
12 | |||
13 | inherit native | ||
14 | inherit autotools | ||
15 | |||
16 | # pick up an eglibc patch | ||
17 | FILESPATH = "${FILE_DIRNAME}/eglibc-${PV}" | ||
18 | |||
19 | SRC_URI = "http://downloads.yoctoproject.org/releases/eglibc/eglibc-${PV}-svnr23379.tar.bz2 \ | ||
20 | file://fix_for_centos_5.8.patch;patchdir=.. \ | ||
21 | " | ||
22 | SRC_URI[md5sum] = "7da8ab8c0af6889187b9ece6dafc12b0" | ||
23 | SRC_URI[sha256sum] = "bd1cdb0528fd54d11ab896b878d71c0f89b4557e908e0f2561f32bbd7472aaeb" | ||
24 | |||
25 | S = "${WORKDIR}/eglibc-${PV}/localedef" | ||
26 | |||
27 | do_unpack_append() { | ||
28 | bb.build.exec_func('do_move_ports', d) | ||
29 | } | ||
30 | |||
31 | do_move_ports() { | ||
32 | if test -d ${WORKDIR}/eglibc-${PV}/ports ; then | ||
33 | rm -rf ${WORKDIR}/libc/ports | ||
34 | mv ${WORKDIR}/eglibc-${PV}/ports ${WORKDIR}/libc/ | ||
35 | fi | ||
36 | } | ||
37 | |||
38 | EXTRA_OECONF = "--with-glibc=${WORKDIR}/eglibc-${PV}/libc" | ||
39 | CFLAGS += "-DNOT_IN_libc=1" | ||
40 | |||
41 | do_configure () { | ||
42 | ${S}/configure ${EXTRA_OECONF} | ||
43 | } | ||
44 | |||
45 | |||
46 | do_install() { | ||
47 | install -d ${D}${bindir} | ||
48 | install -m 0755 ${B}/localedef ${D}${bindir}/cross-localedef | ||
49 | } | ||