diff options
author | Jussi Kukkonen <jussi.kukkonen@intel.com> | 2015-08-27 16:05:59 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-09-01 11:43:59 +0100 |
commit | 6fac60da96eee89d5b7c2156bbb92fe72dc28aef (patch) | |
tree | af55f9157508f35ece55c012d3e8cb25ac532e71 /meta/recipes-support/gmp/gmp_6.0.0.bb | |
parent | b9ade91413f56ffeeeec753a45e3d1d64efe4802 (diff) | |
download | poky-6fac60da96eee89d5b7c2156bbb92fe72dc28aef.tar.gz |
gmp: Bring back version 4.2.1 (LGPL 2.1+)
gmp 4.2.1 was removed in f181c6ce8b apparently accidentally: It
was not noticed that 4.2.1 is LGPL 2.1 (and not GPL) so provides
a useful alternative to the newer "GPLv2 | LGPLv3" version.
* Reintroduce 4.2.1. The source includes files that are GPL but the
library package is LGPL 2.1+
* Also reintroduce the two patches removed in f181c6ce8b.
* Refactor gmp.inc: gmp 6.0.0 build should not be affected in any way.
* Update 6.0.0 license from "GPLv2 | LGPLv3" to "GPLv2+ | LGPLv3+".
[YOCTO #8197]
(From OE-Core rev: 1adec83621f36a3dd748990c307ca4ebebcdd554)
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support/gmp/gmp_6.0.0.bb')
-rw-r--r-- | meta/recipes-support/gmp/gmp_6.0.0.bb | 33 |
1 files changed, 26 insertions, 7 deletions
diff --git a/meta/recipes-support/gmp/gmp_6.0.0.bb b/meta/recipes-support/gmp/gmp_6.0.0.bb index 6218491142..19b63e5683 100644 --- a/meta/recipes-support/gmp/gmp_6.0.0.bb +++ b/meta/recipes-support/gmp/gmp_6.0.0.bb | |||
@@ -1,14 +1,33 @@ | |||
1 | require gmp.inc | 1 | require gmp.inc |
2 | LICENSE="GPLv2 | LGPLv3" | 2 | |
3 | LICENSE="GPLv2+ | LGPLv3+" | ||
4 | |||
3 | REVISION="a" | 5 | REVISION="a" |
6 | |||
4 | LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504 \ | 7 | LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504 \ |
5 | file://COPYING.LESSERv3;md5=6a6a8e020838b23406c81b19c1d46df6 \ | 8 | file://COPYING.LESSERv3;md5=6a6a8e020838b23406c81b19c1d46df6 \ |
6 | file://COPYINGv2;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ | 9 | file://COPYINGv2;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ |
7 | " | ||
8 | SRC_URI_append = " file://use-includedir.patch \ | ||
9 | file://append_user_provided_flags.patch \ | ||
10 | file://gmp-6.0.0-ppc64.patch \ | ||
11 | " | 10 | " |
12 | 11 | ||
12 | SRC_URI += "file://configure.patch \ | ||
13 | file://amd64.patch \ | ||
14 | file://use-includedir.patch \ | ||
15 | file://append_user_provided_flags.patch \ | ||
16 | file://gmp-6.0.0-ppc64.patch \ | ||
17 | " | ||
13 | SRC_URI[md5sum] = "b7ff2d88cae7f8085bd5006096eed470" | 18 | SRC_URI[md5sum] = "b7ff2d88cae7f8085bd5006096eed470" |
14 | SRC_URI[sha256sum] = "7f8e9a804b9c6d07164cf754207be838ece1219425d64e28cfa3e70d5c759aaf" | 19 | SRC_URI[sha256sum] = "7f8e9a804b9c6d07164cf754207be838ece1219425d64e28cfa3e70d5c759aaf" |
20 | |||
21 | acpaths = "" | ||
22 | |||
23 | EXTRA_OECONF += " --enable-cxx=detect" | ||
24 | |||
25 | PACKAGES =+ "libgmpxx" | ||
26 | FILES_libgmpxx = "${libdir}/libgmpxx${SOLIBS}" | ||
27 | |||
28 | do_install_append_class-target() { | ||
29 | sed -i "s|--sysroot=${STAGING_DIR_HOST}||g" ${D}${includedir}/gmp.h | ||
30 | } | ||
31 | |||
32 | SSTATE_SCAN_FILES += "gmp.h" | ||
33 | |||