aboutsummaryrefslogtreecommitdiffstats
path: root/package/gmp/gmp.mk
blob: 7a17ebcc8bb4eb7fce14a12c3bba6dfaa036421e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#############################################################
#
# gmp
#
#############################################################

GMP_VERSION = 5.0.5
GMP_SITE = $(BR2_GNU_MIRROR)/gmp
GMP_SOURCE = gmp-$(GMP_VERSION).tar.bz2
GMP_INSTALL_STAGING = YES

# Bad ARM assembly breaks on pure thumb
ifeq ($(ARCH),arm)
GMP_MAKE_OPT += CFLAGS="$(TARGET_CFLAGS) -marm"
endif

$(eval $(call AUTOTARGETS))
$(eval $(call AUTOTARGETS,host))