diff options
author | Tudor Florea <tudor.florea@enea.com> | 2015-10-09 22:59:03 +0200 |
---|---|---|
committer | Tudor Florea <tudor.florea@enea.com> | 2015-10-09 22:59:03 +0200 |
commit | 972dcfcdbfe75dcfeb777150c136576cf1a71e99 (patch) | |
tree | 97a61cd7e293d7ae9d56ef7ed0f81253365bb026 /meta/recipes-support/gmp/gmp.inc | |
download | poky-972dcfcdbfe75dcfeb777150c136576cf1a71e99.tar.gz |
initial commit for Enea Linux 5.0 arm
Signed-off-by: Tudor Florea <tudor.florea@enea.com>
Diffstat (limited to 'meta/recipes-support/gmp/gmp.inc')
-rw-r--r-- | meta/recipes-support/gmp/gmp.inc | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/meta/recipes-support/gmp/gmp.inc b/meta/recipes-support/gmp/gmp.inc new file mode 100644 index 0000000000..6aedc85f58 --- /dev/null +++ b/meta/recipes-support/gmp/gmp.inc | |||
@@ -0,0 +1,29 @@ | |||
1 | SECTION = "devel" | ||
2 | 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" | ||
4 | HOMEPAGE = "http://gmplib.org/" | ||
5 | LICENSE = "GPLv3 LGPLv3" | ||
6 | |||
7 | REVISION = "" | ||
8 | |||
9 | SRC_URI = "ftp://ftp.gmplib.org/pub/gmp-${PV}/gmp-${PV}${REVISION}.tar.bz2 \ | ||
10 | file://configure.patch \ | ||
11 | file://amd64.patch " | ||
12 | |||
13 | inherit autotools texinfo | ||
14 | |||
15 | ARM_INSTRUCTION_SET = "arm" | ||
16 | |||
17 | acpaths = "" | ||
18 | |||
19 | BBCLASSEXTEND = "native nativesdk" | ||
20 | |||
21 | PACKAGECONFIG ??= "" | ||
22 | PACKAGECONFIG[readline] = "--with-readline=yes,--with-readline=no,readline" | ||
23 | |||
24 | EXTRA_OECONF += " --enable-cxx=detect" | ||
25 | |||
26 | PACKAGES =+ "libgmpxx" | ||
27 | FILES_libgmpxx = "${libdir}/libgmpxx${SOLIBS}" | ||
28 | |||
29 | SSTATE_SCAN_FILES += "gmp.h" | ||