]> code.ossystems Code Review - openembedded-core.git/commitdiff
gmp: do the multilib_header magic for gmp.h
authorChangqing Li <changqing.li@windriver.com>
Fri, 18 May 2018 08:42:48 +0000 (16:42 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 29 May 2018 10:25:04 +0000 (11:25 +0100)
Add multilib support feature for this recipe

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/recipes-support/gmp/gmp.inc
meta/recipes-support/gmp/gmp_6.1.2.bb

index abac8cf339c35162126c479fb7d40a108eeb6dd9..948b89288e05638b039080a47dfa0a948544a53e 100644 (file)
@@ -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"
index b008710d0f0fcc2c6930d9cd1d474385c911a715..c745dbbfe71edae1a0575cae015c302f40cd9a61 100644 (file)
@@ -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" \