diff options
author | Changqing Li <changqing.li@windriver.com> | 2018-05-18 16:42:48 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-05-29 21:07:13 +0100 |
commit | cc8f888018f55e6227b846429186307000d76a27 (patch) | |
tree | d2e24a3a26063270eebb87af3c512dd1e9a815b6 /meta/recipes-support | |
parent | 24882b24165d8034d6611139a8254fa6a52f1b60 (diff) | |
download | poky-cc8f888018f55e6227b846429186307000d76a27.tar.gz |
gmp: do the multilib_header magic for gmp.h
Add multilib support feature for this recipe
(From OE-Core rev: a2b4552b96c49dbdc9aef4b64820c3ff16dc5bb6)
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support')
-rw-r--r-- | meta/recipes-support/gmp/gmp.inc | 2 | ||||
-rw-r--r-- | meta/recipes-support/gmp/gmp_6.1.2.bb | 4 |
2 files changed, 5 insertions, 1 deletions
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 | |||
3 | HOMEPAGE = "http://gmplib.org/" | 3 | HOMEPAGE = "http://gmplib.org/" |
4 | SECTION = "devel" | 4 | SECTION = "devel" |
5 | 5 | ||
6 | inherit autotools texinfo | 6 | inherit autotools texinfo multilib_header |
7 | 7 | ||
8 | PACKAGECONFIG ??= "" | 8 | PACKAGECONFIG ??= "" |
9 | PACKAGECONFIG[readline] = "--with-readline=yes,--with-readline=no,readline" | 9 | 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" | |||
25 | PACKAGES =+ "libgmpxx" | 25 | PACKAGES =+ "libgmpxx" |
26 | FILES_libgmpxx = "${libdir}/libgmpxx${SOLIBS}" | 26 | FILES_libgmpxx = "${libdir}/libgmpxx${SOLIBS}" |
27 | 27 | ||
28 | do_install_append() { | ||
29 | oe_multilib_header gmp.h | ||
30 | } | ||
31 | |||
28 | do_install_prepend_class-target() { | 32 | do_install_prepend_class-target() { |
29 | sed -i \ | 33 | sed -i \ |
30 | -e "s|--sysroot=${STAGING_DIR_HOST}||g" \ | 34 | -e "s|--sysroot=${STAGING_DIR_HOST}||g" \ |