diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2009-01-06 13:37:36 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2009-01-06 13:37:36 +0000 |
commit | 68b1c0a591b94fe7ae59da4b929fbd8561f88718 (patch) | |
tree | 85590e4e464481fa07613e0563441e2055e2a0d3 /misc/buildroot/toolchain/binutils | |
parent | 22dec0ce41614f36c9e09f77d1145425b64527b3 (diff) | |
download | nuttx-68b1c0a591b94fe7ae59da4b929fbd8561f88718.tar.gz nuttx-68b1c0a591b94fe7ae59da4b929fbd8561f88718.tar.bz2 nuttx-68b1c0a591b94fe7ae59da4b929fbd8561f88718.zip |
Add ARM 4.2.4 toolchain
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1465 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'misc/buildroot/toolchain/binutils')
-rw-r--r-- | misc/buildroot/toolchain/binutils/binutils.mk | 35 |
1 files changed, 6 insertions, 29 deletions
diff --git a/misc/buildroot/toolchain/binutils/binutils.mk b/misc/buildroot/toolchain/binutils/binutils.mk index ff3ba338b..2c4f01531 100644 --- a/misc/buildroot/toolchain/binutils/binutils.mk +++ b/misc/buildroot/toolchain/binutils/binutils.mk @@ -9,58 +9,37 @@ BINUTILS_VERSION:=$(strip $(subst ",, $(BR2_BINUTILS_VERSION))) EXTRA_BINUTILS_CONFIG_OPTIONS=$(strip $(subst ",, $(BR2_EXTRA_BINUTILS_CONFIG_OPTIONS))) #")) BINUTILS_SITE:=ftp://ftp.kernel.org/pub/linux/devel/binutils +ifeq ($(BINUTILS_VERSION),2.19) +BINUTILS_SITE:=ftp://ftp.gnu.org/gnu/binutils/ +endif ifeq ($(BINUTILS_VERSION),2.17) BINUTILS_SITE:=ftp://ftp.gnu.org/gnu/binutils/ endif ifeq ($(BINUTILS_VERSION),2.16) BINUTILS_SITE:=ftp://ftp.gnu.org/gnu/binutils/ -BINUTILS_NO_MPFR:=y endif ifeq ($(BINUTILS_VERSION),2.16.1) BINUTILS_SITE:=ftp://ftp.gnu.org/gnu/binutils/ -BINUTILS_NO_MPFR:=y endif ifeq ($(BINUTILS_VERSION),2.15) BINUTILS_SITE:=ftp://ftp.gnu.org/gnu/binutils/ -BINUTILS_NO_MPFR:=y endif ifeq ($(BINUTILS_VERSION),2.14) BINUTILS_SITE:=ftp://ftp.gnu.org/gnu/binutils/ -BINUTILS_NO_MPFR:=y endif ifeq ($(BINUTILS_VERSION),2.13) BINUTILS_SITE:=ftp://ftp.gnu.org/gnu/binutils/ -BINUTILS_NO_MPFR:=y endif ifeq ($(BINUTILS_VERSION),2.15.97) BINUTILS_SITE:=ftp://sources.redhat.com/pub/binutils/snapshots/ -BINUTILS_NO_MPFR:=y endif -# We do not rely on the host's gmp/mpfr but use a known working one +# NOTE: Unlike the original buildroot binutils.mk, this version always relies on +# the system libgmp and libmpfr which must be installed for certain binutils versions. + 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 - -BINUTILS_TARGET_PREREQ:=$(TARGET_DIR)/lib/libgmp.so \ - $(TARGET_DIR)/lib/libmpfr.so -EXTRA_BINUTILS_CONFIG_OPTIONS+=--with-gmp="$(GMP_HOST_DIR)" -EXTRA_BINUTILS_CONFIG_OPTIONS+=--with-mpfr="$(MPFR_HOST_DIR)" - -BINUTILS_TARGET_CONFIG_OPTIONS=--with-gmp="$(GMP_TARGET_DIR)" -BINUTILS_TARGET_CONFIG_OPTIONS+=--with-mpfr="$(MPFR_TARGET_DIR)" -endif - BINUTILS_SOURCE:=binutils-$(BINUTILS_VERSION).tar.bz2 BINUTILS_DIR:=$(TOOL_BUILD_DIR)/binutils-$(BINUTILS_VERSION) BINUTILS_CAT:=$(BZCAT) @@ -92,8 +71,6 @@ $(BINUTILS_DIR1)/.configured: $(BINUTILS_DIR)/.patched --build=$(GNU_HOST_NAME) \ --host=$(GNU_HOST_NAME) \ --target=$(REAL_GNU_TARGET_NAME) \ - --with-build-sysroot="$(TOOL_BUILD_DIR)/nuttx_dev/" \ - --with-sysroot="$(TOOL_BUILD_DIR)/nuttx_dev/" \ $(DISABLE_NLS) \ $(MULTILIB) \ --disable-werror \ |