diff options
author | Robert Yang <liezhi.yang@windriver.com> | 2016-07-06 18:37:03 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-07-12 23:10:14 +0100 |
commit | 4de8b37aa66bb676bd2176496cce6f5f0784d12b (patch) | |
tree | 64c84f9765eb0291fab395dfa7c012d05e0182ef /meta/recipes-support/gmp/gmp_6.1.1.bb | |
parent | 65a8f241e1b6576263c743a93a70018dd08c9902 (diff) | |
download | openembedded-core-contrib-4de8b37aa66bb676bd2176496cce6f5f0784d12b.tar.gz |
gmp: 6.1.0 -> 6.1.1
(From OE-Core rev: 55fea8ead3ebef7e28a982a7721bc0ec42b5ca86)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support/gmp/gmp_6.1.1.bb')
-rw-r--r-- | meta/recipes-support/gmp/gmp_6.1.1.bb | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/meta/recipes-support/gmp/gmp_6.1.1.bb b/meta/recipes-support/gmp/gmp_6.1.1.bb new file mode 100644 index 0000000000..1df9b06cc8 --- /dev/null +++ b/meta/recipes-support/gmp/gmp_6.1.1.bb @@ -0,0 +1,37 @@ +require gmp.inc + +LICENSE = "GPLv2+ | LGPLv3+" + +LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504 \ + file://COPYING.LESSERv3;md5=6a6a8e020838b23406c81b19c1d46df6 \ + file://COPYINGv2;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ +" + +REVISION = "" +SRC_URI = "https://gmplib.org/download/${BPN}/${BP}${REVISION}.tar.bz2 \ + file://amd64.patch \ + file://use-includedir.patch \ + file://0001-Append-the-user-provided-flags-to-the-auto-detected-.patch \ + " + +SRC_URI[md5sum] = "4c175f86e11eb32d8bf9872ca3a8e11d" +SRC_URI[sha256sum] = "a8109865f2893f1373b0a8ed5ff7429de8db696fc451b1036bd7bdf95bbeffd6" + +acpaths = "" + +EXTRA_OECONF += " --enable-cxx=detect" + +PACKAGES =+ "libgmpxx" +FILES_libgmpxx = "${libdir}/libgmpxx${SOLIBS}" + +do_install_append_class-target() { + sed -i "s|--sysroot=${STAGING_DIR_HOST}||g" ${D}${includedir}/gmp.h +} + +SSTATE_SCAN_FILES += "gmp.h" + +# Doesn't compile in MIPS16e mode due to use of hand-written +# assembly +MIPS_INSTRUCTION_SET = "mips" + +BBCLASSEXTEND = "native nativesdk" |