[Buildroot] svn commit: trunk/buildroot/toolchain: binutils gcc

aldot at uclibc.org aldot at uclibc.org
Fri Feb 9 13:05:44 UTC 2007


Author: aldot
Date: 2007-02-09 05:05:43 -0800 (Fri, 09 Feb 2007)
New Revision: 17832

Log:
- fix crosscompiler prerequisites


Modified:
   trunk/buildroot/toolchain/binutils/binutils.mk
   trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk


Changeset:
Modified: trunk/buildroot/toolchain/binutils/binutils.mk
===================================================================
--- trunk/buildroot/toolchain/binutils/binutils.mk	2007-02-09 12:32:21 UTC (rev 17831)
+++ trunk/buildroot/toolchain/binutils/binutils.mk	2007-02-09 13:05:43 UTC (rev 17832)
@@ -40,8 +40,15 @@
 # We do not rely on the host's gmp/mpfr but use a known working one
 BINUTILS_HOST_PREREQ:=
 BINUTILS_TARGET_PREREQ:=
+
+ifeq ($(findstring 3.,$(GCC_VERSION)),3.)
+BINUTILS_NO_MPFR:=y
+endif
+ifeq ($(findstring 4.0,$(GCC_VERSION)),4.0)
+BINUTILS_NO_MPFR:=y
+endif
+
 ifndef BINUTILS_NO_MPFR
-
 BINUTILS_HOST_PREREQ:=$(TOOL_BUILD_DIR)/gmp/lib/libgmp.so \
 	$(TOOL_BUILD_DIR)/mpfr/lib/libmpfr.so
 

Modified: trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk
===================================================================
--- trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk	2007-02-09 12:32:21 UTC (rev 17831)
+++ trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk	2007-02-09 13:05:43 UTC (rev 17832)
@@ -72,7 +72,7 @@
 GCC_TARGET_PREREQ =
 GCC_STAGING_PREREQ= $(STAGING_DIR)/lib/libc.a
 
-ifndef $(GCC_NO_MPFR)
+ifndef GCC_NO_MPFR
 GCC_WITH_HOST_GMP=--with-gmp=$(GMP_HOST_DIR)
 GCC_WITH_HOST_MPFR=--with-mpfr=$(MPFR_HOST_DIR)
 




More information about the buildroot mailing list