diff options
author | Khem Raj <raj.khem@gmail.com> | 2016-04-16 11:08:24 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-05-14 23:05:12 +0100 |
commit | 6d27c16ec0c63da001a21f8e3157e7cbfa57e554 (patch) | |
tree | c902cc446b0a6b951ffd3ef69f900391edb733d7 /meta/recipes-core/glibc/cross-localedef-native_2.24.bb | |
parent | 9b25b35456471d17f08681328cae899546fe419c (diff) | |
download | poky-6d27c16ec0c63da001a21f8e3157e7cbfa57e554.tar.gz |
glibc: Add recipes for 2.24 release
(From OE-Core rev: a0a10b4928c818c34fcd99e6a2bbb5db8cb60950)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/glibc/cross-localedef-native_2.24.bb')
-rw-r--r-- | meta/recipes-core/glibc/cross-localedef-native_2.24.bb | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/meta/recipes-core/glibc/cross-localedef-native_2.24.bb b/meta/recipes-core/glibc/cross-localedef-native_2.24.bb new file mode 100644 index 0000000000..79c31326e5 --- /dev/null +++ b/meta/recipes-core/glibc/cross-localedef-native_2.24.bb | |||
@@ -0,0 +1,53 @@ | |||
1 | SUMMARY = "Cross locale generation tool for glibc" | ||
2 | HOMEPAGE = "http://www.gnu.org/software/libc/libc.html" | ||
3 | SECTION = "libs" | ||
4 | LICENSE = "LGPL-2.1" | ||
5 | |||
6 | LIC_FILES_CHKSUM = "file://LICENSES;md5=e9a558e243b36d3209f380deb394b213 \ | ||
7 | file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ | ||
8 | file://posix/rxspencer/COPYRIGHT;md5=dc5485bb394a13b2332ec1c785f5d83a \ | ||
9 | file://COPYING.LIB;md5=4fbd65380cdd255951079008b364516c" | ||
10 | |||
11 | # Tell autotools that we're working in the localedef directory | ||
12 | # | ||
13 | AUTOTOOLS_SCRIPT_PATH = "${S}/localedef" | ||
14 | |||
15 | inherit native | ||
16 | inherit autotools | ||
17 | |||
18 | FILESEXTRAPATHS =. "${FILE_DIRNAME}/${PN}:${FILE_DIRNAME}/glibc:" | ||
19 | |||
20 | #SRCBRANCH ?= "release/${PV}/master" | ||
21 | GLIBC_GIT_URI ?= "git://sourceware.org/git/glibc.git" | ||
22 | SRCBRANCH ?= "master" | ||
23 | UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>\d+\.\d+(\.\d+)*)" | ||
24 | |||
25 | SRCREV_glibc ?= "1ac3eaa6bcc473a56340c24511786ff48a91293e" | ||
26 | SRCREV_localedef ?= "29869b6dc11427c5bab839bdb155c85a7c644c71" | ||
27 | |||
28 | SRC_URI = "${GLIBC_GIT_URI};branch=${SRCBRANCH};name=glibc \ | ||
29 | git://github.com/kraj/localedef;branch=master;name=localedef;destsuffix=git/localedef \ | ||
30 | file://0016-timezone-re-written-tzselect-as-posix-sh.patch \ | ||
31 | file://0017-Remove-bash-dependency-for-nscd-init-script.patch \ | ||
32 | file://0018-eglibc-Cross-building-and-testing-instructions.patch \ | ||
33 | file://0019-eglibc-Help-bootstrap-cross-toolchain.patch \ | ||
34 | file://0020-eglibc-cherry-picked-from.patch \ | ||
35 | file://0021-eglibc-Clear-cache-lines-on-ppc8xx.patch \ | ||
36 | file://0022-eglibc-Resolve-__fpscr_values-on-SH4.patch \ | ||
37 | file://0023-eglibc-Install-PIC-archives.patch \ | ||
38 | file://0024-eglibc-Forward-port-cross-locale-generation-support.patch \ | ||
39 | file://0025-Define-DUMMY_LOCALE_T-if-not-defined.patch \ | ||
40 | " | ||
41 | # Makes for a rather long rev (22 characters), but... | ||
42 | # | ||
43 | SRCREV_FORMAT = "glibc_localedef" | ||
44 | |||
45 | S = "${WORKDIR}/git" | ||
46 | |||
47 | EXTRA_OECONF = "--with-glibc=${S}" | ||
48 | CFLAGS += "-fgnu89-inline -std=gnu99 -DIS_IN\(x\)='0'" | ||
49 | |||
50 | do_install() { | ||
51 | install -d ${D}${bindir} | ||
52 | install -m 0755 ${B}/localedef ${D}${bindir}/cross-localedef | ||
53 | } | ||