summaryrefslogtreecommitdiffstats
path: root/rules/host-mpfr.make
diff options
context:
space:
mode:
authorMarc Kleine-Budde <mkl@pengutronix.de>2008-04-25 10:40:50 +0000
committerMarc Kleine-Budde <mkl@pengutronix.de>2008-04-25 10:40:50 +0000
commitbea03c8fdd1f46eea716d62e00b6a985546c1002 (patch)
tree31e6a43b1f37400fbe7495ff6bb866b5bd2f8961 /rules/host-mpfr.make
parent040cee7d3045beaf9e9471ff018e7525144b73f0 (diff)
downloadOSELAS.Toolchain-bea03c8fdd1f46eea716d62e00b6a985546c1002.tar.gz
OSELAS.Toolchain-bea03c8fdd1f46eea716d62e00b6a985546c1002.tar.xz
git-svn-id: https://svn.pengutronix.de/svn/oselas/toolchain/branches/OSELAS.Toolchain-mkl@6226 f8d472c7-5700-0410-ac5a-87979cec3adf
Diffstat (limited to 'rules/host-mpfr.make')
-rw-r--r--rules/host-mpfr.make53
1 files changed, 9 insertions, 44 deletions
diff --git a/rules/host-mpfr.make b/rules/host-mpfr.make
index 36b3199..24aa8f8 100644
--- a/rules/host-mpfr.make
+++ b/rules/host-mpfr.make
@@ -20,36 +20,28 @@ HOST_PACKAGES-$(PTXCONF_HOST_MPFR) += host-mpfr
HOST_MPFR_VERSION := 2.3.1
HOST_MPFR := mpfr-$(HOST_MPFR_VERSION)
HOST_MPFR_SUFFIX := tar.bz2
-HOST_MPFR_URL := http://www.mpfr.org/mpfr-current/$(HOST_MPFR).$(HOST_MPFR_SUFFIX)
+HOST_MPFR_URL := http://www.mpfr.org/mpfr-current/$(HOST_MPFR).$(HOST_MPFR_SUFFIX)
HOST_MPFR_SOURCE := $(SRCDIR)/$(HOST_MPFR).$(HOST_MPFR_SUFFIX)
-HOST_MPFR_DIR := $(HOST_BUILDDIR)/$(HOST_MPFR)
+HOST_MPFR_DIR := $(HOST_BUILDDIR)/$(HOST_MPFR)
# ----------------------------------------------------------------------------
# Get
# ----------------------------------------------------------------------------
-host-mpfr_get: $(STATEDIR)/host-mpfr.get
-
-$(STATEDIR)/host-mpfr.get: $(host-mpfr_get_deps_default)
- @$(call targetinfo, $@)
- @$(call touch, $@)
-
$(HOST_MPFR_SOURCE):
- @$(call targetinfo, $@)
+ @$(call targetinfo)
@$(call get, HOST_MPFR)
# ----------------------------------------------------------------------------
# Extract
# ----------------------------------------------------------------------------
-host-mpfr_extract: $(STATEDIR)/host-mpfr.extract
-
$(STATEDIR)/host-mpfr.extract: $(host-mpfr_extract_deps_default)
- @$(call targetinfo, $@)
+ @$(call targetinfo)
@$(call clean, $(HOST_MPFR_DIR))
@$(call extract, HOST_MPFR, $(HOST_BUILDDIR))
@$(call patchin, HOST_MPFR, $(HOST_MPFR_DIR))
- @$(call touch, $@)
+ @$(call touch)
# ----------------------------------------------------------------------------
# Prepare
@@ -63,37 +55,10 @@ HOST_MPFR_ENV := $(HOST_ENV)
#
# autoconf
#
-HOST_MPFR_AUTOCONF := $(HOST_AUTOCONF)
-
-$(STATEDIR)/host-mpfr.prepare: $(host-mpfr_prepare_deps_default)
- @$(call targetinfo, $@)
- @$(call clean, $(HOST_MPFR_DIR)/config.cache)
- cd $(HOST_MPFR_DIR) && \
- $(HOST_MPFR_PATH) $(HOST_MPFR_ENV) \
- ./configure $(HOST_MPFR_AUTOCONF)
- @$(call touch, $@)
-
-# ----------------------------------------------------------------------------
-# Compile
-# ----------------------------------------------------------------------------
-
-host-mpfr_compile: $(STATEDIR)/host-mpfr.compile
-
-$(STATEDIR)/host-mpfr.compile: $(host-mpfr_compile_deps_default)
- @$(call targetinfo, $@)
- cd $(HOST_MPFR_DIR) && $(HOST_MPFR_PATH) $(MAKE) $(PARALLELMFLAGS)
- @$(call touch, $@)
-
-# ----------------------------------------------------------------------------
-# Install
-# ----------------------------------------------------------------------------
-
-host-mpfr_install: $(STATEDIR)/host-mpfr.install
-
-$(STATEDIR)/host-mpfr.install: $(host-mpfr_install_deps_default)
- @$(call targetinfo, $@)
- @$(call install, HOST_MPFR,,h)
- @$(call touch, $@)
+HOST_MPFR_AUTOCONF := \
+ $(HOST_AUTOCONF) \
+ --disable-shared \
+ --enable-static
# ----------------------------------------------------------------------------
# Clean