diff options
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 @@ | |||
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://amd64.patch \ | ||
13 | file://use-includedir.patch \ | ||
14 | file://0001-Append-the-user-provided-flags-to-the-auto-detected-.patch \ | ||
15 | " | ||
16 | |||
17 | SRC_URI[md5sum] = "4c175f86e11eb32d8bf9872ca3a8e11d" | ||
18 | SRC_URI[sha256sum] = "a8109865f2893f1373b0a8ed5ff7429de8db696fc451b1036bd7bdf95bbeffd6" | ||
19 | |||
20 | acpaths = "" | ||
21 | |||
22 | EXTRA_OECONF += " --enable-cxx=detect" | ||
23 | |||
24 | PACKAGES =+ "libgmpxx" | ||
25 | FILES_libgmpxx = "${libdir}/libgmpxx${SOLIBS}" | ||
26 | |||
27 | do_install_append_class-target() { | ||
28 | sed -i "s|--sysroot=${STAGING_DIR_HOST}||g" ${D}${includedir}/gmp.h | ||
29 | } | ||
30 | |||
31 | SSTATE_SCAN_FILES += "gmp.h" | ||
32 | |||
33 | # Doesn't compile in MIPS16e mode due to use of hand-written | ||
34 | # assembly | ||
35 | MIPS_INSTRUCTION_SET = "mips" | ||
36 | |||
37 | BBCLASSEXTEND = "native nativesdk" | ||