[OE-core] [PATCH 1/4] gmp: also generate the libgmpcxx library & package it properly

Otavio Salvador otavio at ossystems.com.br
Tue Nov 29 19:37:36 UTC 2011


Acked-by: Otavio Salvador <otavio at ossystems.com.br>

On Tue, Nov 29, 2011 at 17:30, <nitin.a.kamble at intel.com> wrote:

> From: Nitin A Kamble <nitin.a.kamble at intel.com>
>
> 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 <nitin.a.kamble at intel.com>
> Signed-off-by: Phil Blundell <philb at gnu.org>
> ---
>  meta/recipes-support/gmp/gmp.inc      |    5 +++++
>  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 66349e6..5ba118d 100644
> --- a/meta/recipes-support/gmp/gmp.inc
> +++ b/meta/recipes-support/gmp/gmp.inc
> @@ -14,3 +14,8 @@ ARM_INSTRUCTION_SET = "arm"
>  acpaths = ""
>
>  BBCLASSEXTEND = "native nativesdk"
> +
> +EXTRA_OECONF += " --enable-cxx=detect"
> +
> +PACKAGES =+ "libgmpxx"
> +FILES_libgmpxx = "${libdir}/libgmpxx${SOLIBS}"
> diff --git a/meta/recipes-support/gmp/gmp_5.0.2.bbb/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 "
> --
> 1.7.6.4
>
>
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
>



-- 
Otavio Salvador                             O.S. Systems
E-mail: otavio at ossystems.com.br  http://www.ossystems.com.br
Mobile: +55 53 9981-7854              http://projetos.ossystems.com.br
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20111129/02fd56d6/attachment-0002.html>


More information about the Openembedded-core mailing list