From: ulf at uclibc.org <ulf@uclibc.org>
To: buildroot@busybox.net
Subject: [Buildroot] svn commit: trunk/buildroot/package/mpfr
Date: Tue, 30 Oct 2007 23:52:26 -0700 (PDT) [thread overview]
Message-ID: <20071031065226.AAA0DA688F@busybox.net> (raw)
Author: ulf
Date: 2007-10-30 23:52:26 -0700 (Tue, 30 Oct 2007)
New Revision: 20348
Log:
Cleanup logic of mpfr build, and patch using recommended switches
Modified:
trunk/buildroot/package/mpfr/mpfr.mk
Changeset:
Modified: trunk/buildroot/package/mpfr/mpfr.mk
===================================================================
--- trunk/buildroot/package/mpfr/mpfr.mk 2007-10-31 06:40:36 UTC (rev 20347)
+++ trunk/buildroot/package/mpfr/mpfr.mk 2007-10-31 06:52:26 UTC (rev 20348)
@@ -14,35 +14,25 @@
MPFR_BINARY:=libmpfr$(LIBTGTEXT)
MPFR_HOST_BINARY:=libmpfr$(HOST_SHREXT)
MPFR_LIBVERSION:=1.0.1
+#MPFR_SVN_CMD:=svn co svn://scm.gforge.inria.fr/svn/mpfr/branches/2.3 mpfr-2.3
-# No patch
-ifeq ($(MPFR_PATCH),)
-$(DL_DIR)/$(MPFR_SOURCE):
- $(WGET) -P $(DL_DIR) $(MPFR_SITE)/$(MPFR_SOURCE)
-
-libmpfr-source: $(DL_DIR)/$(MPFR_SOURCE)
-endif
# need patch
ifneq ($(MPFR_PATCH),)
-$(DL_DIR)/$(MPFR_SOURCE):
- $(WGET) -P $(DL_DIR) $(MPFR_SITE)/$(MPFR_SOURCE)
+MPFR_PATCH_SOURCE:=$(DL_DIR)/$(MPFR_PATCH_FILE)
-$(DL_DIR)/$(MPFR_PATCH_FILE):
+$(MPFR_PATCH_SOURCE):
$(WGET) -O $@ $(MPFR_SITE)/$(MPFR_PATCH)
-
-libmpfr-source: $(DL_DIR)/$(MPFR_SOURCE) $(DL_DIR)/$(MPFR_PATCH_FILE)
endif
-ifeq ($(MPFR_PATCH),)
-$(MPFR_DIR)/.unpacked: $(DL_DIR)/$(MPFR_SOURCE)
-else
-$(MPFR_DIR)/.unpacked: $(DL_DIR)/$(MPFR_SOURCE) $(DL_DIR)/$(MPFR_PATCH_FILE)
-endif
+$(DL_DIR)/$(MPFR_SOURCE):
+ $(WGET) -P $(DL_DIR) $(MPFR_SITE)/$(MPFR_SOURCE)
+
+$(MPFR_DIR)/.unpacked: $(DL_DIR)/$(MPFR_SOURCE) $(MPFR_PATCH_SOURCE)
$(MPFR_CAT) $(DL_DIR)/$(MPFR_SOURCE) | tar -C $(TOOL_BUILD_DIR) $(TAR_OPTIONS) -
toolchain/patch-kernel.sh $(MPFR_DIR) package/mpfr/ \*.patch
$(CONFIG_UPDATE) $(MPFR_DIR)
ifneq ($(MPFR_PATCH),)
- ( cd $(MPFR_DIR); patch -p1 < $(DL_DIR)/$(MPFR_PATCH_FILE); )
+ ( cd $(MPFR_DIR); patch -p1 -N -Z < $(MPFR_PATCH_SOURCE); )
endif
touch $@
@@ -77,6 +67,10 @@
$(TARGET_DIR)/usr/include/
endif
+.PHONY: libmpfr-source
+
+libmpfr-source: $(DL_DIR)/$(MPFR_SOURCE) $(MPFR_PATCH_SOURCE)
+
libmpfr: uclibc $(TARGET_DIR)/usr/lib/libmpfr$(LIBTGTEXT)
stage-libmpfr: uclibc $(STAGING_DIR)/usr/lib/$(MPFR_BINARY)
next reply other threads:[~2007-10-31 6:52 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-10-31 6:52 ulf at uclibc.org [this message]
-- strict thread matches above, loose matches on Subject: below --
2009-02-13 8:34 [Buildroot] svn commit: trunk/buildroot/package/mpfr jacmet at uclibc.org
2009-02-01 19:37 jacmet at uclibc.org
2009-01-16 12:34 jacmet at uclibc.org
2008-05-22 21:40 ulf at uclibc.org
2008-03-11 17:52 ninevoltz at uclibc.org
2008-03-11 15:58 ninevoltz at uclibc.org
2008-01-04 20:07 prpplague at uclibc.org
2008-01-04 20:14 ` Bernhard Fischer
2007-09-17 13:44 aldot at uclibc.org
2007-09-17 11:20 aldot at uclibc.org
2007-08-31 14:30 aldot at uclibc.org
2007-03-22 16:14 aldot at uclibc.org
2007-03-22 13:21 aldot at uclibc.org
2007-03-19 14:16 aldot at uclibc.org
2007-01-16 21:00 aldot at uclibc.org
2006-12-22 10:20 aldot at uclibc.org
2006-12-21 17:20 aldot at uclibc.org
2006-12-14 15:37 aldot at uclibc.org
2006-12-13 20:09 aldot at uclibc.org
2006-12-02 18:14 aldot at uclibc.org
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20071031065226.AAA0DA688F@busybox.net \
--to=ulf@uclibc.org \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.