1################################################################################ 2# 3# mpir 4# 5################################################################################ 6 7MPIR_VERSION = 3.0.0 8MPIR_SITE = http://www.mpir.org 9MPIR_SOURCE = mpir-$(MPIR_VERSION).tar.bz2 10MPIR_LICENSE = LGPL-3.0+ 11MPIR_LICENSE_FILES = COPYING.LIB 12MPIR_INSTALL_STAGING = YES 13MPIR_DEPENDENCIES = gmp host-yasm 14 15ifeq ($(BR2_MIPS_NABI32),y) 16MPIR_CONF_OPTS += ABI=n32 17endif 18 19ifeq ($(BR2_MIPS_NABI64),y) 20MPIR_CONF_OPTS += ABI=64 21endif 22 23# The optimized ARM assembly code uses ARM-only (i.e not Thumb1/2 24# compatible) instructions. 25ifeq ($(BR2_arm)$(BR2_armeb):$(BR2_ARM_CPU_HAS_ARM),y:) 26MPIR_CONF_ENV += MPN_PATH="generic" 27endif 28 29# Optimized mips32/mips64 code not suitable for mips32r6/mips64r6 30ifeq ($(BR2_MIPS_CPU_MIPS32R6)$(BR2_MIPS_CPU_MIPS64R6),y) 31MPIR_CONF_ENV += MPN_PATH="generic" 32endif 33 34# Optimized powerpc64 code is not suitable for powerpc64le 35ifeq ($(BR2_powerpc64le),y) 36MPIR_CONF_ENV += MPN_PATH="generic" 37endif 38 39$(eval $(autotools-package)) 40