e6a7ad5fa5
Since version 6, GMP is distributed under the dual licenses LGPLv3+ or GPLv2+ Reviewed-by: Marcin Nowakowski <marcin.nowakowski@imgtec.com> Signed-off-by: Rahul Bedarkar <rahul.bedarkar@imgtec.com> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
24 lines
737 B
Makefile
24 lines
737 B
Makefile
################################################################################
|
|
#
|
|
# gmp
|
|
#
|
|
################################################################################
|
|
|
|
GMP_VERSION = 6.1.1
|
|
GMP_SITE = $(BR2_GNU_MIRROR)/gmp
|
|
GMP_SOURCE = gmp-$(GMP_VERSION).tar.xz
|
|
GMP_INSTALL_STAGING = YES
|
|
GMP_LICENSE = LGPLv3+ or GPLv2+
|
|
GMP_LICENSE_FILES = COPYING.LESSERv3 COPYINGv2
|
|
GMP_DEPENDENCIES = host-m4
|
|
HOST_GMP_DEPENDENCIES = host-m4
|
|
|
|
# GMP doesn't support assembly for coldfire or mips r6 ISA yet
|
|
# Disable for ARM v7m since it has different asm constraints
|
|
ifeq ($(BR2_m68k_cf)$(BR2_mips_32r6)$(BR2_mips_64r6)$(BR2_ARM_CPU_ARMV7M),y)
|
|
GMP_CONF_OPTS += --disable-assembly
|
|
endif
|
|
|
|
$(eval $(autotools-package))
|
|
$(eval $(host-autotools-package))
|