- fix prereq of current binutils wrt gmp

This commit is contained in:
Bernhard Reutner-Fischer 2007-01-28 16:38:48 +00:00
parent 1a2c8d12a1
commit 330117faf8

View File

@ -14,27 +14,33 @@ BINUTILS_SITE:=ftp://ftp.gnu.org/gnu/binutils/
endif endif
ifeq ($(BINUTILS_VERSION),2.16) ifeq ($(BINUTILS_VERSION),2.16)
BINUTILS_SITE:=ftp://ftp.gnu.org/gnu/binutils/ BINUTILS_SITE:=ftp://ftp.gnu.org/gnu/binutils/
BINUTILS_NO_MPFR:=y
endif endif
ifeq ($(BINUTILS_VERSION),2.16.1) ifeq ($(BINUTILS_VERSION),2.16.1)
BINUTILS_SITE:=ftp://ftp.gnu.org/gnu/binutils/ BINUTILS_SITE:=ftp://ftp.gnu.org/gnu/binutils/
BINUTILS_NO_MPFR:=y
endif endif
ifeq ($(BINUTILS_VERSION),2.15) ifeq ($(BINUTILS_VERSION),2.15)
BINUTILS_SITE:=ftp://ftp.gnu.org/gnu/binutils/ BINUTILS_SITE:=ftp://ftp.gnu.org/gnu/binutils/
BINUTILS_NO_MPFR:=y
endif endif
ifeq ($(BINUTILS_VERSION),2.14) ifeq ($(BINUTILS_VERSION),2.14)
BINUTILS_SITE:=ftp://ftp.gnu.org/gnu/binutils/ BINUTILS_SITE:=ftp://ftp.gnu.org/gnu/binutils/
BINUTILS_NO_MPFR:=y
endif endif
ifeq ($(BINUTILS_VERSION),2.13) ifeq ($(BINUTILS_VERSION),2.13)
BINUTILS_SITE:=ftp://ftp.gnu.org/gnu/binutils/ BINUTILS_SITE:=ftp://ftp.gnu.org/gnu/binutils/
BINUTILS_NO_MPFR:=y
endif endif
ifeq ($(BINUTILS_VERSION),2.15.97) ifeq ($(BINUTILS_VERSION),2.15.97)
BINUTILS_SITE:=ftp://sources.redhat.com/pub/binutils/snapshots/ BINUTILS_SITE:=ftp://sources.redhat.com/pub/binutils/snapshots/
BINUTILS_NO_MPFR:=y
endif endif
# We do not rely on the host's gmp/mpfr but use a known working one # We do not rely on the host's gmp/mpfr but use a known working one
BINUTILS_HOST_PREREQ:= #nothing BINUTILS_HOST_PREREQ:=
BINUTILS_TARGET_PREREQ:= #nothing BINUTILS_TARGET_PREREQ:=
ifeq ($(BR2_BINUTILS_VERSION_2_17_50_0_9),y) ifndef BINUTILS_NO_MPFR
BINUTILS_HOST_PREREQ:=$(TOOL_BUILD_DIR)/gmp/lib/libgmp.so \ BINUTILS_HOST_PREREQ:=$(TOOL_BUILD_DIR)/gmp/lib/libgmp.so \
$(TOOL_BUILD_DIR)/mpfr/lib/libmpfr.so $(TOOL_BUILD_DIR)/mpfr/lib/libmpfr.so