diff options
author | Andre McCurdy <armccurdy@gmail.com> | 2016-02-05 11:56:16 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-02-07 17:30:00 +0000 |
commit | 263a65da6033918d699e0cd8a90ab24414cb3538 (patch) | |
tree | 211162df0fba885e2519598222b243f87c01bcd3 /meta/recipes-support | |
parent | aacae25a3d7822555343225c7cb06154bd8f4f70 (diff) | |
download | poky-263a65da6033918d699e0cd8a90ab24414cb3538.tar.gz |
gmp: move SRC_URI out of gmp.inc + minor reformatting
The base SRC_URI in gmp.inc was wrong for gmp 4.2.1 and was not being
used by gmp 6.1.0. Remove it and make each recipe responsible for
defining its own SRC_URI.
(From OE-Core rev: c6ae5d4152e194f11bec7f760c98e9078860ab09)
Signed-off-by: Andre McCurdy <armccurdy@gmail.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')
-rw-r--r-- | meta/recipes-support/gmp/gmp.inc | 11 | ||||
-rw-r--r-- | meta/recipes-support/gmp/gmp_4.2.1.bb | 7 | ||||
-rw-r--r-- | meta/recipes-support/gmp/gmp_6.1.0.bb | 5 |
3 files changed, 11 insertions, 12 deletions
diff --git a/meta/recipes-support/gmp/gmp.inc b/meta/recipes-support/gmp/gmp.inc index 6752a39d13..1e3e2a0b43 100644 --- a/meta/recipes-support/gmp/gmp.inc +++ b/meta/recipes-support/gmp/gmp.inc | |||
@@ -1,16 +1,13 @@ | |||
1 | SECTION = "devel" | ||
2 | SUMMARY = "GNU multiprecision arithmetic library" | 1 | SUMMARY = "GNU multiprecision arithmetic library" |
3 | DESCRIPTION = "GMP is a free library for arbitrary precision arithmetic, operating on signed integers, rational numbers, and floating point numbers" | 2 | DESCRIPTION = "GMP is a free library for arbitrary precision arithmetic, operating on signed integers, rational numbers, and floating point numbers" |
4 | HOMEPAGE = "http://gmplib.org/" | 3 | HOMEPAGE = "http://gmplib.org/" |
5 | 4 | SECTION = "devel" | |
6 | REVISION ?= "" | ||
7 | SRC_URI = "https://gmplib.org/download/${BPN}/${BP}${REVISION}.tar.bz2" | ||
8 | 5 | ||
9 | inherit autotools texinfo | 6 | inherit autotools texinfo |
10 | 7 | ||
8 | PACKAGECONFIG ??= "" | ||
9 | PACKAGECONFIG[readline] = "--with-readline=yes,--with-readline=no,readline" | ||
10 | |||
11 | ARM_INSTRUCTION_SET = "arm" | 11 | ARM_INSTRUCTION_SET = "arm" |
12 | 12 | ||
13 | BBCLASSEXTEND = "native nativesdk" | 13 | BBCLASSEXTEND = "native nativesdk" |
14 | |||
15 | PACKAGECONFIG ??= "" | ||
16 | PACKAGECONFIG[readline] = "--with-readline=yes,--with-readline=no,readline" | ||
diff --git a/meta/recipes-support/gmp/gmp_4.2.1.bb b/meta/recipes-support/gmp/gmp_4.2.1.bb index bfc6a380e6..c25e5ea6ba 100644 --- a/meta/recipes-support/gmp/gmp_4.2.1.bb +++ b/meta/recipes-support/gmp/gmp_4.2.1.bb | |||
@@ -7,9 +7,10 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=892f569a555ba9c07a568a7c0c4fa63a \ | |||
7 | file://COPYING.LIB;md5=fbc093901857fcd118f065f900982c24 \ | 7 | file://COPYING.LIB;md5=fbc093901857fcd118f065f900982c24 \ |
8 | file://gmp-h.in;beginline=6;endline=21;md5=e056f74a12c3277d730dbcfb85d2ca34" | 8 | file://gmp-h.in;beginline=6;endline=21;md5=e056f74a12c3277d730dbcfb85d2ca34" |
9 | 9 | ||
10 | SRC_URI += "file://Use-__gnu_inline__-attribute.patch \ | 10 | SRC_URI = "https://gmplib.org/download/${BPN}/archive/${BP}.tar.bz2 \ |
11 | file://gmp_fix_for_automake-1.12.patch \ | 11 | file://Use-__gnu_inline__-attribute.patch \ |
12 | " | 12 | file://gmp_fix_for_automake-1.12.patch \ |
13 | " | ||
13 | 14 | ||
14 | SRC_URI[md5sum] = "091c56e0e1cca6b09b17b69d47ef18e3" | 15 | SRC_URI[md5sum] = "091c56e0e1cca6b09b17b69d47ef18e3" |
15 | SRC_URI[sha256sum] = "d07ffcb37eecec35c5ec72516d10b35fdf6e6fef1fcf1dcd37e30b8cbf8bf941" | 16 | SRC_URI[sha256sum] = "d07ffcb37eecec35c5ec72516d10b35fdf6e6fef1fcf1dcd37e30b8cbf8bf941" |
diff --git a/meta/recipes-support/gmp/gmp_6.1.0.bb b/meta/recipes-support/gmp/gmp_6.1.0.bb index b26b4d510a..44bd8a229c 100644 --- a/meta/recipes-support/gmp/gmp_6.1.0.bb +++ b/meta/recipes-support/gmp/gmp_6.1.0.bb | |||
@@ -1,17 +1,19 @@ | |||
1 | require gmp.inc | 1 | require gmp.inc |
2 | 2 | ||
3 | LICENSE="GPLv2+ | LGPLv3+" | 3 | LICENSE = "GPLv2+ | LGPLv3+" |
4 | 4 | ||
5 | LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504 \ | 5 | LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504 \ |
6 | file://COPYING.LESSERv3;md5=6a6a8e020838b23406c81b19c1d46df6 \ | 6 | file://COPYING.LESSERv3;md5=6a6a8e020838b23406c81b19c1d46df6 \ |
7 | file://COPYINGv2;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ | 7 | file://COPYINGv2;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ |
8 | " | 8 | " |
9 | 9 | ||
10 | REVISION = "" | ||
10 | SRC_URI = "https://gmplib.org/download/${BPN}/${BP}${REVISION}.tar.bz2 \ | 11 | SRC_URI = "https://gmplib.org/download/${BPN}/${BP}${REVISION}.tar.bz2 \ |
11 | file://amd64.patch \ | 12 | file://amd64.patch \ |
12 | file://use-includedir.patch \ | 13 | file://use-includedir.patch \ |
13 | file://0001-Append-the-user-provided-flags-to-the-auto-detected-.patch \ | 14 | file://0001-Append-the-user-provided-flags-to-the-auto-detected-.patch \ |
14 | " | 15 | " |
16 | |||
15 | SRC_URI[md5sum] = "86ee6e54ebfc4a90b643a65e402c4048" | 17 | SRC_URI[md5sum] = "86ee6e54ebfc4a90b643a65e402c4048" |
16 | SRC_URI[sha256sum] = "498449a994efeba527885c10405993427995d3f86b8768d8cdf8d9dd7c6b73e8" | 18 | SRC_URI[sha256sum] = "498449a994efeba527885c10405993427995d3f86b8768d8cdf8d9dd7c6b73e8" |
17 | 19 | ||
@@ -27,4 +29,3 @@ do_install_append_class-target() { | |||
27 | } | 29 | } |
28 | 30 | ||
29 | SSTATE_SCAN_FILES += "gmp.h" | 31 | SSTATE_SCAN_FILES += "gmp.h" |
30 | |||