diff options
author | Nitin A Kamble <nitin.a.kamble@intel.com> | 2011-11-29 11:30:38 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-12-01 20:40:23 +0000 |
commit | ceaff6ed8fb9c570039005916c0efbefc5c5fe7a (patch) | |
tree | 45de411f19c637adc279b1099ae13cb1db3c354e /meta/recipes-support/gmp | |
parent | c0e5906ea04ed9f42050489ef18ec9d41e4269d2 (diff) | |
download | poky-ceaff6ed8fb9c570039005916c0efbefc5c5fe7a.tar.gz |
gmp: also generate the libgmpcxx library & package it properly
configure runs few checks to make sure c++ compiler and runtime are working
as expected with the --enable-cxx=detect option. And it enables building
of libgmpxx library.
Same as earlier the libgmp.so.10.x file is packaged in the libgmp10 package,
and a new package named libgmpxx4 is added for libgmpxx.so.4.x file.
(From OE-Core rev: ac59ea9d55c2fae870fb60dbba920fefe1f3487f)
Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support/gmp')
-rw-r--r-- | meta/recipes-support/gmp/gmp.inc | 5 | ||||
-rw-r--r-- | meta/recipes-support/gmp/gmp_5.0.2.bb | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/meta/recipes-support/gmp/gmp.inc b/meta/recipes-support/gmp/gmp.inc index 66349e6e21..5ba118dabb 100644 --- a/meta/recipes-support/gmp/gmp.inc +++ b/meta/recipes-support/gmp/gmp.inc | |||
@@ -14,3 +14,8 @@ ARM_INSTRUCTION_SET = "arm" | |||
14 | acpaths = "" | 14 | acpaths = "" |
15 | 15 | ||
16 | BBCLASSEXTEND = "native nativesdk" | 16 | BBCLASSEXTEND = "native nativesdk" |
17 | |||
18 | EXTRA_OECONF += " --enable-cxx=detect" | ||
19 | |||
20 | PACKAGES =+ "libgmpxx" | ||
21 | FILES_libgmpxx = "${libdir}/libgmpxx${SOLIBS}" | ||
diff --git a/meta/recipes-support/gmp/gmp_5.0.2.bb b/meta/recipes-support/gmp/gmp_5.0.2.bb index 16bdcbc2b7..873fc3ea0e 100644 --- a/meta/recipes-support/gmp/gmp_5.0.2.bb +++ b/meta/recipes-support/gmp/gmp_5.0.2.bb | |||
@@ -2,7 +2,7 @@ require gmp.inc | |||
2 | LICENSE="LGPLv3&GPLv3" | 2 | LICENSE="LGPLv3&GPLv3" |
3 | LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504 \ | 3 | LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504 \ |
4 | file://version.c;endline=18;md5=d8c56b52b9092346b9f93b4da65ef790" | 4 | file://version.c;endline=18;md5=d8c56b52b9092346b9f93b4da65ef790" |
5 | PR = "r1" | 5 | PR = "r2" |
6 | 6 | ||
7 | SRC_URI_append += "file://sh4-asmfix.patch \ | 7 | SRC_URI_append += "file://sh4-asmfix.patch \ |
8 | file://use-includedir.patch " | 8 | file://use-includedir.patch " |