Bump buidlroot version to 2018.02.6
This commit is contained in:
@@ -0,0 +1,40 @@
|
||||
From d858ce52d1971cb4e8500b0ebc0472fdae4686ec Mon Sep 17 00:00:00 2001
|
||||
From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
|
||||
Date: Sun, 7 May 2017 23:12:04 +0200
|
||||
Subject: [PATCH] mpn/arm/udiv.asm: workaround binutils bug #14887
|
||||
|
||||
Old binutils versions are affected by bug #14887,
|
||||
https://sourceware.org/bugzilla/show_bug.cgi?id=14887, which causes a
|
||||
build failure when a register specification is surrounded by
|
||||
whitespaces. Removing those whitespaces works around the issue.
|
||||
|
||||
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
|
||||
---
|
||||
mpn/arm/udiv.asm | 4 ++--
|
||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/mpn/arm/udiv.asm b/mpn/arm/udiv.asm
|
||||
index 25197a6..ed11eb3 100644
|
||||
--- a/mpn/arm/udiv.asm
|
||||
+++ b/mpn/arm/udiv.asm
|
||||
@@ -50,7 +50,7 @@ L(oop): divstep(n1,n0,d)
|
||||
teq r12, #0
|
||||
bne L(oop)
|
||||
|
||||
- str n1, [ rem_ptr ] C store remainder
|
||||
+ str n1, [rem_ptr] C store remainder
|
||||
adc r0, n0, n0 C quotient: add last carry from divstep
|
||||
mov pc, lr
|
||||
|
||||
@@ -89,7 +89,7 @@ L(oop2):
|
||||
addcs n0, n0, #1 C adjust quotient
|
||||
|
||||
L(_even_divisor):
|
||||
- str n1, [ rem_ptr ] C store remainder
|
||||
+ str n1, [rem_ptr] C store remainder
|
||||
mov r0, n0 C quotient
|
||||
ldmfd sp!, { r8, pc }
|
||||
EPILOGUE(mpn_udiv_qrnnd)
|
||||
--
|
||||
2.7.4
|
||||
|
||||
8
bsp/buildroot/package/mpir/Config.in
Normal file
8
bsp/buildroot/package/mpir/Config.in
Normal file
@@ -0,0 +1,8 @@
|
||||
config BR2_PACKAGE_MPIR
|
||||
bool "mpir"
|
||||
select BR2_PACKAGE_GMP
|
||||
help
|
||||
MPIR is a highly optimised library for bignum arithmetic
|
||||
forked from the GMP bignum library.
|
||||
|
||||
http://www.mpir.org/
|
||||
2
bsp/buildroot/package/mpir/mpir.hash
Normal file
2
bsp/buildroot/package/mpir/mpir.hash
Normal file
@@ -0,0 +1,2 @@
|
||||
# Locally calculated
|
||||
sha256 52f63459cf3f9478859de29e00357f004050ead70b45913f2c2269d9708675bb mpir-3.0.0.tar.bz2
|
||||
39
bsp/buildroot/package/mpir/mpir.mk
Normal file
39
bsp/buildroot/package/mpir/mpir.mk
Normal file
@@ -0,0 +1,39 @@
|
||||
################################################################################
|
||||
#
|
||||
# mpir
|
||||
#
|
||||
################################################################################
|
||||
|
||||
MPIR_VERSION = 3.0.0
|
||||
MPIR_SITE = http://www.mpir.org
|
||||
MPIR_SOURCE = mpir-$(MPIR_VERSION).tar.bz2
|
||||
MPIR_LICENSE = LGPL-3.0+
|
||||
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=64
|
||||
endif
|
||||
|
||||
# The optimized ARM assembly code uses ARM-only (i.e not Thumb1/2
|
||||
# compatible) instructions.
|
||||
ifeq ($(BR2_arm)$(BR2_armeb):$(BR2_ARM_CPU_HAS_ARM),y:)
|
||||
MPIR_CONF_ENV += MPN_PATH="generic"
|
||||
endif
|
||||
|
||||
# Optimized mips32/mips64 code not suitable for mips32r6/mips64r6
|
||||
ifeq ($(BR2_MIPS_CPU_MIPS32R6)$(BR2_MIPS_CPU_MIPS64R6),y)
|
||||
MPIR_CONF_ENV += MPN_PATH="generic"
|
||||
endif
|
||||
|
||||
# Optimized powerpc64 code is not suitable for powerpc64le
|
||||
ifeq ($(BR2_powerpc64le),y)
|
||||
MPIR_CONF_ENV += MPN_PATH="generic"
|
||||
endif
|
||||
|
||||
$(eval $(autotools-package))
|
||||
Reference in New Issue
Block a user