diff options
author | Khem Raj <raj.khem@gmail.com> | 2016-01-02 21:37:22 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-02-21 09:32:01 +0000 |
commit | 9c3d461c4d54d684b38ec4c038a1c3c2fb9923f0 (patch) | |
tree | d4974d75c8003d3b5bd2ee5093662b00ed682975 /meta/recipes-core/glibc/cross-localedef-native_2.23.bb | |
parent | 6eb64cdd5296c42a46f3485bca403814eec55b2c (diff) | |
download | openembedded-core-9c3d461c4d54d684b38ec4c038a1c3c2fb9923f0.tar.gz openembedded-core-9c3d461c4d54d684b38ec4c038a1c3c2fb9923f0.tar.bz2 openembedded-core-9c3d461c4d54d684b38ec4c038a1c3c2fb9923f0.zip |
glibc: Upgrade to 2.23
Drop kconfig and options-group support
Forward port cross-localedef support
Assume ssp support in libc when building gcc-initial
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta/recipes-core/glibc/cross-localedef-native_2.23.bb')
-rw-r--r-- | meta/recipes-core/glibc/cross-localedef-native_2.23.bb | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/meta/recipes-core/glibc/cross-localedef-native_2.23.bb b/meta/recipes-core/glibc/cross-localedef-native_2.23.bb new file mode 100644 index 0000000000..fa930fd480 --- /dev/null +++ b/meta/recipes-core/glibc/cross-localedef-native_2.23.bb @@ -0,0 +1,58 @@ +SUMMARY = "Cross locale generation tool for glibc" +HOMEPAGE = "http://www.gnu.org/software/libc/libc.html" +SECTION = "libs" +LICENSE = "LGPL-2.1" + +LIC_FILES_CHKSUM = "file://LICENSES;md5=e9a558e243b36d3209f380deb394b213 \ + file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ + file://posix/rxspencer/COPYRIGHT;md5=dc5485bb394a13b2332ec1c785f5d83a \ + file://COPYING.LIB;md5=4fbd65380cdd255951079008b364516c" + + +inherit native +inherit autotools + +FILESEXTRAPATHS =. "${FILE_DIRNAME}/${PN}:${FILE_DIRNAME}/glibc:" + +SRCBRANCH ?= "release/${PV}/master" +GLIBC_GIT_URI ?= "git://sourceware.org/git/glibc.git" +UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>\d+\.\d+(\.\d+)*)" + +SRC_URI = "${GLIBC_GIT_URI};branch=${SRCBRANCH};name=glibc \ + git://github.com/kraj/localedef;branch=master;name=localedef;destsuffix=git/localedef \ + file://fix_for_centos_5.8.patch \ + ${EGLIBCPATCHES} \ +" +EGLIBCPATCHES = "\ + file://0016-timezone-re-written-tzselect-as-posix-sh.patch \ + file://0017-Remove-bash-dependency-for-nscd-init-script.patch \ + file://0018-eglibc-Cross-building-and-testing-instructions.patch \ + file://0019-eglibc-Help-bootstrap-cross-toolchain.patch \ + file://0020-eglibc-cherry-picked-from.patch \ + file://0021-eglibc-Clear-cache-lines-on-ppc8xx.patch \ + file://0022-eglibc-Resolve-__fpscr_values-on-SH4.patch \ + file://0023-eglibc-Install-PIC-archives.patch \ + file://0025-eglibc-Forward-port-cross-locale-generation-support.patch \ +" + +SRCREV_glibc ?= "e742928c1592b43db6809db4f39e67be151cdd27" +SRCREV_localedef ?= "5a81ff9f06a7a808d4c3d37bbf34077a4c5902ed" + +# Makes for a rather long rev (22 characters), but... +# +SRCREV_FORMAT = "glibc_localedef" + +S = "${WORKDIR}/git" + +EXTRA_OECONF = "--with-glibc=${S}" +CFLAGS += "-fgnu89-inline -std=gnu99 -DIS_IN\(x\)='0'" + +do_configure () { + ${S}/localedef/configure ${EXTRA_OECONF} +} + + +do_install() { + install -d ${D}${bindir} + install -m 0755 ${B}/localedef ${D}${bindir}/cross-localedef +} |