af31c309e7
We want to use SPDX identifier for license strings as much as possible. SPDX short identifier for GPLv2/GPLv2+ is GPL-2.0/GPL-2.0+. This change is done by using following command. find . -name "*.mk" | xargs sed -ri '/LICENSE( )?[\+:]?=/s/\<GPLv2\>/GPL-2.0/g' Signed-off-by: Rahul Bedarkar <rahulbedarkar89@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
24 lines
765 B
Makefile
24 lines
765 B
Makefile
################################################################################
|
|
#
|
|
# gmp
|
|
#
|
|
################################################################################
|
|
|
|
GMP_VERSION = 6.1.2
|
|
GMP_SITE = $(BR2_GNU_MIRROR)/gmp
|
|
GMP_SOURCE = gmp-$(GMP_VERSION).tar.xz
|
|
GMP_INSTALL_STAGING = YES
|
|
GMP_LICENSE = LGPLv3+ or GPL-2.0+
|
|
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_CPU_MIPS32R6)$(BR2_MIPS_CPU_MIPS64R6)$(BR2_ARM_CPU_ARMV7M)$(BR2_arc),y)
|
|
GMP_CONF_OPTS += --disable-assembly
|
|
endif
|
|
|
|
$(eval $(autotools-package))
|
|
$(eval $(host-autotools-package))
|