2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2006-09-28 19:38:06 +02:00
|
|
|
#
|
|
|
|
# gmp
|
|
|
|
#
|
2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2006-09-28 19:38:06 +02:00
|
|
|
|
2016-06-22 01:20:49 +02:00
|
|
|
GMP_VERSION = 6.1.1
|
2013-10-02 14:28:46 +02:00
|
|
|
GMP_SITE = $(BR2_GNU_MIRROR)/gmp
|
2013-09-06 08:14:15 +02:00
|
|
|
GMP_SOURCE = gmp-$(GMP_VERSION).tar.xz
|
2010-12-06 20:40:07 +01:00
|
|
|
GMP_INSTALL_STAGING = YES
|
2016-07-04 14:46:25 +02:00
|
|
|
GMP_LICENSE = LGPLv3+ or GPLv2+
|
|
|
|
GMP_LICENSE_FILES = COPYING.LESSERv3 COPYINGv2
|
2013-03-23 23:26:34 +01:00
|
|
|
GMP_DEPENDENCIES = host-m4
|
2016-07-03 00:20:45 +02:00
|
|
|
HOST_GMP_DEPENDENCIES = host-m4
|
2013-03-23 23:26:34 +01:00
|
|
|
|
2016-06-13 08:04:05 +02:00
|
|
|
# GMP doesn't support assembly for coldfire or mips r6 ISA yet
|
2016-06-20 16:00:03 +02:00
|
|
|
# Disable for ARM v7m since it has different asm constraints
|
2016-08-15 16:41:47 +02:00
|
|
|
ifeq ($(BR2_m68k_cf)$(BR2_mips_32r6)$(BR2_mips_64r6)$(BR2_ARM_CPU_ARMV7M)$(BR2_arc),y)
|
2015-11-24 14:32:27 +01:00
|
|
|
GMP_CONF_OPTS += --disable-assembly
|
|
|
|
endif
|
|
|
|
|
2012-07-03 00:07:32 +02:00
|
|
|
$(eval $(autotools-package))
|
2012-07-03 00:06:54 +02:00
|
|
|
$(eval $(host-autotools-package))
|