diff options
| author | zangrc <zangrc.fnst@cn.fujitsu.com> | 2020-11-20 23:45:36 +0800 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-11-24 10:27:45 +0000 |
| commit | e97bb4e5481d9a4b15879fb5c55686391d4d34a6 (patch) | |
| tree | 751929b89239749d7382c6eeed5c6dc3a0b6a110 /meta/recipes-support/gmp/gmp_6.2.1.bb | |
| parent | af3208397c9542a04e80d16493764f4426b5c7d9 (diff) | |
| download | poky-e97bb4e5481d9a4b15879fb5c55686391d4d34a6.tar.gz | |
gmp: upgrade 6.2.0 -> 6.2.1
(From OE-Core rev: 125d0b1e1213398f468400c82f6c0f0835629274)
Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support/gmp/gmp_6.2.1.bb')
| -rw-r--r-- | meta/recipes-support/gmp/gmp_6.2.1.bb | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/meta/recipes-support/gmp/gmp_6.2.1.bb b/meta/recipes-support/gmp/gmp_6.2.1.bb new file mode 100644 index 0000000000..3c50f928ab --- /dev/null +++ b/meta/recipes-support/gmp/gmp_6.2.1.bb | |||
| @@ -0,0 +1,44 @@ | |||
| 1 | require gmp.inc | ||
| 2 | |||
| 3 | LICENSE = "GPLv2+ | LGPLv3+" | ||
| 4 | |||
| 5 | LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504 \ | ||
| 6 | file://COPYING.LESSERv3;md5=6a6a8e020838b23406c81b19c1d46df6 \ | ||
| 7 | file://COPYINGv2;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ | ||
| 8 | " | ||
| 9 | |||
| 10 | REVISION = "" | ||
| 11 | SRC_URI = "https://gmplib.org/download/${BPN}/${BP}${REVISION}.tar.bz2 \ | ||
| 12 | file://use-includedir.patch \ | ||
| 13 | file://0001-Append-the-user-provided-flags-to-the-auto-detected-.patch \ | ||
| 14 | file://0001-confiure.ac-Believe-the-cflags-from-environment.patch \ | ||
| 15 | " | ||
| 16 | SRC_URI[md5sum] = "28971fc21cf028042d4897f02fd355ea" | ||
| 17 | SRC_URI[sha256sum] = "eae9326beb4158c386e39a356818031bd28f3124cf915f8c5b1dc4c7a36b4d7c" | ||
| 18 | |||
| 19 | acpaths = "" | ||
| 20 | |||
| 21 | EXTRA_OECONF += " --enable-cxx=detect" | ||
| 22 | EXTRA_OECONF_mipsarchr6_append = " --disable-assembly" | ||
| 23 | |||
| 24 | PACKAGES =+ "libgmpxx" | ||
| 25 | FILES_libgmpxx = "${libdir}/libgmpxx${SOLIBS}" | ||
| 26 | |||
| 27 | do_install_append() { | ||
| 28 | oe_multilib_header gmp.h | ||
| 29 | } | ||
| 30 | |||
| 31 | do_install_prepend_class-target() { | ||
| 32 | sed -i \ | ||
| 33 | -e "s|--sysroot=${STAGING_DIR_HOST}||g" \ | ||
| 34 | -e "s|${DEBUG_PREFIX_MAP}||g" \ | ||
| 35 | ${B}/gmp.h | ||
| 36 | } | ||
| 37 | |||
| 38 | SSTATE_SCAN_FILES += "gmp.h" | ||
| 39 | |||
| 40 | # Doesn't compile in MIPS16e mode due to use of hand-written | ||
| 41 | # assembly | ||
| 42 | MIPS_INSTRUCTION_SET = "mips" | ||
| 43 | |||
| 44 | BBCLASSEXTEND = "native nativesdk" | ||
