From: Changqing Li Date: Fri, 18 May 2018 08:42:48 +0000 (+0800) Subject: gmp: do the multilib_header magic for gmp.h X-Git-Tag: uninative-2.1~130 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=a2b4552b96c49dbdc9aef4b64820c3ff16dc5bb6;p=openembedded-core.git gmp: do the multilib_header magic for gmp.h Add multilib support feature for this recipe Signed-off-by: Changqing Li Signed-off-by: Ross Burton --- diff --git a/meta/recipes-support/gmp/gmp.inc b/meta/recipes-support/gmp/gmp.inc index abac8cf339..948b89288e 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 b008710d0f..c745dbbfe7 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" \