[oe-commits] [openembedded-core] 09/61: gmp: do the multilib_header magic for gmp.h
git at git.openembedded.org
git at git.openembedded.org
Tue May 29 10:43:36 UTC 2018
This is an automated email from the git hooks/post-receive script.
rpurdie pushed a commit to branch master-next
in repository openembedded-core.
commit a2b4552b96c49dbdc9aef4b64820c3ff16dc5bb6
Author: Changqing Li <changqing.li at windriver.com>
AuthorDate: Fri May 18 16:42:48 2018 +0800
gmp: do the multilib_header magic for gmp.h
Add multilib support feature for this recipe
Signed-off-by: Changqing Li <changqing.li at windriver.com>
Signed-off-by: Ross Burton <ross.burton at intel.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" \
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Openembedded-commits
mailing list