summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAbdoulaye Walsimou Gaye <walsimou@walsimou.com>2009-07-29 22:44:55 +0200
committerAbdoulaye Walsimou Gaye <walsimou@walsimou.com>2009-07-29 22:44:55 +0200
commit688e04284c5cbeb0b45faf2e9f1cdf3b5febcb30 (patch)
tree925a589ef9174568c395c8da7b45a2a2ea989acf
parente08bef1156436d42c504c6e815e8c49608f2564a (diff)
downloadembtoolkit-688e04284c5cbeb0b45faf2e9f1cdf3b5febcb30.tar.gz
embtoolkit-688e04284c5cbeb0b45faf2e9f1cdf3b5febcb30.tar.bz2
embtoolkit-688e04284c5cbeb0b45faf2e9f1cdf3b5febcb30.tar.xz
Toolchain: mpfrhost: be sure to use 80 char length in Makefile
Signed-off-by: Abdoulaye Walsimou Gaye <walsimou@walsimou.com>
-rw-r--r--mk/mpfrhost.mk16
1 files changed, 9 insertions, 7 deletions
diff --git a/mk/mpfrhost.mk b/mk/mpfrhost.mk
index f3c7eee..b5b3c9a 100644
--- a/mk/mpfrhost.mk
+++ b/mk/mpfrhost.mk
@@ -22,7 +22,7 @@
# \date May 2009
################################################################################
-MPFR_HOST_VERSION := $(subst ",,$(strip $(CONFIG_EMBTK_MPFR_HOST_VERSION_STRING)))
+MPFR_HOST_VERSION:=$(subst ",,$(strip $(CONFIG_EMBTK_MPFR_HOST_VERSION_STRING)))
MPFR_HOST_SITE := http://www.mpfr.org/mpfr-$(MPFR_HOST_VERSION)
MPFR_HOST_PACKAGE := mpfr-$(MPFR_HOST_VERSION).tar.bz2
MPFR_HOST_BUILD_DIR := $(TOOLS_BUILD)/mpfr
@@ -32,15 +32,16 @@ export MPFR_HOST_DIR
mpfrhost_install: $(MPFR_HOST_BUILD_DIR)/.built
-$(MPFR_HOST_BUILD_DIR)/.built: download_mpfr_host $(MPFR_HOST_BUILD_DIR)/.decompressed \
- $(MPFR_HOST_BUILD_DIR)/.configured
+$(MPFR_HOST_BUILD_DIR)/.built: download_mpfr_host \
+ $(MPFR_HOST_BUILD_DIR)/.decompressed $(MPFR_HOST_BUILD_DIR)/.configured
@cd $(MPFR_HOST_BUILD_DIR) && $(MAKE) $(J) && $(MAKE) install
@touch $@
$(MPFR_HOST_BUILD_DIR)/.decompressed:
@tar -C $(TOOLS_BUILD) -xjf $(DOWNLOAD_DIR)/$(MPFR_HOST_PACKAGE)
ifeq ($(CONFIG_EMBTK_MPFR_HOST_VERSION_PATCH),y)
- cd $(TOOLS_BUILD)/mpfr-$(MPFR_HOST_VERSION); patch -p1 < $(DOWNLOAD_DIR)/mpfr-$(MPFR_HOST_VERSION).patch
+ cd $(TOOLS_BUILD)/mpfr-$(MPFR_HOST_VERSION); \
+ patch -p1 < $(DOWNLOAD_DIR)/mpfr-$(MPFR_HOST_VERSION).patch
endif
@mkdir -p $(MPFR_HOST_BUILD_DIR)
@touch $@
@@ -56,10 +57,11 @@ ifeq ($(CONFIG_EMBTK_MPFR_HOST_VERSION_PATCH),y)
endif
$(MPFR_HOST_BUILD_DIR)/.configured:
- $(call EMBTK_GENERIC_MESSAGE,"mpfrhost: Configuring mpfr-$(MPFR_HOST_VERSION) ...")
+ $(call EMBTK_GENERIC_MESSAGE,"mpfrhost: Configuring \
+ mpfr-$(MPFR_HOST_VERSION) ...")
@mkdir -p $(MPFR_HOST_DIR)
cd $(MPFR_HOST_BUILD_DIR); CC=$(HOSTCC_CACHED) CXX=$(HOSTCXX_CACHED) \
$(TOOLS_BUILD)/mpfr-$(MPFR_HOST_VERSION)/configure \
- --prefix=$(MPFR_HOST_DIR) --disable-shared --enable-static --with-gmp=$(GMP_HOST_DIR) \
- --build=$(HOST_BUILD) --host=$(HOST_ARCH)
+ --prefix=$(MPFR_HOST_DIR) --disable-shared --enable-static \
+ --with-gmp=$(GMP_HOST_DIR) --build=$(HOST_BUILD) --host=$(HOST_ARCH)
@touch $@