1 ################################################################################
5 ################################################################################
8 GMP_SITE
= $(BR2_GNU_MIRROR
)/gmp
9 GMP_SOURCE
= gmp-
$(GMP_VERSION
).
tar.xz
10 GMP_INSTALL_STAGING
= YES
11 GMP_LICENSE
= LGPLv3
+ or GPLv2
+
12 GMP_LICENSE_FILES
= COPYING.LESSERv3 COPYINGv2
13 GMP_DEPENDENCIES
= host-m4
14 HOST_GMP_DEPENDENCIES
= host-m4
16 # GMP doesn't support assembly for coldfire or mips r6 ISA yet
17 # Disable for ARM v7m since it has different asm constraints
18 ifeq ($(BR2_m68k_cf
)$(BR2_MIPS_CPU_MIPS32R6
)$(BR2_MIPS_CPU_MIPS64R6
)$(BR2_ARM_CPU_ARMV7M
)$(BR2_arc
),y
)
19 GMP_CONF_OPTS
+= --disable-assembly
22 $(eval
$(autotools-package
))
23 $(eval
$(host-autotools-package
))