From patchwork Tue Nov 29 00:36:34 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [3/4] gmp: also generate the libgmpcxx library & package it properly Date: Tue, 29 Nov 2011 00:36:34 -0000 From: Nitin A Kamble X-Patchwork-Id: 15493 Message-Id: <4f8425c0c7856dba2b3765407a97754c7b06aeb5.1322526931.git.nitin.a.kamble@intel.com> To: openembedded-core@lists.openembedded.org From: Nitin A Kamble 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. Signed-off-by: Nitin A Kamble --- meta/recipes-support/gmp/gmp.inc | 6 ++++++ meta/recipes-support/gmp/gmp_5.0.2.bb | 2 +- 2 files changed, 7 insertions(+), 1 deletions(-) diff --git a/meta/recipes-support/gmp/gmp.inc b/meta/recipes-support/gmp/gmp.inc index 66349e6..14e6cfc 100644 --- a/meta/recipes-support/gmp/gmp.inc +++ b/meta/recipes-support/gmp/gmp.inc @@ -14,3 +14,9 @@ ARM_INSTRUCTION_SET = "arm" acpaths = "" BBCLASSEXTEND = "native nativesdk" + +EXTRA_OECONF += " --enable-cxx=detect" + +PACKAGES =+ "libgmp10 libgmpxx4" +FILES_libgmp10 = "${libdir}/libgmp.so.10*" +FILES_libgmpxx4 = "${libdir}/libgmpxx.so.4*" diff --git a/meta/recipes-support/gmp/gmp_5.0.2.bb b/meta/recipes-support/gmp/gmp_5.0.2.bb index 16bdcbc..873fc3e 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 LICENSE="LGPLv3&GPLv3" LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504 \ file://version.c;endline=18;md5=d8c56b52b9092346b9f93b4da65ef790" -PR = "r1" +PR = "r2" SRC_URI_append += "file://sh4-asmfix.patch \ file://use-includedir.patch "