diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2011-04-28 15:09:21 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2011-04-28 15:09:21 +0000 |
commit | b501edd4c0f7b4fffc6d187ee5e0bd862d381a79 (patch) | |
tree | 07710d24a89adbcbad9a5640a2ca1ea606534fd7 /misc/buildroot/toolchain/binutils/binutils.mk | |
parent | f71ae9420678e0aea0e985a0dc7ae7ac4707b624 (diff) | |
download | nuttx-b501edd4c0f7b4fffc6d187ee5e0bd862d381a79.tar.gz nuttx-b501edd4c0f7b4fffc6d187ee5e0bd862d381a79.tar.bz2 nuttx-b501edd4c0f7b4fffc6d187ee5e0bd862d381a79.zip |
Add GCC 4.5.2
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3535 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'misc/buildroot/toolchain/binutils/binutils.mk')
-rw-r--r-- | misc/buildroot/toolchain/binutils/binutils.mk | 18 |
1 files changed, 3 insertions, 15 deletions
diff --git a/misc/buildroot/toolchain/binutils/binutils.mk b/misc/buildroot/toolchain/binutils/binutils.mk index 3e9d5aced..e4f00c899 100644 --- a/misc/buildroot/toolchain/binutils/binutils.mk +++ b/misc/buildroot/toolchain/binutils/binutils.mk @@ -8,23 +8,11 @@ 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.1) -BINUTILS_SITE:=ftp://ftp.gnu.org/gnu/binutils/ -endif -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 +BINUTILS_SITE:=ftp://ftp.gnu.org/gnu/binutils # 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:= - BINUTILS_SOURCE:=binutils-$(BINUTILS_VERSION).tar.bz2 BINUTILS_DIR:=$(TOOL_BUILD_DIR)/binutils-$(BINUTILS_VERSION) BINUTILS_CAT:=$(BZCAT) @@ -71,7 +59,7 @@ $(BINUTILS_DIR1)/binutils/objdump: $(BINUTILS_DIR1)/.configured $(STAGING_DIR)/$(REAL_GNU_TARGET_NAME)/bin/ld: $(BINUTILS_DIR1)/binutils/objdump $(MAKE) -C $(BINUTILS_DIR1) install -binutils: dependencies $(BINUTILS_HOST_PREREQ) $(STAGING_DIR)/$(REAL_GNU_TARGET_NAME)/bin/ld +binutils: dependencies $(STAGING_DIR)/$(REAL_GNU_TARGET_NAME)/bin/ld binutils-source: $(DL_DIR)/$(BINUTILS_SOURCE) @@ -124,7 +112,7 @@ $(TARGET_DIR)/usr/bin/ld: $(BINUTILS_DIR2)/binutils/objdump -$(STRIP) $(TARGET_DIR)/usr/$(REAL_GNU_TARGET_NAME)/bin/* > /dev/null 2>&1 -$(STRIP) $(TARGET_DIR)/usr/bin/* > /dev/null 2>&1 -binutils_target: $(BINUTILS_TARGET_PREREQ) $(TARGET_DIR)/usr/bin/ld +binutils_target: $(TARGET_DIR)/usr/bin/ld binutils_target-clean: (cd $(TARGET_DIR)/usr/bin; \ |