[OE-core] [PATCH] gmp: do the multilib_header magic for gmp.h

Changqing Li changqing.li at windriver.com
Tue Jun 5 07:25:42 UTC 2018


Ping

On 05/18/2018 04:42 PM, changqing.li at windriver.com wrote:
> From: Changqing Li <changqing.li at windriver.com>
>
> Add multilib support feature for this recipe
>
> Signed-off-by: Changqing Li <changqing.li at windriver.com>
> ---
>   meta/recipes-support/gmp/gmp.inc      | 2 +-
>   meta/recipes-support/gmp/gmp_6.1.2.bb | 4 ++++
>   2 files changed, 5 insertions(+), 1 deletion(-)
>
> diff --git a/meta/recipes-support/gmp/gmp.inc b/meta/recipes-support/gmp/gmp.inc
> index abac8cf..948b892 100644
> --- a/meta/recipes-support/gmp/gmp.inc
> +++ b/meta/recipes-support/gmp/gmp.inc
> @@ -3,7 +3,7 @@ DESCRIPTION = "GMP is a free library for arbitrary precision arithmetic, operati
>   HOMEPAGE = "http://gmplib.org/"
>   SECTION = "devel"
>   
> -inherit autotools texinfo
> +inherit autotools texinfo multilib_header
>   
>   PACKAGECONFIG ??= ""
>   PACKAGECONFIG[readline] = "--with-readline=yes,--with-readline=no,readline"
> diff --git a/meta/recipes-support/gmp/gmp_6.1.2.bb b/meta/recipes-support/gmp/gmp_6.1.2.bb
> index b008710..c745dbb 100644
> --- a/meta/recipes-support/gmp/gmp_6.1.2.bb
> +++ b/meta/recipes-support/gmp/gmp_6.1.2.bb
> @@ -25,6 +25,10 @@ EXTRA_OECONF_mipsarchr6_append = " --disable-assembly"
>   PACKAGES =+ "libgmpxx"
>   FILES_libgmpxx = "${libdir}/libgmpxx${SOLIBS}"
>   
> +do_install_append() {
> +	oe_multilib_header gmp.h
> +}
> +
>   do_install_prepend_class-target() {
>           sed -i \
>           -e "s|--sysroot=${STAGING_DIR_HOST}||g" \

-- 
BRs

Sandy(Li Changqing)
+861084778653




More information about the Openembedded-core mailing list