diff options
author | James <> | 2013-03-17 12:16:37 +0000 |
---|---|---|
committer | James <> | 2013-03-17 12:16:37 +0000 |
commit | 27b76ab0671089c47506615a796a261e993896a7 (patch) | |
tree | 61213d67e7fa87b20356b23798558e2c4212c42f /toolchain/binutils/.svn | |
download | trunk-36060-master.tar.gz trunk-36060-master.tar.bz2 trunk-36060-master.zip |
Diffstat (limited to 'toolchain/binutils/.svn')
-rw-r--r-- | toolchain/binutils/.svn/entries | 99 | ||||
-rw-r--r-- | toolchain/binutils/.svn/prop-base/Config.in.svn-base | 5 | ||||
-rw-r--r-- | toolchain/binutils/.svn/prop-base/Makefile.svn-base | 5 | ||||
-rw-r--r-- | toolchain/binutils/.svn/text-base/Config.in.svn-base | 47 | ||||
-rw-r--r-- | toolchain/binutils/.svn/text-base/Makefile.svn-base | 99 |
5 files changed, 255 insertions, 0 deletions
diff --git a/toolchain/binutils/.svn/entries b/toolchain/binutils/.svn/entries new file mode 100644 index 0000000..a19e27b --- /dev/null +++ b/toolchain/binutils/.svn/entries @@ -0,0 +1,99 @@ +10 + +dir +36060 +svn://svn.openwrt.org/openwrt/trunk/toolchain/binutils +svn://svn.openwrt.org/openwrt + + + +2013-02-26T16:52:36.963466Z +35816 +florian + + + + + + + + + + + + + + +3c298f89-4303-0410-b956-a3cf2f4a3e73 + +patches +dir + +Config.in +file + + + + +2013-03-17T12:13:24.000000Z +6a3caa43cbe79785e8b394088c1d0f4c +2012-12-02T11:27:23.601836Z +34436 +jow +has-props + + + + + + + + + + + + + + + + + + + + +1240 + +Makefile +file + + + + +2013-03-17T12:13:24.000000Z +b384f6663824dd834e526f830e5e7258 +2013-02-26T16:52:36.963466Z +35816 +florian +has-props + + + + + + + + + + + + + + + + + + + + +2391 + diff --git a/toolchain/binutils/.svn/prop-base/Config.in.svn-base b/toolchain/binutils/.svn/prop-base/Config.in.svn-base new file mode 100644 index 0000000..abd5821 --- /dev/null +++ b/toolchain/binutils/.svn/prop-base/Config.in.svn-base @@ -0,0 +1,5 @@ +K 13 +svn:eol-style +V 2 +LF +END diff --git a/toolchain/binutils/.svn/prop-base/Makefile.svn-base b/toolchain/binutils/.svn/prop-base/Makefile.svn-base new file mode 100644 index 0000000..bdbd305 --- /dev/null +++ b/toolchain/binutils/.svn/prop-base/Makefile.svn-base @@ -0,0 +1,5 @@ +K 13 +svn:eol-style +V 6 +native +END diff --git a/toolchain/binutils/.svn/text-base/Config.in.svn-base b/toolchain/binutils/.svn/text-base/Config.in.svn-base new file mode 100644 index 0000000..8c90597 --- /dev/null +++ b/toolchain/binutils/.svn/text-base/Config.in.svn-base @@ -0,0 +1,47 @@ +# Choose binutils version. + +choice + prompt "Binutils Version" if TOOLCHAINOPTS + default BINUTILS_VERSION_2_20_1 if avr32 + default BINUTILS_VERSION_2_22 if !avr32 + help + Select the version of binutils you wish to use. + + config BINUTILS_VERSION_2_19_1 + bool "binutils 2.19.1" + + config BINUTILS_VERSION_2_20_1 + depends avr32 + bool "binutils 2.20.1" + + config BINUTILS_VERSION_2_21_1 + depends !avr32 || (avr32 && BROKEN) + bool "binutils 2.21.1" + + config BINUTILS_VERSION_2_22 + depends !avr32 || (avr32 && BROKEN) + bool "binutils 2.22" + + config BINUTILS_VERSION_2_23_1 + depends !avr32 || (avr32 && BROKEN) + bool "binutils 2.23.1" + +endchoice + +config EXTRA_BINUTILS_CONFIG_OPTIONS + string + prompt "Additional binutils configure options" if TOOLCHAINOPTS + default "" + help + Any additional binutils options you may want to include.... + +config BINUTILS_VERSION + string + prompt "Binutils Version" if (TOOLCHAINOPTS && NULL) + default "2.19.1" if BINUTILS_VERSION_2_19_1 + default "2.20.1" if BINUTILS_VERSION_2_20_1 + default "2.21.1" if BINUTILS_VERSION_2_21_1 + default "2.22" if BINUTILS_VERSION_2_22 + default "2.23.1" if BINUTILS_VERSION_2_23_1 + default "2.20.1" if avr32 + default "2.22" diff --git a/toolchain/binutils/.svn/text-base/Makefile.svn-base b/toolchain/binutils/.svn/text-base/Makefile.svn-base new file mode 100644 index 0000000..45af007 --- /dev/null +++ b/toolchain/binutils/.svn/text-base/Makefile.svn-base @@ -0,0 +1,99 @@ +# +# Copyright (C) 2006-2012 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# +include $(TOPDIR)/rules.mk + +PKG_NAME:=binutils +PKG_VERSION:=$(call qstrip,$(CONFIG_BINUTILS_VERSION)) +BIN_VERSION:=$(PKG_VERSION) + +PKG_SOURCE_URL:=@GNU/binutils/ +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 + +ifeq ($(PKG_VERSION),2.19.1) + PKG_MD5SUM:=023222f392e9546bcbb0b4c0960729be +endif +ifeq ($(PKG_VERSION),2.20.1) + PKG_MD5SUM:=9cdfb9d6ec0578c166d3beae5e15c4e5 +endif +ifeq ($(PKG_VERSION),2.21.1) + PKG_MD5SUM:=bde820eac53fa3a8d8696667418557ad +endif +ifeq ($(PKG_VERSION),2.22) + PKG_MD5SUM:=ee0f10756c84979622b992a4a61ea3f5 +endif +ifeq ($(PKG_VERSION),2.23.1) + PKG_MD5SUM:=33adb18c3048d057ac58d07a3f1adb38 +endif + +HOST_BUILD_PARALLEL:=1 + +PATCH_DIR:=./patches/$(PKG_VERSION) + +REAL_STAGING_DIR_HOST:=$(STAGING_DIR_HOST) + +include $(INCLUDE_DIR)/toolchain-build.mk + +BINUTILS_CONFIGURE:= \ + ./configure \ + --prefix=$(TOOLCHAIN_DIR) \ + --build=$(GNU_HOST_NAME) \ + --host=$(GNU_HOST_NAME) \ + --target=$(REAL_GNU_TARGET_NAME) \ + --with-sysroot=$(TOOLCHAIN_DIR) \ + --disable-multilib \ + --disable-werror \ + --disable-nls \ + $(GRAPHITE_CONFIGURE) \ + $(SOFT_FLOAT_CONFIG_OPTION) \ + $(call qstrip,$(CONFIG_EXTRA_BINUTILS_CONFIG_OPTIONS)) + +ifneq ($(CONFIG_SSP_SUPPORT),) + BINUTILS_CONFIGURE+= \ + --enable-libssp +else + BINUTILS_CONFIGURE+= \ + --disable-libssp +endif + +ifneq ($(CONFIG_EXTRA_TARGET_ARCH),) + BINUTILS_CONFIGURE+= \ + --enable-targets=$(call qstrip,$(CONFIG_EXTRA_TARGET_ARCH_NAME))-linux-$(TARGET_SUFFIX) +endif + +define Host/Prepare + $(call Host/Prepare/Default) + ln -snf $(PKG_NAME)-$(PKG_VERSION) $(BUILD_DIR_TOOLCHAIN)/$(PKG_NAME) + $(CP) $(SCRIPT_DIR)/config.{guess,sub} $(HOST_BUILD_DIR)/ +endef + +define Host/Configure + (cd $(HOST_BUILD_DIR); \ + $(BINUTILS_CONFIGURE) \ + ); +endef + +define Host/Compile + +$(MAKE) $(HOST_JOBS) -C $(HOST_BUILD_DIR) all +endef + +define Host/Install + mkdir -p $(TOOLCHAIN_DIR)/initial + $(MAKE) -C $(HOST_BUILD_DIR) \ + prefix=$(TOOLCHAIN_DIR)/initial \ + install + $(call FixupLibdir,$(TOOLCHAIN_DIR)/initial) + $(CP) $(TOOLCHAIN_DIR)/initial/. $(TOOLCHAIN_DIR)/ + $(CP) $(TOOLCHAIN_DIR)/bin/$(REAL_GNU_TARGET_NAME)-readelf $(REAL_STAGING_DIR_HOST)/bin/readelf +endef + +define Host/Clean + rm -rf \ + $(HOST_BUILD_DIR) \ + $(BUILD_DIR_TOOLCHAIN)/$(PKG_NAME) +endef + +$(eval $(call HostBuild)) |