summaryrefslogtreecommitdiff
path: root/mk/mpfrhost.mk
diff options
context:
space:
mode:
authorAbdoulaye Walsimou Gaye <walsimou@walsimou.com>2009-05-12 02:46:17 +0200
committerAbdoulaye Walsimou Gaye <walsimou@walsimou.com>2009-05-12 02:46:17 +0200
commit8c0ea1194bc0905926fb9e211c3356f2348c7ca7 (patch)
treeba98e07ed70e19ef2b60b5ae3206bcd2ad5f3b51 /mk/mpfrhost.mk
downloadembtoolkit-8c0ea1194bc0905926fb9e211c3356f2348c7ca7.tar.gz
embtoolkit-8c0ea1194bc0905926fb9e211c3356f2348c7ca7.tar.bz2
embtoolkit-8c0ea1194bc0905926fb9e211c3356f2348c7ca7.tar.xz
Embtoolkit: Fisrt commit
This is the first commit in the embedded system toolkit git repository, formaly embtoolkit. This porject aims to design a tool which helps on building an embedded linux system. The goal of this porject is to use EGLIBC as C Library for linux systems generated. This initial commit is manely just a backup in order to save work done. Signed-off-by: Abdoulaye Walsimou Gaye <walsimou@walsimou.com>
Diffstat (limited to 'mk/mpfrhost.mk')
-rw-r--r--mk/mpfrhost.mk14
1 files changed, 14 insertions, 0 deletions
diff --git a/mk/mpfrhost.mk b/mk/mpfrhost.mk
new file mode 100644
index 0000000..d2def52
--- /dev/null
+++ b/mk/mpfrhost.mk
@@ -0,0 +1,14 @@
+
+MPFR_HOST_VERSION := $(subst ",,$(strip $(CONFIG_EMBTK_MPFR_HOST_VERSION_STRING)))
+MPFR_HOST_SITE := http://www.mpfr.org/mpfr-$(MPFR_HOST_VERSION)
+MPFR_HOST_COMPRESSOR := tar.bz2
+MPFR_HOST_COMPRESSOR_FLAGS := -xjf
+MPFR_HOST_DECOMPRESSOR := tar
+MPFR_HOST_PACKAGE := mpfr-$(MPFR_HOST_VERSION).$(MPFR_HOST_COMPRESSOR)
+MPFR_HOST_BUILD_DIR := $(TOOLS_BUILD)/$(MPFR_HOST_PACKAGE)
+
+DOWNLOAD_MPFR_HOST:
+ @test -e $(DOWNLOAD_DIR)/$(MPFR_HOST_PACKAGE) || \
+ wget -P $(DOWNLOAD_DIR) $(MPFR_HOST_SITE)/$(MPFR_HOST_PACKAGE)
+
+BUILD_MPFR_HOST: $(DECROMPRESS_MPFR_HOST) $()