summaryrefslogtreecommitdiffstats
path: root/rules/host-gmp.make
blob: 26b5a4d3ba3f99a8f2b26f8b915f514311efcc03 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# -*-makefile-*-
#
# Copyright (C) 2007-2008 by Marc Kleine-Budde <mkl@pengutronix.de>
#
# See CREDITS for details about who has contributed to this project.
#
# For further information about the PTXdist project and license conditions
# see the README file.
#

#
# We provide this package
#
HOST_PACKAGES-$(PTXCONF_HOST_GMP) += host-gmp

#
# Paths and names
#
HOST_GMP_VERSION	:= 6.1.0
HOST_GMP_MD5		:= a9868ef2556ad6a2909babcd1428f3c7
HOST_GMP		:= gmp-$(HOST_GMP_VERSION)
HOST_GMP_SUFFIX		:= tar.xz
HOST_GMP_URL		:= \
	$(call ptx/mirror, GNU, gmp/$(HOST_GMP).$(HOST_GMP_SUFFIX)) \
	https://gmplib.org/download/gmp/$(HOST_GMP).$(HOST_GMP_SUFFIX)
HOST_GMP_SOURCE		:= $(SRCDIR)/$(HOST_GMP).$(HOST_GMP_SUFFIX)
HOST_GMP_DIR		:= $(HOST_BUILDDIR)/$(HOST_GMP)

# ----------------------------------------------------------------------------
# Prepare
# ----------------------------------------------------------------------------

HOST_GMP_DEVPKG	:= NO

#
# autoconf
#
HOST_GMP_CONF_TOOL	:= autoconf
HOST_GMP_CONF_OPT	:= \
	$(PTX_HOST_AUTOCONF) \
	--host=$(GNU_HOST) \
	--disable-shared \
	--enable-static \
	--without-readline

# vim: syntax=make