[Buildroot] [PATCH] mpir: fix build failure
Yann E. MORIN
yann.morin.1998 at free.fr
Mon Apr 17 14:08:23 UTC 2017
Semyon, All,
On 2017-04-17 16:59 +0300, Semyon Kolganov spake thusly:
> Signed-off-by: Semyon Kolganov <semenak94 at mail.ru>
> ---
> package/mpir/Config.in | 5 +++++
> package/mpir/mpir.mk | 8 ++++++++
> 2 files changed, 13 insertions(+)
>
> diff --git a/package/mpir/Config.in b/package/mpir/Config.in
> index da4cc9f..4f7fa65 100644
> --- a/package/mpir/Config.in
> +++ b/package/mpir/Config.in
> @@ -1,8 +1,13 @@
> config BR2_PACKAGE_MPIR
> bool "mpir"
> + # asm files in mpn/powerpc64/mode64/* are Abi version 1.
> + depends on !BR2_powerpc64le
Is it otherwise possible to disable use of the asm code and use some
generic one (if any) ?
> select BR2_PACKAGE_GMP
> help
> MPIR is a highly optimised library for bignum arithmetic
> forked from the GMP bignum library.
>
> http://www.mpir.org/
> +
> +comment "mpir conflicts with powerpc64le"
> + depends on BR2_powerpc64le
We do not usually add a comment for architecture dependencies.
Regards,
Yann E. MORIN.
> diff --git a/package/mpir/mpir.mk b/package/mpir/mpir.mk
> index 430d587..b835ca4 100644
> --- a/package/mpir/mpir.mk
> +++ b/package/mpir/mpir.mk
> @@ -12,4 +12,12 @@ MPIR_LICENSE_FILES = COPYING.LIB
> MPIR_INSTALL_STAGING = YES
> MPIR_DEPENDENCIES = gmp host-yasm
>
> +ifeq ($(BR2_MIPS_NABI32),y)
> +MPIR_CONF_OPTS += ABI=n32
> +endif
> +
> +ifeq ($(BR2_MIPS_NABI64),y)
> +MPIR_CONF_OPTS += ABI=n64
> +endif
> +
> $(eval $(autotools-package))
> --
> 2.7.4
>
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
More information about the buildroot
mailing list