Skip to contentSkip to conversation

Pull request for branch remove-external-toolchain

GIT PULL New Thomas Petazzoni 3 participants 34 messages Dec 14, 2009 – Dec 15, 2009

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

Hello,

This patchset removes the external source toolchain feature from Buildroot. It was used to build AVR32 toolchains because the AVR32 architecture is unfortunately not supported by upstream gcc/binutils/gdb/uClibc. So the whole external source toolchain infrastructure was implemented to allow to get these components from other places than the normal mirrors.

However, this infrastructure is far more complicated than it needs to be. This patchset replaces it by integrated the avr32 special versions as normal gcc/binutils/gdb/uClibc versions. The respective .mk files detect whether the version name contains avr32, and if it does, then it switches to the AT91 mirror. Only the latest versions of binutils/gcc/uClibc/gdb for AVR32 were kept (they are already fairly ancient).

I've compiled tested an AVR32 toolchain + BusyBox and an ARM toolchain
+ Busybox.

The following changes since commit 8bbb56dd9109354f66e428b4a0f83d637851643b:
Peter Korsgaard (1):

        kernel-headers: bump 2.6.31.x / 2.6.32.x stable versions

are available in the git repository at:

git://git.busybox.net/~tpetazzoni/git/buildroot remove-external-toolchain

Thomas Petazzoni (23):
binutils: add avr32 special version
gcc: add avr32 special version
gcc: add 4.2.2-avr32-2.1.5 patches
gdb: add avr32 special verson
uclibc: add avr32 special version
gcc: on avr32, only allow avr32 gcc versions
gcc: improve configuration for snapshot versions
gcc: remove support for external source toolchains
gcc: remove GCC_OFFICIAL_VERSION and just use GCC_VERSION instead
binutils: do not allow selection of non-avr32 versions on AVR32
binutils: remove support for external source toolchains
gdb: do not allow selection of non-avr32 versions on AVR32
uclibc: do not allow selection of non-avr32 versions on AVR32
uclibc: remove support for external source toolchains Use BR2_TOOLCHAIN_BUILDROOT instead of BR2_TOOLCHAIN_SOURCE Remove external source toolchain options
gcc: remove external sources patches
gdb: remove external sources patches
uclibc: remove external sources patches
binutils: remove external source patches
Update non-AVR32 defconfigs
update AVR32 defconfigs
remove unused AVR32 specific uClibc configuration

 Makefile                                           |    4 +-
 configs/arm_toolchain_defconfig                    |   11 -
 configs/at91rm9200df_defconfig                     |   11 -
 configs/at91rm9200df_ext_bare_defconfig            |   11 -
 configs/at91rm9200df_ext_defconfig                 |   11 -
 configs/at91sam9260dfc_defconfig                   |   11 -
 configs/at91sam9260dfc_ext_bare_defconfig          |   11 -
 configs/at91sam9260dfc_ext_defconfig               |   11 -
 configs/at91sam9261ek_defconfig                    |   11 -
 configs/at91sam9261ek_ext_bare_defconfig           |   11 -
 configs/at91sam9261ek_ext_defconfig                |   11 -
 configs/at91sam9263ek_defconfig                    |   11 -
 configs/at91sam9263ek_ext_bare_defconfig           |   11 -
 configs/at91sam9263ek_ext_defconfig                |   11 -
 configs/at91sam9g20dfc_defconfig                   |   11 -
 configs/at91sam9g20dfc_ext_bare_defconfig          |   11 -
 configs/at91sam9g20dfc_ext_defconfig               |   11 -
 configs/atngw100-base_defconfig                    |   44 +---
 configs/atngw100_defconfig                         |   50 ++---
 configs/atstk1005_defconfig                        |   47 ++---
 configs/atstk100x_defconfig                        |   50 ++---
 configs/i386_defconfig                             |   12 -
 configs/i686_defconfig                             |   12 -
 configs/integrator926_defconfig                    |   11 -
 configs/integrator926_huge_defconfig               |   11 -
 configs/kb9202_defconfig                           |    7 -
 configs/v100sc2_defconfig                          |   24 +--
 package/Makefile.in                                |    4 +-
 target/Config.in                                   |    2 +-
 target/device/Atmel/uClibc.config.avr32            |  227 --------------------
 target/device/Config.in.toolchain                  |  219 -------------------
 target/xtensa/defconfig                            |    3 +-
 toolchain/Config.in                                |   12 -
 toolchain/Config.in.1                              |    2 +-
 toolchain/Config.in.2                              |    6 +-
 toolchain/binutils/Config.in                       |   14 +-
 toolchain/binutils/binutils.mk                     |   15 +-
 ...-fix-removal-of-redundant-cast-operations.patch |    0
 ...conditional-insn-which-clobbers-cc_status.patch |    0
 ...use-movh-to-move-immediates-into-register.patch |    0
 toolchain/gcc/Config.in                            |   33 ++--
 toolchain/gcc/Makefile.in                          |    2 +-
 .../901-avr32-revert-broken-uclibc-stuff.patch     |   42 ----
 toolchain/gcc/gcc-uclibc-3.x.mk                    |   39 +---
 toolchain/gcc/gcc-uclibc-4.x.mk                    |   41 +---
 toolchain/gdb/Config.in                            |    8 +-
 toolchain/gdb/gdb.mk                               |   13 +-
 toolchain/uClibc/Config.in                         |   19 ++-
 .../uClibc-0.9.28.3-avr32-2.0-001-libext.patch     |   13 --
 ...libc-0.9.28.3-avr32-2.0-002-rm-whitespace.patch |   77 -------
 ...uClibc-0.9.30-avr32-2.1.5-unifdef-getline.patch |    0
 toolchain/uClibc/uclibc.mk                         |   28 +--
 52 files changed, 159 insertions(+), 1108 deletions(-)
 delete mode 100644 target/device/Atmel/uClibc.config.avr32
 delete mode 100644 target/device/Config.in.toolchain
 delete mode 100644 toolchain/binutils/ext_source/Atmel/avr32/2.17-avr32-2.0/.empty
 delete mode 100644 toolchain/binutils/ext_source/Atmel/avr32/2.17-avr32-2.1.3/.empty
 delete mode 100644 toolchain/binutils/ext_source/Atmel/avr32/2.17-avr32-2.1.5/.empty
 delete mode 100644 toolchain/binutils/ext_source/Atmel/avr32/2.18-avr32-1.0.1/.empty
 rename toolchain/gcc/{ext_source/Atmel/avr32 => }/4.2.2-avr32-2.1.5/903-avr32-fix-removal-of-redundant-cast-operations.patch (100%)
 rename toolchain/gcc/{ext_source/Atmel/avr32 => }/4.2.2-avr32-2.1.5/904-avr32-fix-conditional-insn-which-clobbers-cc_status.patch (100%)
 rename toolchain/gcc/{ext_source/Atmel/avr32 => }/4.2.2-avr32-2.1.5/905-avr32-optimize-movsf2-use-movh-to-move-immediates-into-register.patch (100%)
 delete mode 100644 toolchain/gcc/ext_source/Atmel/avr32/4.1.2-avr32-2.0/.empty
 delete mode 100644 toolchain/gcc/ext_source/Atmel/avr32/4.1.2-avr32-2.2/.empty
 delete mode 100644 toolchain/gcc/ext_source/Atmel/avr32/4.2.1-avr32-2.1.3/.empty
 delete mode 100644 toolchain/gcc/ext_source/Atmel/avr32/4.2.2-avr32-1.1.3/.empty
 delete mode 100644 toolchain/gcc/ext_source/Atmel/avr32/4.2.2-avr32-1.1.3/901-avr32-revert-broken-uclibc-stuff.patch
 delete mode 100644 toolchain/gcc/ext_source/Atmel/avr32/4.2.3-avr32-2.1.5/.empty
 delete mode 100644 toolchain/gdb/ext_source/Atmel/avr32/6.4-avr32-2.0/.empty
 delete mode 100644 toolchain/gdb/ext_source/Atmel/avr32/6.4-avr32-2.1.3/.empty
 delete mode 100644 toolchain/gdb/ext_source/Atmel/avr32/6.7.1-avr32-2.1.5/.empty
 delete mode 100644 toolchain/uClibc/ext_source/Atmel/avr32/0.9.28.3-avr32-2.0/uClibc-0.9.28.3-avr32-2.0-001-libext.patch
 delete mode 100644 toolchain/uClibc/ext_source/Atmel/avr32/0.9.28.3-avr32-2.0/uClibc-0.9.28.3-avr32-2.0-002-rm-whitespace.patch
 delete mode 100644 toolchain/uClibc/ext_source/Atmel/avr32/0.9.29-avr32-2.1.3/.empty
 delete mode 100644 toolchain/uClibc/ext_source/Atmel/avr32/0.9.29-avr32-2.1.5/.empty
 delete mode 100644 toolchain/uClibc/ext_source/Atmel/avr32/0.9.30-avr32-2.1.5/.empty
 rename toolchain/uClibc/{ext_source/Atmel/avr32/0.9.30-avr32-2.1.5 => }/uClibc-0.9.30-avr32-2.1.5-unifdef-getline.patch (100%)

Thanks,

Signature · 1 line
Thomas Petazzoni
#1 lore raw

PATCH 1/23 binutils: add avr32 special version

* Add a new binutils version 2.18-avr32-1.0.1 to the Config.in

* Use a different site to download avr32 binutils version in binutils.mk

* Only apply patches from the patch directory if it exists in binutils.mk

---
 toolchain/binutils/Config.in   |    5 +++++
 toolchain/binutils/binutils.mk |    5 +++++
 2 files changed, 10 insertions(+), 0 deletions(-)
toolchain/binutils/Config.in +5 -0
index b892b6f..4405bcb 100644
@@ -24,6 +24,10 @@ choice
 		depends on BR2_DEPRECATED
 		bool "binutils 2.18.50.0.9"
 
+	config BR2_BINUTILS_VERSION_2_18_AVR32_1_0_1
+	       depends on BR2_avr32
+	       bool "binutils 2.18-avr32-1.0.1"
+
 	config BR2_BINUTILS_VERSION_2_19
 		depends on !BR2_avr32 && !BR2_nios2
 		depends on BR2_DEPRECATED
@@ -46,6 +50,7 @@ config BR2_BINUTILS_VERSION
 	default "2.17"		if BR2_BINUTILS_VERSION_2_17
 	default "2.18"		if BR2_BINUTILS_VERSION_2_18
 	default "2.18.50.0.9"	if BR2_BINUTILS_VERSION_2_18_50_0_9
+	default "2.18-avr32-1.0.1" if BR2_BINUTILS_VERSION_2_18_AVR32_1_0_1
 	default "2.19"		if BR2_BINUTILS_VERSION_2_19
 	default "2.19.1"	if BR2_BINUTILS_VERSION_2_19_1
 	default "2.20"		if BR2_BINUTILS_VERSION_2_20
toolchain/binutils/binutils.mk +5 -0
index 8cddf2d..38bee9e 100644
@@ -22,6 +22,9 @@ endif
 ifeq ($(BINUTILS_VERSION),2.17)
 BINUTILS_SITE:=$(BR2_GNU_MIRROR)/binutils/
 endif
+ifeq ($(findstring avr32,$(BINUTILS_VERSION)),avr32)
+BINUTILS_SITE:=ftp://www.at91.com/pub/buildroot/
+endif
 
 # We do not rely on the host's gmp/mpfr but use a known working one
 BINUTILS_HOST_PREREQ:=
@@ -79,7 +82,9 @@ $(BINUTILS_DIR)/.unpacked: $(DL_DIR)/$(BINUTILS_SOURCE)
 binutils-patched: $(BINUTILS_DIR)/.patched
 $(BINUTILS_DIR)/.patched: $(BINUTILS_DIR)/.unpacked
 	# Apply appropriate binutils patches.
+ifneq ($(wildcard $(BINUTILS_PATCH_DIR)),)
 	toolchain/patch-kernel.sh $(BINUTILS_DIR) $(BINUTILS_PATCH_DIR) \*.patch $(BINUTILS_PATCH_EXTRA)
+endif
 	touch $@
 
 $(BINUTILS_DIR1)/.configured: $(BINUTILS_DIR)/.patched
Signature · 1 line
1.6.3.3
#2 lore raw

PATCH 2/23 gcc: add avr32 special version

In reply to Thomas Petazzoni

* Add new gcc version 4.2.2-avr32-2.1.5 in Config.in

* Select the Atmel mirror to download gcc with avr32 in their version name, in gcc-uclibc-*.mk

* Do not apply patches if the patch directory is empty, in gcc-uclibc-*.mk

---
 toolchain/gcc/Config.in         |    7 ++++++-
 toolchain/gcc/gcc-uclibc-3.x.mk |   16 ++++++++++------
 toolchain/gcc/gcc-uclibc-4.x.mk |   16 ++++++++++------
 3 files changed, 26 insertions(+), 13 deletions(-)
toolchain/gcc/Config.in +6 -1
index 7e58516..3d3da46 100644
@@ -26,6 +26,10 @@ choice
 		depends on BR2_DEPRECATED || BR2_avr32
 		bool "gcc 4.2.2"
 
+	config BR2_GCC_VERSION_4_2_2_AVR32_2_1_5
+	       depends on BR2_avr32
+	       bool "gcc 4.2.2-avr32-2.1.5"
+
 	config BR2_GCC_VERSION_4_2_3
 		depends on !BR2_nios2
 		depends on BR2_EXT_GCC_VERSION_4_2_3
@@ -66,7 +70,7 @@ config BR2_GCC_SUPPORTS_SYSROOT
 
 config BR2_GCC_SUPPORTS_FINEGRAINEDMTUNE
 	bool
-	default y if !BR2_GCC_VERSION_4_1_2 && !BR2_GCC_VERSION_4_2_1 && !BR2_GCC_VERSION_4_2_2 && !BR2_GCC_VERSION_4_2_3 && !BR2_GCC_VERSION_4_2_4
+	default y if !BR2_GCC_VERSION_4_1_2 && !BR2_GCC_VERSION_4_2_1 && !BR2_GCC_VERSION_4_2_2 && !BR2_GCC_VERSION_4_2_3 && !BR2_GCC_VERSION_4_2_4 && !BR2_GCC_VERSION_4_2_2_AVR32_2_1_5
 
 config BR2_GCC_SNAP_DATE
 	string "GCC snapshot date"
@@ -81,6 +85,7 @@ config BR2_GCC_VERSION
 	default "4.1.2"     if BR2_GCC_VERSION_4_1_2
 	default "4.2.1"     if BR2_GCC_VERSION_4_2_1
 	default "4.2.2"     if BR2_GCC_VERSION_4_2_2
+	default "4.2.2-avr32-2.1.5" if BR2_GCC_VERSION_4_2_2_AVR32_2_1_5
 	default "4.2.3"     if BR2_GCC_VERSION_4_2_3
 	default "4.2.4"     if BR2_GCC_VERSION_4_2_4
 	default "4.3.2"     if BR2_GCC_VERSION_4_3_2
toolchain/gcc/gcc-uclibc-3.x.mk +10 -6
index e737313..bc3d423 100644
@@ -22,13 +22,15 @@ ifeq ($(BR2_TOOLCHAIN_SOURCE),y)
 # without sysroot support. Sysroot toolchain is gcc-uclibc-4.x.mk
 ifneq ($(BR2_TOOLCHAIN_SYSROOT),y)
 
-ifeq ($(GCC_SNAP_DATE),)
-GCC_OFFICIAL_VER:=$(GCC_VERSION)
-GCC_SITE:=$(BR2_GNU_MIRROR)/gcc/gcc-$(GCC_VERSION)
-#GCC_SITE:=ftp://ftp.ibiblio.org/pub/mirrors/gnu/ftp/gnu/gcc/gcc-$(GCC_OFFICIAL_VER)
+ifneq ($(GCC_SNAP_DATE),)
+ GCC_SITE:=ftp://sources.redhat.com/pub/gcc/snapshots/$(GCC_VERSION)
+ GCC_OFFICIAL_VER:=$(GCC_VERSION)-$(GCC_SNAP_DATE)
+else ifeq ($(findstring avr32,$(GCC_VERSION)),avr32)
+ GCC_SITE:=ftp://www.at91.com/pub/buildroot/
+ GCC_OFFICIAL_VER:=$(GCC_VERSION)
 else
-GCC_OFFICIAL_VER:=$(GCC_VERSION)-$(GCC_SNAP_DATE)
-GCC_SITE:=ftp://sources.redhat.com/pub/gcc/snapshots/$(GCC_OFFICIAL_VER)
+ GCC_SITE:=$(BR2_GNU_MIRROR)/gcc/gcc-$(GCC_VERSION)
+ GCC_OFFICIAL_VER:=$(GCC_VERSION)
 endif
 
 
@@ -142,7 +144,9 @@ $(GCC_DIR)/.unpacked: $(DL_DIR)/$(GCC_SOURCE)
 gcc-patched: $(GCC_DIR)/.patched
 $(GCC_DIR)/.patched: $(GCC_DIR)/.unpacked
 	# Apply any files named gcc-*.patch from the source directory to gcc
+ifneq ($(wildcard $(GCC_PATCH_DIR)),)
 	toolchain/patch-kernel.sh $(GCC_DIR) $(GCC_PATCH_DIR) \*.patch
+endif
 	# Note: The soft float situation has improved considerably with gcc 3.4.x.
 	# We can dispense with the custom spec files, as well as libfloat for the arm case.
 	# However, we still need a patch for arm. There's a similar patch for gcc 3.3.x
toolchain/gcc/gcc-uclibc-4.x.mk +10 -6
index d5a889f..14afb36 100644
@@ -20,13 +20,15 @@
 # sysroot support works with gcc >= 4.2.0 only
 ifeq ($(BR2_TOOLCHAIN_SYSROOT),y)
 
-ifeq ($(GCC_SNAP_DATE),)
-GCC_OFFICIAL_VERSION:=$(GCC_VERSION)
-GCC_SITE:=$(BR2_GNU_MIRROR)/gcc/gcc-$(GCC_VERSION)
-#GCC_SITE:=ftp://ftp.ibiblio.org/pub/mirrors/gnu/ftp/gnu/gcc/gcc-$(GCC_OFFICIAL_VERSION)
+ifneq ($(GCC_SNAP_DATE),)
+ GCC_SITE:=ftp://sources.redhat.com/pub/gcc/snapshots/$(GCC_VERSION)
+ GCC_OFFICIAL_VER:=$(GCC_VERSION)-$(GCC_SNAP_DATE)
+else ifeq ($(findstring avr32,$(GCC_VERSION)),avr32)
+ GCC_SITE:=ftp://www.at91.com/pub/buildroot/
+ GCC_OFFICIAL_VER:=$(GCC_VERSION)
 else
-GCC_OFFICIAL_VERSION:=$(GCC_VERSION)-$(GCC_SNAP_DATE)
-GCC_SITE:=ftp://sources.redhat.com/pub/gcc/snapshots/$(GCC_OFFICIAL_VERSION)
+ GCC_SITE:=$(BR2_GNU_MIRROR)/gcc/gcc-$(GCC_VERSION)
+ GCC_OFFICIAL_VER:=$(GCC_VERSION)
 endif
 
 # redefine if using an external prepatched gcc source
@@ -182,7 +184,9 @@ $(GCC_DIR)/.unpacked: $(DL_DIR)/$(GCC_SOURCE)
 gcc-patched: $(GCC_DIR)/.patched
 $(GCC_DIR)/.patched: $(GCC_DIR)/.unpacked
 	# Apply any files named gcc-*.patch from the source directory to gcc
+ifneq ($(wildcard $(GCC_PATCH_DIR)),)
 	toolchain/patch-kernel.sh $(GCC_DIR) $(GCC_PATCH_DIR) \*.patch $(GCC_PATCH_EXTRA)
+endif
 
 	# Note: The soft float situation has improved considerably with gcc 3.4.x.
 	# We can dispense with the custom spec files, as well as libfloat for the arm case.
Signature · 1 line
1.6.3.3
#3 lore raw

PATCH 3/23 gcc: add 4.2.2-avr32-2.1.5 patches

In reply to Thomas Petazzoni
---
 ...-fix-removal-of-redundant-cast-operations.patch |   16 ++
 ...conditional-insn-which-clobbers-cc_status.patch |  150 ++++++++++++++++++++
 ...use-movh-to-move-immediates-into-register.patch |   31 ++++
 3 files changed, 197 insertions(+), 0 deletions(-)
 create mode 100644 toolchain/gcc/4.2.2-avr32-2.1.5/903-avr32-fix-removal-of-redundant-cast-operations.patch
 create mode 100644 toolchain/gcc/4.2.2-avr32-2.1.5/904-avr32-fix-conditional-insn-which-clobbers-cc_status.patch
 create mode 100644 toolchain/gcc/4.2.2-avr32-2.1.5/905-avr32-optimize-movsf2-use-movh-to-move-immediates-into-register.patch
toolchain/gcc/4.2.2-avr32-2.1.5/903-avr32-fix-removal-of-redundant-cast-operations.patch new file +16 -0
new file mode 100644
index 0000000..59ecbff
@@ -0,0 +1,16 @@
+Index: trunk/gcc/config/avr32/avr32.c
+===================================================================
+--- trunk/gcc/config/avr32/avr32.c	(revision 43495)
++++ trunk/gcc/config/avr32/avr32.c	(revision 43496)
+@@ -6499,6 +6499,11 @@
+ 		    break;
+ 		}
+ 
++              /* Check if we have a call and the register is used as an argument. */
++              if (CALL_P (scan)
++                  && find_reg_fusage (scan, USE, reg) )
++                break;
++
+ 	      if (!reg_mentioned_p (reg, PATTERN (scan)))
+ 		continue;
+ 
toolchain/gcc/4.2.2-avr32-2.1.5/904-avr32-fix-conditional-insn-which-clobbers-cc_status.patch new file +150 -0

150 lines not on this page · raw message

toolchain/gcc/4.2.2-avr32-2.1.5/905-avr32-optimize-movsf2-use-movh-to-move-immediates-into-register.patch new file +31 -0
new file mode 100644
index 0000000..08d972d
@@ -0,0 +1,31 @@
+Index: gcc-4.2.2/gcc/config/avr32/avr32.md
+===================================================================
+--- gcc-4.2.2.orig/gcc/config/avr32/avr32.md	2008-09-19 14:23:34.000000000 +0200
++++ gcc-4.2.2/gcc/config/avr32/avr32.md	2008-09-19 14:30:18.000000000 +0200
+@@ -803,14 +803,22 @@
+ (define_insn "*movsf_internal"
+   [(set (match_operand:SF 0 "nonimmediate_operand"     "=r,r,r,r,m")
+ 	(match_operand:SF 1 "general_operand"          "r, G,F,m,r"))]
+-  "TARGET_SOFT_FLOAT
+-   && (register_operand (operands[0], SFmode)
+-       || register_operand (operands[1], SFmode))"
++  "(register_operand (operands[0], SFmode)
++    || register_operand (operands[1], SFmode))"
+   {
+     switch (which_alternative) {
+       case 0:
+       case 1: return "mov\t%0, %1";
+-      case 2: return "mov\t%0, lo(%1)\;orh\t%0, hi(%1)";
++      case 2: 
++       {
++        HOST_WIDE_INT target_float[2];
++        real_to_target (target_float, CONST_DOUBLE_REAL_VALUE (operands[1]), SFmode);
++        if ( TARGET_V2_INSNS 
++             && avr32_hi16_immediate_operand (GEN_INT (target_float[0]), VOIDmode) )
++           return "movh\t%0, hi(%1)";
++        else
++           return "mov\t%0, lo(%1)\;orh\t%0, hi(%1)";
++       }
+       case 3:
+         if ( (REG_P(XEXP(operands[1], 0))
+               && REGNO(XEXP(operands[1], 0)) == SP_REGNUM)
Signature · 1 line
1.6.3.3
#4 lore raw

PATCH 4/23 gdb: add avr32 special verson

In reply to Thomas Petazzoni

* Add a new gdb version for AVR32 in Config.in

* Use a special mirror for this gdb version in gdb.mk

* Do not try to apply patches when the patch directory does not exist in gdb.mk

---
 toolchain/gdb/Config.in |    7 ++++++-
 toolchain/gdb/gdb.mk    |   13 +++++++++----
 2 files changed, 15 insertions(+), 5 deletions(-)
toolchain/gdb/Config.in +6 -1
index e193fb9..947cd11 100644
@@ -20,7 +20,7 @@ config BR2_PACKAGE_GDB_HOST
 choice
 	prompt "GDB debugger Version"
 	default BR2_GDB_VERSION_6_8 if !BR2_avr32
-	default BR2_GDB_VERSION_6_7_1 if BR2_avr32
+	default BR2_GDB_VERSION_6_7_1_AVR32_2_1_5 if BR2_avr32
 	depends on BR2_PACKAGE_GDB || BR2_PACKAGE_GDB_SERVER || BR2_PACKAGE_GDB_HOST
 	help
 	  Select the version of gdb you wish to use.
@@ -43,6 +43,10 @@ choice
 	config BR2_GDB_VERSION_6_7_1
 		bool "gdb 6.7.1"
 
+	config BR2_GDB_VERSION_6_7_1_AVR32_2_1_5
+		depends on BR2_avr32
+		bool "gdb 6.7.1-avr32-2.1.5"
+
 	config BR2_GDB_VERSION_6_8
 		bool "gdb 6.8"
 		depends on !BR2_avr32
@@ -55,4 +59,5 @@ config BR2_GDB_VERSION
 	default "6.5"      if BR2_GDB_VERSION_6_5
 	default "6.6"      if BR2_GDB_VERSION_6_6
 	default "6.7.1"    if BR2_GDB_VERSION_6_7_1
+	default "6.7.1-avr32-2.1.5" if BR2_GDB_VERSION_6_7_1_AVR32_2_1_5
 	default "6.8"      if BR2_GDB_VERSION_6_8
toolchain/gdb/gdb.mk +9 -4
index 4c72a21..bdefd09 100644
@@ -11,11 +11,14 @@ GDB_SOURCE:=gdb-$(GDB_OFFICIAL_VERSION).tar.bz2
 GDB_CAT:=$(BZCAT)
 
 ifeq ($(BR2_TOOLCHAIN_EXTERNAL_SOURCE),y)
-GDB_SITE:=$(VENDOR_SITE)
-GDB_PATCH_DIR:=toolchain/gdb/ext_source/$(VENDOR_PATCH_DIR)/$(GDB_OFFICIAL_VERSION)
+ GDB_SITE:=$(VENDOR_SITE)
+ GDB_PATCH_DIR:=toolchain/gdb/ext_source/$(VENDOR_PATCH_DIR)/$(GDB_OFFICIAL_VERSION)
+else ifeq ($(findstring avr32,$(GDB_VERSION)),avr32)
+ GDB_SITE:=ftp://www.at91.com/pub/buildroot/
+ GDB_PATCH_DIR:=toolchain/gdb/$(GDB_OFFICIAL_VERSION)
 else
-GDB_SITE:=$(BR2_GNU_MIRROR)/gdb
-GDB_PATCH_DIR:=toolchain/gdb/$(GDB_OFFICIAL_VERSION)
+ GDB_SITE:=$(BR2_GNU_MIRROR)/gdb
+ GDB_PATCH_DIR:=toolchain/gdb/$(GDB_OFFICIAL_VERSION)
 endif
 
 ifneq ($(filter xtensa%,$(ARCH)),)
@@ -37,7 +40,9 @@ ifeq ($(GDB_VERSION),snapshot)
 		tar jtf $(DL_DIR)/$(GDB_SOURCE) | head -1 | cut -d"/" -f1)
 	ln -sf $(TOOLCHAIN_DIR)/$(shell tar jtf $(DL_DIR)/$(GDB_SOURCE) | head -1 | cut -d"/" -f1) $(GDB_DIR)
 endif
+ifneq ($(wildcard $(GDB_PATCH_DIR)),)
 	toolchain/patch-kernel.sh $(GDB_DIR) $(GDB_PATCH_DIR) \*.patch $(GDB_PATCH_EXTRA)
+endif
 	$(CONFIG_UPDATE) $(@D)
 	touch $@
 
Signature · 1 line
1.6.3.3
#5 lore raw

PATCH 5/23 uclibc: add avr32 special version

In reply to Thomas Petazzoni

* Add a new 0.9.30-avr32-2.1.5 version of uClibc in Config.in

* Add a patch for 0.9.20-avr32-2.1.5

* Select a different UCLIBC_SITE for avr32 versions in uclibc.mk

* Add the LINKRELAX=y configuration option to the uClibc .config file in uclibc.mk

---
 toolchain/uClibc/Config.in                         |   10 +++++-
 ...uClibc-0.9.30-avr32-2.1.5-unifdef-getline.patch |   29 ++++++++++++++++++++
 toolchain/uClibc/uclibc.mk                         |    8 +++++-
 3 files changed, 44 insertions(+), 3 deletions(-)
 create mode 100644 toolchain/uClibc/uClibc-0.9.30-avr32-2.1.5-unifdef-getline.patch
toolchain/uClibc/Config.in +8 -2
index d0486ab..c0ec220 100644
@@ -5,7 +5,8 @@ comment "uClibc Options"
 
 choice
 	prompt "uClibc C library Version"
-	default BR2_UCLIBC_VERSION_0_9_30_1
+	default BR2_UCLIBC_VERSION_0_9_30_1 if !BR2_avr32
+	default BR2_UCLIBC_VERSION_0_9_30_AVR32_2_1_5 if BR2_avr32
 	help
 	  Select the version of uClibc you wish to use.
 
@@ -22,7 +23,10 @@ choice
 	config BR2_UCLIBC_VERSION_0_9_30
 		depends on BR2_RECENT || BR2_DEPRECATED
 		bool "uClibc 0.9.30"
-		depends on BR2_EXT_UCLIBC_VERSION_0_9_30
+
+	config BR2_UCLIBC_VERSION_0_9_30_AVR32_2_1_5
+		depends on BR2_avr32
+		bool "uClibc 0.9.30-avr32-2.1.5"
 
 	config BR2_UCLIBC_VERSION_0_9_30_1
 		bool "uClibc 0.9.30.1"
@@ -47,6 +51,7 @@ config BR2_UCLIBC_VERSION_STRING
 	default 0.9.29		if BR2_UCLIBC_VERSION_0_9_29
 	default 0.9.30		if BR2_UCLIBC_VERSION_0_9_30
 	default 0.9.30.1	if BR2_UCLIBC_VERSION_0_9_30_1
+	default 0.9.30-avr32-2.1.5 if BR2_UCLIBC_VERSION_0_9_30_AVR32_2_1_5
 	default $BR2_USE_UCLIBC_SNAPSHOT	if BR2_UCLIBC_VERSION_SNAPSHOT
 
 config BR2_UCLIBC_CONFIG
@@ -55,6 +60,7 @@ config BR2_UCLIBC_CONFIG
 	default "toolchain/uClibc/uClibc-0.9.29.config" if BR2_UCLIBC_VERSION_0_9_29
 	default "toolchain/uClibc/uClibc-0.9.30.config" if BR2_UCLIBC_VERSION_0_9_30
 	default "toolchain/uClibc/uClibc-0.9.30.config" if BR2_UCLIBC_VERSION_0_9_30_1
+	default "toolchain/uClibc/uClibc-0.9.30.config" if BR2_UCLIBC_VERSION_0_9_30_AVR32_2_1_5
 	default "toolchain/uClibc/uClibc-snapshot.config" if BR2_UCLIBC_VERSION_SNAPSHOT
 	help
 	  Some people may wish to use their own modified uClibc configuration
toolchain/uClibc/uClibc-0.9.30-avr32-2.1.5-unifdef-getline.patch new file +29 -0
new file mode 100644
index 0000000..eb88884
@@ -0,0 +1,29 @@
+--- uClibc-0.9.30.1.orig/extra/scripts/unifdef.c
++++ uClibc-0.9.30.1/extra/scripts/unifdef.c
+@@ -206,7 +206,7 @@ static void             done(void);
+ static void             error(const char *);
+ static int              findsym(const char *);
+ static void             flushline(bool);
+-static Linetype         getline(void);
++static Linetype         get_line(void);
+ static Linetype         ifeval(const char **);
+ static void             ignoreoff(void);
+ static void             ignoreon(void);
+@@ -512,7 +512,7 @@ process(void)
+ 
+ 	for (;;) {
+ 		linenum++;
+-		lineval = getline();
++		lineval = get_line();
+ 		trans_table[ifstate[depth]][lineval]();
+ 		debug("process %s -> %s depth %d",
+ 		    linetype_name[lineval],
+@@ -526,7 +526,7 @@ process(void)
+  * help from skipcomment().
+  */
+ static Linetype
+-getline(void)
++get_line(void)
+ {
+ 	const char *cp;
+ 	int cursym;
toolchain/uClibc/uclibc.mk +7 -1
index 62fc40b..67601b1 100644
@@ -19,9 +19,12 @@ UCLIBC_OFFICIAL_VERSION:=$(UCLIBC_VER)$(VENDOR_SUFFIX)$(VENDOR_UCLIBC_RELEASE)
 ifeq ($(BR2_UCLIBC_VERSION_SNAPSHOT),y)
 UCLIBC_SITE:=http://www.uclibc.org/downloads/snapshots
 UCLIBC_DIR:=$(TOOLCHAIN_DIR)/uClibc
-else
+else ifeq ($(findstring avr32,$(UCLIBC_VERSION)),avr32)
+UCLIBC_SITE:=ftp://www.at91.com/pub/buildroot/
 UCLIBC_DIR:=$(TOOLCHAIN_DIR)/uClibc-$(UCLIBC_OFFICIAL_VERSION)
+else
 UCLIBC_SITE:=http://www.uclibc.org/downloads
+UCLIBC_DIR:=$(TOOLCHAIN_DIR)/uClibc-$(UCLIBC_OFFICIAL_VERSION)
 ifeq ($(BR2_TOOLCHAIN_EXTERNAL_SOURCE),y)
 UCLIBC_SITE:=$(VENDOR_SITE)
 endif
@@ -257,6 +260,9 @@ else
 	/bin/echo "# CONFIG_E500 is not set" >> $(UCLIBC_DIR)/.oldconfig
 endif
 endif
+ifeq ($(UCLIBC_TARGET_ARCH),avr32)
+	/bin/echo "LINKRELAX=y" >> $(UCLIBC_DIR)/.oldconfig
+endif
 ifneq ($(UCLIBC_TARGET_ENDIAN),)
 	# The above doesn't work for me, so redo
 	$(SED) 's/.*\(ARCH_$(UCLIBC_NOT_TARGET_ENDIAN)_ENDIAN\).*/# \1 is not set/g' \
Signature · 1 line
1.6.3.3
#6 lore raw

PATCH 5/23 uclibc: add avr32 special version

Quoted 3 lines · On Tue, 15 Dec 2009 00:04:37 +0100 Thomas Petazzoni…

* Add a new 0.9.30-avr32-2.1.5 version of uClibc in Config.in

Huh? That version does not exist... Please just use the upstream release.

Quoted 2 lines

* Add a patch for 0.9.20-avr32-2.1.5

This patch 'uClibc-0.9.30-avr32-2.1.5-unifdef-getline.patch' does not sound AVR32 specific to me. You only need one uClibc patch from an AVR32 point of view, the "fix-varargs-in-prctl-syscall.patch"

Quoted 5 lines

* Select a different UCLIBC_SITE for avr32 versions in uclibc.mk

* Add the LINKRELAX=y configuration option to the uClibc .config file in uclibc.mk

Good, does the generic uClibc configuration enable optimized string functions?

Signature · 2 lines
Best regards,
Hans-Christian Egtvedt
#7 lore raw

PATCH 5/23 uclibc: add avr32 special version

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"HcE" == Hans-Christian Egtvedt <[email protected]> writes:

Hi,

HcE> On Tue, 15 Dec 2009 00:04:37 +0100

Quoted 3 lines · HcE> Thomas Petazzoni <[email protected]> wrote:
Quoted 3 lines

* Add a new 0.9.30-avr32-2.1.5 version of uClibc in Config.in

HcE> Huh? That version does not exist... Please just use the upstream HcE> release.

Thomas?

HcE> This patch 'uClibc-0.9.30-avr32-2.1.5-unifdef-getline.patch' does not HcE> sound AVR32 specific to me. You only need one uClibc patch from an HcE> AVR32 point of view, the "fix-varargs-in-prctl-syscall.patch"

I guess it's just a copy of the normal getline -> get_line fix to get unifdef working on modern glibc's (that also define a getline function).

Quoted 5 lines
Quoted 5 lines

* Select a different UCLIBC_SITE for avr32 versions in uclibc.mk

* Add the LINKRELAX=y configuration option to the uClibc .config file in uclibc.mk

HcE> Good, does the generic uClibc configuration enable optimized string HcE> functions?

If not, we can probably tweak it.

Signature · 1 line
Bye, Peter Korsgaard
#8 lore raw

PATCH 5/23 uclibc: add avr32 special version

On Tue, 15 Dec 2009 09:10:30 +0100
Peter Korsgaard <[email protected]> wrote:

<snipp>

Quoted 11 lines
Quoted 5 lines
Quoted 5 lines

* Select a different UCLIBC_SITE for avr32 versions in uclibc.mk

* Add the LINKRELAX=y configuration option to the uClibc .config file in uclibc.mk

HcE> Good, does the generic uClibc configuration enable optimized string HcE> functions?

If not, we can probably tweak it.

I think all architectures have optimized string functions, so it should be safe to enable. If an optimization is not present, it will fallback to the generic C implementations instead.

Signature · 2 lines
Best regards,
Hans-Christian Egtvedt
#9 lore raw

PATCH 5/23 uclibc: add avr32 special version

In reply to Hans-Christian Egtvedt

Hello,

Le Tue, 15 Dec 2009 08:18:09 +0100,
Hans-Christian Egtvedt <[email protected]> a ?crit :

Quoted 2 lines

Huh? That version does not exist... Please just use the upstream release.

This was the version used by Buildroot until this external source toolchain removal work. It used to download ftp://www.at91.com/pub/buildroot/uClibc-0.9.30-avr32-2.1.5.tar.bz2, which is still the uClibc version being used.

I didn't check how many differences they were between this version and the upstream one. I just replicated the existing behaviour. If you tell me that there aren't any differences between the upstream and the avr32 special versions, then we can just get rid of the avr32 special version.

Quoted 2 lines

This patch 'uClibc-0.9.30-avr32-2.1.5-unifdef-getline.patch' does not sound AVR32 specific to me.

Not it isn't. But it was the patch available in the toolchain/uClibc/ext_source/Atmel/avr32/0.9.30-avr32-2.1.5 directory before my rework. Therefore I just kept it as it was.

As you can see I didn't modify the versions of the components or the patches being applied to them. I only modified how this was integrated into Buildroot. As I don't have any AVR32 hardware to make tests I tried to be conservative.

Quoted 2 lines

You only need one uClibc patch from an AVR32 point of view, the "fix-varargs-in-prctl-syscall.patch"

Do you have an up-to-date version of this patch ?

The version I found was NAKed by uClibc developers in December 2008
(http://lists.uclibc.org/pipermail/uclibc/2008-December/041592.html),
but later on, it seems they agreed but requested some change
(http://lists.busybox.net/pipermail/uclibc/2009-July/042812.html). Or maybe the change requested only applies to uClibc git and not to uClibc 0.9.30 ?

Could you give a more precise status of this patch ?

Quoted 5 lines
Quoted 2 lines

* Add the LINKRELAX=y configuration option to the uClibc .config
file in uclibc.mk

Good, does the generic uClibc configuration enable optimized string functions?

UCLIBC_HAS_STRING_ARCH_OPT is not set in the generic uClibc configuration file, if it's the option you're refering to. But I think we should change this to default to y, since the uClibc help text says:

config UCLIBC_HAS_STRING_ARCH_OPT
bool "Use arch-specific assembly string functions (where available)" default y
help
Answer Y to use any archtecture-specific assembly language string functions available for this target plaform.

Note that assembly implementations are not available for all string functions, so some generic (written in C) string functions may still be used.

These are small and fast, the only reason _not_ to say Y here is for debugging purposes.

Cheers,

Thomas

Signature · 4 lines
Thomas Petazzoni, Free Electrons
Kernel, drivers and embedded Linux development,
consulting, training and support.
http://free-electrons.com
#10 lore raw

PATCH 5/23 uclibc: add avr32 special version

Quoted 13 lines · On Tue, 15 Dec 2009 09:24:18 +0100 Thomas Petazzoni…

Hello,

Le Tue, 15 Dec 2009 08:18:09 +0100,
Hans-Christian Egtvedt <[email protected]> a ?crit :

Quoted 2 lines

Huh? That version does not exist... Please just use the upstream release.

This was the version used by Buildroot until this external source toolchain removal work. It used to download ftp://www.at91.com/pub/buildroot/uClibc-0.9.30-avr32-2.1.5.tar.bz2, which is still the uClibc version being used.

Quoted 5 lines

I didn't check how many differences they were between this version and the upstream one. I just replicated the existing behaviour. If you tell me that there aren't any differences between the upstream and the avr32 special versions, then we can just get rid of the avr32 special version.

Yes, please get rid of this special version, I have no clue what it actually contains. The upstream release(s) contains a tested uClibc for AVR32, which works fine except for the prctl issue mentioned later.

Quoted 7 lines
Quoted 2 lines

This patch 'uClibc-0.9.30-avr32-2.1.5-unifdef-getline.patch' does not sound AVR32 specific to me.

Not it isn't. But it was the patch available in the toolchain/uClibc/ext_source/Atmel/avr32/0.9.30-avr32-2.1.5 directory before my rework. Therefore I just kept it as it was.

As I was told by Peter, this patch is needed to build on never machines due to the getline issue.

Quoted 5 lines

As you can see I didn't modify the versions of the components or the patches being applied to them. I only modified how this was integrated into Buildroot. As I don't have any AVR32 hardware to make tests I tried to be conservative.

Yes, probably wise.

Quoted 5 lines
Quoted 2 lines

You only need one uClibc patch from an AVR32 point of view, the "fix-varargs-in-prctl-syscall.patch"

Do you have an up-to-date version of this patch ?

Quoted 9 lines

The version I found was NAKed by uClibc developers in December 2008
(http://lists.uclibc.org/pipermail/uclibc/2008-December/041592.html),
but later on, it seems they agreed but requested some change
(http://lists.busybox.net/pipermail/uclibc/2009-July/042812.html). Or maybe the change requested only applies to uClibc git and not to uClibc 0.9.30 ?

Could you give a more precise status of this patch ?

I'm currently out of time to mold this patch into something useful. FWIW it is on my todo list.

IIRC it should be possible to add an arch only patch to Buildroot? Unsure if this applies to uCLibc.

Quoted 10 lines
Quoted 5 lines
Quoted 2 lines

* Add the LINKRELAX=y configuration option to the uClibc .config
file in uclibc.mk

Good, does the generic uClibc configuration enable optimized string functions?

UCLIBC_HAS_STRING_ARCH_OPT is not set in the generic uClibc configuration file, if it's the option you're refering to. But I think we should change this to default to y, since the uClibc help text says:

Agreed.

Quoted 11 lines

config UCLIBC_HAS_STRING_ARCH_OPT
bool "Use arch-specific assembly string functions (where available)" default y
help
Answer Y to use any archtecture-specific assembly language string functions available for this target plaform.

Note that assembly implementations are not available for all string functions, so some generic (written in C) string functions may still be used.

Exactly.

Quoted 3 lines

These are small and fast, the only reason _not_ to say Y here is for debugging purposes.

I would say if you are debugging uClibc, you're probably compiling it on the side anyway. So I would suggest just ignoring all together having the possibility to switch this on and off.

Signature · 2 lines
Best regards,
Hans-Christian Egtvedt
#11 lore raw

PATCH 5/23 uclibc: add avr32 special version

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"HcE" == Hans-Christian Egtvedt <[email protected]> writes:

Hi,

HcE> I'm currently out of time to mold this patch into something useful. HcE> FWIW it is on my todo list.

HcE> IIRC it should be possible to add an arch only patch to Buildroot? HcE> Unsure if this applies to uCLibc.

Yes, uclibc.mk does:

        toolchain/patch-kernel.sh $(UCLIBC_DIR) $(UCLIBC_PATCH_DIR) \
                uClibc-$(UCLIBC_VERSION)-\*.patch \
                uClibc-$(UCLIBC_VERSION)-\*.patch.$(ARCH)

So I'll add it as a .patch.avr32 you send me a working patch.

Signature · 1 line
Bye, Peter Korsgaard
#12 lore raw

PATCH 5/23 uclibc: add avr32 special version

Quoted 10 lines · On Tue, 15 Dec 2009 09:42:34 +0100 Peter Korsgaard <[email protected]> wrote:
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"HcE" == Hans-Christian Egtvedt <[email protected]> writes:

Hi,

HcE> I'm currently out of time to mold this patch into something useful. HcE> FWIW it is on my todo list.

HcE> IIRC it should be possible to add an arch only patch to Buildroot? HcE> Unsure if this applies to uCLibc.

Quoted 8 lines

Yes, uclibc.mk does:

        toolchain/patch-kernel.sh $(UCLIBC_DIR) $(UCLIBC_PATCH_DIR) \
                uClibc-$(UCLIBC_VERSION)-\*.patch \
                uClibc-$(UCLIBC_VERSION)-\*.patch.$(ARCH)

So I'll add it as a .patch.avr32 you send me a working patch.

I have no newer patch than the one I sent to the uClibc mailing list, or do you want a BR patch adding the uClibc patch?

Signature · 2 lines
Best regards,
Hans-Christian Egtvedt
#13 lore raw

PATCH 5/23 uclibc: add avr32 special version

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"HcE" == Hans-Christian Egtvedt <[email protected]> writes:

Hi,

HcE> I have no newer patch than the one I sent to the uClibc mailing list, HcE> or do you want a BR patch adding the uClibc patch?

Yes, please - A file I can stick in toolchain/uClibc/.

Signature · 1 line
Bye, Peter Korsgaard
#14 lore raw

PATCH 5/23 uclibc: add avr32 special version

In reply to Thomas Petazzoni
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Thomas" == Thomas Petazzoni <[email protected]> writes:

Hi,

Quoted 2 lines
Quoted 2 lines

Good, does the generic uClibc configuration enable optimized string functions?

Thomas> UCLIBC_HAS_STRING_ARCH_OPT is not set in the generic uClibc Thomas> configuration file, if it's the option you're refering to. But Thomas> I think we should change this to default to y, since the uClibc Thomas> help text says:

Agreed, will do so now.

Signature · 1 line
Bye, Peter Korsgaard
#15 lore raw

PATCH 6/23 gcc: on avr32, only allow avr32 gcc versions

In reply to Thomas Petazzoni

Remove references to BR2_EXT_GCC_VERSION_* configuration options, and only allows special avr32 gcc versions on the AVR32 architecture.

---
 toolchain/gcc/Config.in |   15 ++++++---------
 1 files changed, 6 insertions(+), 9 deletions(-)
toolchain/gcc/Config.in +6 -9
index 3d3da46..07e42a6 100644
@@ -10,20 +10,18 @@ choice
 	  Select the version of gcc you wish to use.
 
 	config BR2_GCC_VERSION_4_1_2
-		depends on !BR2_nios2
-		depends on BR2_EXT_GCC_VERSION_4_1_2
+		depends on !BR2_nios2 && !BR2_avr32
 		depends on BR2_DEPRECATED
 		bool "gcc 4.1.2"
 
 	config BR2_GCC_VERSION_4_2_1
-		depends on !BR2_nios2
-		depends on BR2_EXT_GCC_VERSION_4_2_1
+		depends on !BR2_nios2 && !BR2_avr32
 		depends on BR2_DEPRECATED
 		bool "gcc 4.2.1"
 
 	config BR2_GCC_VERSION_4_2_2
-		depends on BR2_EXT_GCC_VERSION_4_2_2
-		depends on BR2_DEPRECATED || BR2_avr32
+		depends on !BR2_avr32
+		depends on BR2_DEPRECATED
 		bool "gcc 4.2.2"
 
 	config BR2_GCC_VERSION_4_2_2_AVR32_2_1_5
@@ -31,9 +29,8 @@ choice
 	       bool "gcc 4.2.2-avr32-2.1.5"
 
 	config BR2_GCC_VERSION_4_2_3
-		depends on !BR2_nios2
-		depends on BR2_EXT_GCC_VERSION_4_2_3
-		depends on BR2_DEPRECATED || BR2_avr32
+		depends on !BR2_nios2 && !BR2_avr32
+		depends on BR2_DEPRECATED
 		bool "gcc 4.2.3"
 
 	config BR2_GCC_VERSION_4_2_4
Signature · 1 line
1.6.3.3
#16 lore raw

PATCH 7/23 gcc: improve configuration for snapshot versions

In reply to Thomas Petazzoni

Make the selection of a snapshot version a normal gcc version choice, and make sure BR2_GCC_VERSION is properly defined.

---
 toolchain/gcc/Config.in   |   11 ++++++-----
 toolchain/gcc/Makefile.in |    2 +-
 2 files changed, 7 insertions(+), 6 deletions(-)
toolchain/gcc/Config.in +6 -5
index 07e42a6..10cb841 100644
@@ -55,11 +55,11 @@ choice
 	config BR2_GCC_VERSION_4_4_X
 		depends on !BR2_avr32 && !BR2_nios2
 		bool "gcc 4.4.x"
-endchoice
 
-config BR2_GCC_IS_SNAP
-	depends on !BR2_avr32
-	bool
+	config BR2_GCC_VERSION_SNAP
+		depends on !BR2_avr32 && !BR2_nios2
+		bool "gcc snapshot"
+endchoice
 
 config BR2_GCC_SUPPORTS_SYSROOT
 	bool
@@ -72,7 +72,7 @@ config BR2_GCC_SUPPORTS_FINEGRAINEDMTUNE
 config BR2_GCC_SNAP_DATE
 	string "GCC snapshot date"
 	default "20070921"
-	depends on BR2_GCC_IS_SNAP
+	depends on BR2_GCC_VERSION_SNAP
 	help
 	  Enter snapshot date to use for gcc.  Format is:
 	  YYYYMMDD
@@ -89,6 +89,7 @@ config BR2_GCC_VERSION
 	default "4.3.3"     if BR2_GCC_VERSION_4_3_3
 	default "4.3.4"     if BR2_GCC_VERSION_4_3_4
 	default "4.4.2"     if BR2_GCC_VERSION_4_4_X
+	default $BR2_GCC_SNAP_DATE if BR2_GCC_VERSION_SNAP
 
 config BR2_TOOLCHAIN_SYSROOT
 	bool "Enable toolchain with --sysroot support"
toolchain/gcc/Makefile.in +1 -1
index e92ecbc..c3e21cf 100644
@@ -8,7 +8,7 @@ GCC_VERSION:=$(call qstrip,$(BR2_GCC_VERSION))
 TARGET_OPTIMIZATION:=$(call qstrip,$(BR2_TARGET_OPTIMIZATION))
 EXTRA_GCC_CONFIG_OPTIONS:=$(call qstrip,$(BR2_EXTRA_GCC_CONFIG_OPTIONS))
 
-ifeq ($(call qstrip,$(BR2_GCC_IS_SNAP)),y)
+ifeq ($(call qstrip,$(BR2_GCC_VERSION_SNAP)),y)
 GCC_SNAP_DATE:=$(call qstrip,$(BR2_GCC_SNAP_DATE))
 else
 GCC_SNAP_DATE:=
Signature · 1 line
1.6.3.3
#17 lore raw

PATCH 8/23 gcc: remove support for external source toolchains

In reply to Thomas Petazzoni
---
 toolchain/gcc/gcc-uclibc-3.x.mk |   10 ----------
 toolchain/gcc/gcc-uclibc-4.x.mk |   10 ----------
 2 files changed, 0 insertions(+), 20 deletions(-)
toolchain/gcc/gcc-uclibc-3.x.mk +0 -10
index bc3d423..c7ae913 100644
@@ -33,18 +33,9 @@ else
  GCC_OFFICIAL_VER:=$(GCC_VERSION)
 endif
 
-
-# redefine if using an external prepatched gcc source
-ifneq ($(BR2_TOOLCHAIN_BUILDROOT),y)
-GCC_SITE:=$(VENDOR_SITE)
-GCC_OFFICIAL_VER:=$(GCC_VERSION)$(VENDOR_SUFFIX)$(VENDOR_GCC_RELEASE)
-GCC_PATCH_DIR:=toolchain/gcc/ext_source/$(VENDOR_PATCH_DIR)/$(GCC_OFFICIAL_VERSION)
-endif
-
 GCC_SOURCE:=gcc-$(GCC_OFFICIAL_VER).tar.bz2
 GCC_DIR:=$(TOOLCHAIN_DIR)/gcc-$(GCC_OFFICIAL_VER)
 
-ifeq ($(BR2_TOOLCHAIN_BUILDROOT),y)
 ifeq ($(GCC_SNAP_DATE),)
 GCC_PATCH_DIR:=toolchain/gcc/$(GCC_VERSION)
 else
@@ -54,7 +45,6 @@ else
 GCC_PATCH_DIR:=toolchain/gcc/$(GCC_VERSION)
 endif
 endif
-endif
 
 GCC_CAT:=$(BZCAT)
 GCC_STRIP_HOST_BINARIES:=true
toolchain/gcc/gcc-uclibc-4.x.mk +0 -10
index 14afb36..b3ee266 100644
@@ -31,15 +31,6 @@ else
  GCC_OFFICIAL_VER:=$(GCC_VERSION)
 endif
 
-# redefine if using an external prepatched gcc source
-ifneq ($(BR2_TOOLCHAIN_BUILDROOT),y)
-GCC_SITE:=$(VENDOR_SITE)
-GCC_OFFICIAL_VERSION:=$(GCC_VERSION)$(VENDOR_SUFFIX)$(VENDOR_GCC_RELEASE)
-GCC_PATCH_DIR:=toolchain/gcc/ext_source/$(VENDOR_PATCH_DIR)/$(GCC_OFFICIAL_VERSION)
-endif #!BR2_TOOLCHAIN_BUILDROOT
-
-# define patch location
-ifeq ($(BR2_TOOLCHAIN_BUILDROOT),y) # Normal toolchain
 ifeq ($(GCC_SNAP_DATE),) # Not a snapshot
 GCC_PATCH_DIR:=toolchain/gcc/$(GCC_VERSION)
 else # Is a snapshot
@@ -50,7 +41,6 @@ else # Normal patch to snapshot
 GCC_PATCH_DIR:=toolchain/gcc/$(GCC_VERSION)
 endif # Snapshot patch
 endif # Not a snapshot
-endif # BR2_TOOLCHAIN_BUILDROOT
 
 ifneq ($(filter xtensa%,$(ARCH)),)
 include target/xtensa/patch.in
Signature · 1 line
1.6.3.3
#18 lore raw

PATCH 9/23 gcc: remove GCC_OFFICIAL_VERSION and just use GCC_VERSION instead

In reply to Thomas Petazzoni
---
 toolchain/gcc/gcc-uclibc-3.x.mk |   17 ++---------------
 toolchain/gcc/gcc-uclibc-4.x.mk |   21 ++++-----------------
 2 files changed, 6 insertions(+), 32 deletions(-)
toolchain/gcc/gcc-uclibc-3.x.mk +2 -15
index c7ae913..0af3f38 100644
@@ -24,28 +24,15 @@ ifneq ($(BR2_TOOLCHAIN_SYSROOT),y)
 
 ifneq ($(GCC_SNAP_DATE),)
  GCC_SITE:=ftp://sources.redhat.com/pub/gcc/snapshots/$(GCC_VERSION)
- GCC_OFFICIAL_VER:=$(GCC_VERSION)-$(GCC_SNAP_DATE)
 else ifeq ($(findstring avr32,$(GCC_VERSION)),avr32)
  GCC_SITE:=ftp://www.at91.com/pub/buildroot/
- GCC_OFFICIAL_VER:=$(GCC_VERSION)
 else
  GCC_SITE:=$(BR2_GNU_MIRROR)/gcc/gcc-$(GCC_VERSION)
- GCC_OFFICIAL_VER:=$(GCC_VERSION)
 endif
 
-GCC_SOURCE:=gcc-$(GCC_OFFICIAL_VER).tar.bz2
-GCC_DIR:=$(TOOLCHAIN_DIR)/gcc-$(GCC_OFFICIAL_VER)
-
-ifeq ($(GCC_SNAP_DATE),)
-GCC_PATCH_DIR:=toolchain/gcc/$(GCC_VERSION)
-else
-ifneq ($(wildcard toolchain/gcc/$(GCC_OFFICIAL_VER)),)
-GCC_PATCH_DIR:=toolchain/gcc/$(GCC_OFFICIAL_VER)
-else
+GCC_SOURCE:=gcc-$(GCC_VERSION).tar.bz2
+GCC_DIR:=$(TOOLCHAIN_DIR)/gcc-$(GCC_VERSION)
 GCC_PATCH_DIR:=toolchain/gcc/$(GCC_VERSION)
-endif
-endif
-
 GCC_CAT:=$(BZCAT)
 GCC_STRIP_HOST_BINARIES:=true
 
toolchain/gcc/gcc-uclibc-4.x.mk +4 -17
index b3ee266..b162b93 100644
@@ -22,33 +22,20 @@ ifeq ($(BR2_TOOLCHAIN_SYSROOT),y)
 
 ifneq ($(GCC_SNAP_DATE),)
  GCC_SITE:=ftp://sources.redhat.com/pub/gcc/snapshots/$(GCC_VERSION)
- GCC_OFFICIAL_VER:=$(GCC_VERSION)-$(GCC_SNAP_DATE)
 else ifeq ($(findstring avr32,$(GCC_VERSION)),avr32)
  GCC_SITE:=ftp://www.at91.com/pub/buildroot/
- GCC_OFFICIAL_VER:=$(GCC_VERSION)
 else
  GCC_SITE:=$(BR2_GNU_MIRROR)/gcc/gcc-$(GCC_VERSION)
- GCC_OFFICIAL_VER:=$(GCC_VERSION)
 endif
 
-ifeq ($(GCC_SNAP_DATE),) # Not a snapshot
-GCC_PATCH_DIR:=toolchain/gcc/$(GCC_VERSION)
-else # Is a snapshot
-ifneq ($(wildcard toolchain/gcc/$(GCC_OFFICIAL_VERSION)),) # Snapshot patch?
-GCC_PATCH_DIR:=toolchain/gcc/$(GCC_OFFICIAL_VERSION)
-else # Normal patch to snapshot
-# Use the normal location, if the dedicated location does not exist
-GCC_PATCH_DIR:=toolchain/gcc/$(GCC_VERSION)
-endif # Snapshot patch
-endif # Not a snapshot
-
 ifneq ($(filter xtensa%,$(ARCH)),)
 include target/xtensa/patch.in
 GCC_PATCH_EXTRA:=$(call XTENSA_PATCH,gcc,$(GCC_PATCH_DIR),. ..)
 endif
 
-GCC_SOURCE:=gcc-$(GCC_OFFICIAL_VERSION).tar.bz2
-GCC_DIR:=$(TOOLCHAIN_DIR)/gcc-$(GCC_OFFICIAL_VERSION)
+GCC_SOURCE:=gcc-$(GCC_VERSION).tar.bz2
+GCC_PATCH_DIR:=toolchain/gcc/$(GCC_VERSION)
+GCC_DIR:=$(TOOLCHAIN_DIR)/gcc-$(GCC_VERSION)
 GCC_CAT:=$(BZCAT)
 GCC_STRIP_HOST_BINARIES:=nope
 GCC_SRC_DIR:=$(GCC_DIR)
@@ -516,7 +503,7 @@ gcc_target-dirclean:
 	rm -rf $(GCC_BUILD_DIR3)
 
 gcc-status:
-	@echo GCC_OFFICIAL_VERSION=$(GCC_OFFICIAL_VERSION)
+	@echo GCC_VERSION=$(GCC_VERSION)
 	@echo GCC_PATCH_DIR=$(GCC_PATCH_DIR)
 	@echo GCC_SITE=$(GCC_SITE)
 
Signature · 1 line
1.6.3.3
#19 lore raw

PATCH 10/23 binutils: do not allow selection of non-avr32 versions on AVR32

In reply to Thomas Petazzoni
---
 toolchain/binutils/Config.in |    9 ++++-----
 1 files changed, 4 insertions(+), 5 deletions(-)
toolchain/binutils/Config.in +4 -5
index 4405bcb..b8ce332 100644
@@ -9,14 +9,13 @@ choice
 	  Select the version of binutils you wish to use.
 
 	config BR2_BINUTILS_VERSION_2_17
-		depends on !BR2_nios2
-		depends on BR2_DEPRECATED || (BR2_avr32 && BR2_EXT_BINUTILS_VERSION_2_17)
+		depends on !BR2_nios2 && !BR2_avr32
+		depends on BR2_DEPRECATED
 		bool "binutils 2.17"
 
 	config BR2_BINUTILS_VERSION_2_18
-		depends on !BR2_nios2
-		depends on BR2_DEPRECATED || BR2_avr32
-		depends on BR2_EXT_BINUTILS_VERSION_2_18
+		depends on !BR2_nios2 && !BR2_avr32
+		depends on BR2_DEPRECATED
 		bool "binutils 2.18"
 
 	config BR2_BINUTILS_VERSION_2_18_50_0_9
Signature · 1 line
1.6.3.3
#20 lore raw

PATCH 11/23 binutils: remove support for external source toolchains

In reply to Thomas Petazzoni
---
 toolchain/binutils/binutils.mk |   10 ++--------
 1 files changed, 2 insertions(+), 8 deletions(-)
toolchain/binutils/binutils.mk +2 -8
index 38bee9e..288a000 100644
@@ -48,21 +48,15 @@ BINUTILS_TARGET_CONFIG_OPTIONS=--with-gmp="$(GMP_TARGET_DIR)"
 BINUTILS_TARGET_CONFIG_OPTIONS+=--with-mpfr="$(MPFR_TARGET_DIR)"
 endif
 
-BINUTILS_OFFICIAL_VERSION:=$(BINUTILS_VERSION)$(VENDOR_SUFFIX)$(VENDOR_BINUTILS_RELEASE)
-ifeq ($(BR2_TOOLCHAIN_BUILDROOT),y)
 BINUTILS_PATCH_DIR:=toolchain/binutils/$(BINUTILS_VERSION)
-else # ifeq ($(BR2_TOOLCHAIN_EXTERNAL_SOURCE),)
-BINUTILS_SITE:=$(VENDOR_SITE)
-BINUTILS_PATCH_DIR:=toolchain/binutils/ext_source/$(VENDOR_PATCH_DIR)/$(BINUTILS_OFFICIAL_VERSION)
-endif
 
 ifneq ($(filter xtensa%,$(ARCH)),)
 include target/xtensa/patch.in
 BINUTILS_PATCH_EXTRA:=$(call XTENSA_PATCH,binutils,$(BINUTILS_PATCH_DIR),. ..)
 endif
 
-BINUTILS_SOURCE:=binutils-$(BINUTILS_OFFICIAL_VERSION).tar.bz2
-BINUTILS_DIR:=$(TOOLCHAIN_DIR)/binutils-$(BINUTILS_OFFICIAL_VERSION)
+BINUTILS_SOURCE:=binutils-$(BINUTILS_VERSION).tar.bz2
+BINUTILS_DIR:=$(TOOLCHAIN_DIR)/binutils-$(BINUTILS_VERSION)
 BINUTILS_CAT:=$(BZCAT)
 
 BINUTILS_DIR1:=$(TOOLCHAIN_DIR)/binutils-$(BINUTILS_VERSION)-build
Signature · 1 line
1.6.3.3
#21 lore raw

PATCH 12/23 gdb: do not allow selection of non-avr32 versions on AVR32

In reply to Thomas Petazzoni
---
 toolchain/gdb/Config.in |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
toolchain/gdb/Config.in +1 -0
index 947cd11..28606ba 100644
@@ -41,6 +41,7 @@ choice
 		depends on BR2_DEPRECATED
 
 	config BR2_GDB_VERSION_6_7_1
+		depends on !BR2_avr32
 		bool "gdb 6.7.1"
 
 	config BR2_GDB_VERSION_6_7_1_AVR32_2_1_5
Signature · 1 line
1.6.3.3
#22 lore raw

PATCH 13/23 uclibc: do not allow selection of non-avr32 versions on AVR32

In reply to Thomas Petazzoni
---
 toolchain/uClibc/Config.in |    9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)
toolchain/uClibc/Config.in +5 -4
index c0ec220..cc7dcd1 100644
@@ -11,16 +11,17 @@ choice
 	  Select the version of uClibc you wish to use.
 
 	config BR2_UCLIBC_VERSION_0_9_28_3
+		depends on !BR2_avr32
 		depends on BR2_DEPRECATED
 		bool "uClibc 0.9.28.3"
-		depends on BR2_EXT_UCLIBC_VERSION_0_9_28_3
 
 	config BR2_UCLIBC_VERSION_0_9_29
+		depends on !BR2_avr32
 		depends on BR2_DEPRECATED
 		bool "uClibc 0.9.29"
-		depends on BR2_EXT_UCLIBC_VERSION_0_9_29
 
 	config BR2_UCLIBC_VERSION_0_9_30
+		depends on !BR2_avr32
 		depends on BR2_RECENT || BR2_DEPRECATED
 		bool "uClibc 0.9.30"
 
@@ -29,15 +30,15 @@ choice
 		bool "uClibc 0.9.30-avr32-2.1.5"
 
 	config BR2_UCLIBC_VERSION_0_9_30_1
+		depends on !BR2_avr32
 		bool "uClibc 0.9.30.1"
-		depends on BR2_EXT_UCLIBC_VERSION_0_9_30_1
 
 	config BR2_UCLIBC_VERSION_SNAPSHOT
+		depends on !BR2_avr32
 		bool "daily snapshot"
 
 endchoice
 
-
 config BR2_USE_UCLIBC_SNAPSHOT
 	string "Date (yyyymmdd) of snapshot or 'snapshot' for latest"
 	default "snapshot"
Signature · 1 line
1.6.3.3
#23 lore raw

PATCH 14/23 uclibc: remove support for external source toolchains

In reply to Thomas Petazzoni
---
 toolchain/uClibc/uclibc.mk |   22 +++++-----------------
 1 files changed, 5 insertions(+), 17 deletions(-)
toolchain/uClibc/uclibc.mk +5 -17
index 67601b1..79d272f 100644
@@ -12,31 +12,19 @@ ifndef UCLIBC_CONFIG_FILE
 UCLIBC_CONFIG_FILE=$(call qstrip,$(BR2_UCLIBC_CONFIG))
 endif
 
-UCLIBC_VER:=$(call qstrip,$(BR2_UCLIBC_VERSION_STRING))
-
-UCLIBC_OFFICIAL_VERSION:=$(UCLIBC_VER)$(VENDOR_SUFFIX)$(VENDOR_UCLIBC_RELEASE)
+UCLIBC_VERSION:=$(call qstrip,$(BR2_UCLIBC_VERSION_STRING))
 
 ifeq ($(BR2_UCLIBC_VERSION_SNAPSHOT),y)
 UCLIBC_SITE:=http://www.uclibc.org/downloads/snapshots
-UCLIBC_DIR:=$(TOOLCHAIN_DIR)/uClibc
 else ifeq ($(findstring avr32,$(UCLIBC_VERSION)),avr32)
 UCLIBC_SITE:=ftp://www.at91.com/pub/buildroot/
-UCLIBC_DIR:=$(TOOLCHAIN_DIR)/uClibc-$(UCLIBC_OFFICIAL_VERSION)
 else
 UCLIBC_SITE:=http://www.uclibc.org/downloads
-UCLIBC_DIR:=$(TOOLCHAIN_DIR)/uClibc-$(UCLIBC_OFFICIAL_VERSION)
-ifeq ($(BR2_TOOLCHAIN_EXTERNAL_SOURCE),y)
-UCLIBC_SITE:=$(VENDOR_SITE)
-endif
 endif
 
-ifeq ($(BR2_TOOLCHAIN_BUILDROOT),y)
+UCLIBC_DIR:=$(TOOLCHAIN_DIR)/uClibc-$(UCLIBC_VERSION)
 UCLIBC_PATCH_DIR:=toolchain/uClibc/
-else
-UCLIBC_PATCH_DIR:=toolchain/uClibc/ext_source/$(VENDOR_PATCH_DIR)/$(UCLIBC_OFFICIAL_VERSION)
-endif
-
-UCLIBC_SOURCE:=uClibc-$(UCLIBC_OFFICIAL_VERSION).tar.bz2
+UCLIBC_SOURCE:=uClibc-$(UCLIBC_VERSION).tar.bz2
 
 UCLIBC_CAT:=$(BZCAT)
 
@@ -106,8 +94,8 @@ uclibc-patched: $(UCLIBC_DIR)/.patched
 $(UCLIBC_DIR)/.patched: $(UCLIBC_DIR)/.unpacked
 ifneq ($(BR2_UCLIBC_VERSION_SNAPSHOT),y)
 	toolchain/patch-kernel.sh $(UCLIBC_DIR) $(UCLIBC_PATCH_DIR) \
-		uClibc-$(UCLIBC_OFFICIAL_VERSION)-\*.patch \
-		uClibc-$(UCLIBC_OFFICIAL_VERSION)-\*.patch.$(ARCH)
+		uClibc-$(UCLIBC_VERSION)-\*.patch \
+		uClibc-$(UCLIBC_VERSION)-\*.patch.$(ARCH)
 else
 	toolchain/patch-kernel.sh $(UCLIBC_DIR) $(UCLIBC_PATCH_DIR) \
 		uClibc.\*.patch uClibc.\*.patch.$(ARCH)
Signature · 1 line
1.6.3.3
#24 lore raw

PATCH 15/23 Use BR2_TOOLCHAIN_BUILDROOT instead of BR2_TOOLCHAIN_SOURCE

In reply to Thomas Petazzoni

The BR2_TOOLCHAIN_SOURCE option is removed in a future commit.

---
 Makefile                        |    4 ++--
 package/Makefile.in             |    4 ++--
 target/Config.in                |    2 +-
 toolchain/Config.in.1           |    2 +-
 toolchain/Config.in.2           |    6 +++---
 toolchain/gcc/gcc-uclibc-3.x.mk |    2 +-
 toolchain/uClibc/uclibc.mk      |    2 +-
 7 files changed, 11 insertions(+), 11 deletions(-)
Makefile +2 -2
index 5b71051..051b661 100644
@@ -197,7 +197,7 @@ PREFERRED_LIB_FLAGS:=--enable-static --enable-shared
 # along with the packages to build for the target.
 #
 ##############################################################
-ifeq ($(BR2_TOOLCHAIN_SOURCE),y)
+ifeq ($(BR2_TOOLCHAIN_BUILDROOT),y)
 BASE_TARGETS:=uclibc-configured binutils cross_compiler uclibc-target-utils kernel-headers
 else
 BASE_TARGETS:=uclibc
@@ -289,7 +289,7 @@ include .config.cmd
 # We also need the various per-package makefiles, which also add
 # each selected package to TARGETS if that package was selected
 # in the .config file.
-ifeq ($(BR2_TOOLCHAIN_SOURCE),y)
+ifeq ($(BR2_TOOLCHAIN_BUILDROOT),y)
 # avoid pulling in external toolchain which is broken for toplvl parallel builds
 # Explicit ordering:
 include toolchain/dependencies/dependencies.mk
package/Makefile.in +2 -2
index 7c009bb..25dd6da 100644
@@ -36,7 +36,7 @@ endif
 
 
 #########################################################################
-ifeq ($(BR2_TOOLCHAIN_SOURCE),y)
+ifeq ($(BR2_TOOLCHAIN_BUILDROOT),y)
 TARGET_CFLAGS=$(TARGET_OPTIMIZATION) $(TARGET_DEBUGGING) \
 	-I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include
 TARGET_LDFLAGS+=-L$(STAGING_DIR)/lib -L$(STAGING_DIR)/usr/lib
@@ -105,7 +105,7 @@ XXXX=xxxx
 ROOTFS_SUFFIX:=-$(BR2_ROOTFS_SUFFIX)
 endif
 
-ifeq ($(BR2_TOOLCHAIN_SOURCE),y)
+ifeq ($(BR2_TOOLCHAIN_BUILDROOT),y)
 TOOLCHAIN_DIR=$(BASE_DIR)/toolchain
 
 # Quotes are needed for spaces et al in path components.
target/Config.in +1 -1
index ab46dcb..4cae66c 100644
@@ -74,7 +74,7 @@ config BR2_KERNEL_LINUX_ADVANCED
 # The kernel with the same version as linux headers cannot be compiled
 # when using an external toolchain, because the linux headers are not
 # handled by Buildroot in this case.
-if BR2_TOOLCHAIN_SOURCE
+if BR2_TOOLCHAIN_BUILDROOT
 
 config BR2_KERNEL_LINUX
 	bool "linux (Same version as linux headers)"
toolchain/Config.in.1 +1 -1
index 83bc710..5c26858 100644
@@ -1,6 +1,6 @@
 #
 
-if BR2_TOOLCHAIN_SOURCE
+if BR2_TOOLCHAIN_BUILDROOT
 source "toolchain/kernel-headers/Config.in"
 source "toolchain/uClibc/Config.in"
 source "toolchain/binutils/Config.in"
toolchain/Config.in.2 +3 -3
index 2f7de75..6317ff4 100644
@@ -37,7 +37,7 @@ config BR2_ENABLE_LOCALE
 
 config BR2_ENABLE_LOCALE_PREGENERATED
 	bool "Use pregenerated locale data?"
-	depends on BR2_ENABLE_LOCALE && BR2_TOOLCHAIN_SOURCE && BROKEN # tarball missing
+	depends on BR2_ENABLE_LOCALE && BR2_TOOLCHAIN_BUILDROOT && BROKEN # tarball missing
 	help
 	  Instead of generating the locale data locally you can optionally
 	  download a pregenerated set of locales.
@@ -142,7 +142,7 @@ config BR2_GCC_CROSS_CXX
 
 config BR2_INSTALL_LIBSTDCPP
 	bool "Build/install c++ compiler and libstdc++?"
-	select BR2_LARGEFILE if (!BR2_GCC_SUPPORTS_SYSROOT && BR2_TOOLCHAIN_SOURCE)
+	select BR2_LARGEFILE if (!BR2_GCC_SUPPORTS_SYSROOT && BR2_TOOLCHAIN_BUILDROOT)
 	select BR2_GCC_CROSS_CXX
 	help
 	  If you are building your own toolchain and want to build and install
@@ -157,7 +157,7 @@ config BR2_TARGET_OPTIMIZATION
 	help
 	  Optimizations to use when building for the target host.
 
-if BR2_TOOLCHAIN_SOURCE
+if BR2_TOOLCHAIN_BUILDROOT
 source "toolchain/elf2flt/Config.in"
 source "toolchain/mklibs/Config.in"
 source "toolchain/sstrip/Config.in"
toolchain/gcc/gcc-uclibc-3.x.mk +1 -1
index 0af3f38..332af88 100644
@@ -17,7 +17,7 @@
 # along with this program; if not, write to the Free Software
 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
 
-ifeq ($(BR2_TOOLCHAIN_SOURCE),y)
+ifeq ($(BR2_TOOLCHAIN_BUILDROOT),y)
 
 # without sysroot support. Sysroot toolchain is gcc-uclibc-4.x.mk
 ifneq ($(BR2_TOOLCHAIN_SYSROOT),y)
toolchain/uClibc/uclibc.mk +1 -1
index 79d272f..f742d4e 100644
@@ -4,7 +4,7 @@
 #
 #############################################################
 
-ifeq ($(BR2_TOOLCHAIN_SOURCE),y)
+ifeq ($(BR2_TOOLCHAIN_BUILDROOT),y)
 
 # specifying UCLIBC_CONFIG_FILE on the command-line overrides the .config
 # setting.
Signature · 1 line
1.6.3.3
#25 lore raw

PATCH 16/23 Remove external source toolchain options

In reply to Thomas Petazzoni
---
 target/device/Config.in.toolchain |  219 -------------------------------------
 toolchain/Config.in               |   12 --
 2 files changed, 0 insertions(+), 231 deletions(-)
 delete mode 100644 target/device/Config.in.toolchain
target/device/Config.in.toolchain deleted +0 -219
deleted file mode 100644
index b610d1d..0000000
@@ -1,219 +0,0 @@
-if BR2_TOOLCHAIN_EXTERNAL_SOURCE
-choice
-	prompt "Source location:"
-	default BR2_TOOLCHAIN_ATMEL_AVR32_4_2_2 if BR2_avr32
-	help
-	  Select whether to use the toolchain built by the buildroot
-	  system or an external pre-built toolchain.
-
-config BR2_TOOLCHAIN_ATMEL_AVR32_4_1_2
-	bool "Use prepatched source for AVR32 gcc-4.1.2 toolchain"
-	depends on BR2_avr32
-	depends on BR2_DEPRECATED
-	select BR2_EXT_GCC_VERSION_4_1_2
-	select BR2_EXT_BINUTILS_VERSION_2_17
-	select BR2_EXT_UCLIBC_VERSION_0_9_29
-	select BR2_TOOLCHAIN_ATMEL_AVR32
-	help
-	  The gcc-4.1.2 toolchain for the AVR32
-
-config BR2_TOOLCHAIN_ATMEL_AVR32_4_2_1
-	bool "Use prepatched source for AVR32 gcc-4.2.1 toolchain"
-	depends on BR2_avr32
-	depends on BR2_DEPRECATED
-	select BR2_EXT_GCC_VERSION_4_2_1
-	select BR2_EXT_BINUTILS_VERSION_2_17
-	select BR2_EXT_UCLIBC_VERSION_0_9_29
-	select BR2_TOOLCHAIN_ATMEL_AVR32
-	select BR2_GCC_SUPPORTS_SYSROOT
-	help
-	  The gcc-4.2.1 toolchain for the AVR32
-	  * gcc-4.2.1
-	  * binutils-2.17
-	  * uClibc-0.9.29
-	  * gdb-6.4
-	  This will not be able to build qtopia
-	  due to internal errors.
-
-config BR2_TOOLCHAIN_ATMEL_AVR32_4_2_2
-	bool "Use prepatched source for AVR32 gcc-4.2.2 toolchain"
-	depends on BR2_avr32
-	depends on BR2_DEPRECATED
-	select BR2_EXT_GCC_VERSION_4_2_2
-	select BR2_EXT_BINUTILS_VERSION_2_17
-	select BR2_EXT_UCLIBC_VERSION_0_9_29
-	select BR2_TOOLCHAIN_ATMEL_AVR32
-	select BR2_GCC_SUPPORTS_SYSROOT
-	help
-	  The gcc-4.2.2 toolchain for the AVR32
-	  * gcc-4.2.2
-	  * binutils-2.17
-	  * uClibc-0.9.29
-	  * gdb-6.7.1
-	  It is generated from buildroot-avr32-v2.2.0-rc4
-	  in http://www.atmel.no/buildroot
-
-config BR2_TOOLCHAIN_ATMEL_AVR32_4_2_2_REV_2
-	bool "Use prepatched source for AVR32 gcc-4.2.2 toolchain"
-	depends on BR2_avr32
-	select BR2_EXT_GCC_VERSION_4_2_2
-	select BR2_EXT_BINUTILS_VERSION_2_18
-	select BR2_EXT_UCLIBC_VERSION_0_9_30
-	select BR2_TOOLCHAIN_ATMEL_AVR32
-	select BR2_GCC_SUPPORTS_SYSROOT
-	help
-	  The gcc-4.2.2 toolchain for the AVR32
-	  * gcc-4.2.2
-	  * binutils-2.18
-	  * uClibc-0.9.29/30
-	  * gdb-6.7.1
-	  It is generated from buildroot-avr32-v2.3.0-rc1
-	  in http://www.atmel.no/buildroot
-
-config BR2_TOOLCHAIN_ATMEL_AVR32_4_2_3
-	bool "Use prepatched source for AVR32 gcc-4.2.3 toolchain"
-	depends on BR2_avr32
-	depends on BR2_DEPRECATED
-	depends on BR2_TOOLCHAIN_ATMEL_AVR32_4_2_3_ENABLE
-	select BR2_EXT_GCC_VERSION_4_2_3
-	select BR2_EXT_BINUTILS_VERSION_2_17
-	select BR2_EXT_UCLIBC_VERSION_0_9_29
-	select BR2_EXT_UCLIBC_VERSION_0_9_30
-	select BR2_TOOLCHAIN_ATMEL_AVR32
-	help
-	  The gcc-4.2.3 toolchain for the AVR32
-	  * gcc-4.2.3
-	  * binutils-2.17
-	  * uClibc-0.9.29
-	  * gdb-6.7.1
-	  It is generated from buildroot-avr32-v2.2.0-rc4
-	  in http://www.atmel.no/buildroot
-
-config BR2_TOOLCHAIN_UNKNOWNVENDOR
-	bool "Use prepatched source from unknown vendor"
-	depends on !BR2_avr32
-
-endchoice
-
-config BR2_TOOLCHAIN_ATMEL_AVR32_4_2_3_ENABLE
-	bool
-
-config BR2_TOOLCHAIN_ATMEL_AVR32
-	bool
-
-if BR2_TOOLCHAIN_ATMEL_AVR32
-config BR2_VENDOR_SITE
-	string
-	default "$(BR2_ATMEL_MIRROR)" if BR2_TOOLCHAIN_ATMEL_AVR32
-
-config BR2_VENDOR_SUFFIX
-	string
-	default "-avr32" if BR2_TOOLCHAIN_ATMEL_AVR32
-
-config BR2_VENDOR_BINUTILS_RELEASE
-	string
-	default "-2.1.3" if BR2_TOOLCHAIN_ATMEL_AVR32_4_1_2
-	default "-2.1.3" if BR2_TOOLCHAIN_ATMEL_AVR32_4_2_1
-	default "-2.1.5" if BR2_TOOLCHAIN_ATMEL_AVR32_4_2_2
-	default "-1.0.1" if BR2_TOOLCHAIN_ATMEL_AVR32_4_2_2_REV_2
-	default "-2.1.5" if BR2_TOOLCHAIN_ATMEL_AVR32_4_2_3
-
-config BR2_VENDOR_GCC_RELEASE
-	string
-	default "-2.0" if BR2_TOOLCHAIN_ATMEL_AVR32_4_1_2
-	default "-2.1.3" if BR2_TOOLCHAIN_ATMEL_AVR32_4_2_1
-	default "-2.1.5" if BR2_TOOLCHAIN_ATMEL_AVR32_4_2_2
-	default "-1.1.3" if BR2_TOOLCHAIN_ATMEL_AVR32_4_2_2_REV_2
-	default "-2.1.5" if BR2_TOOLCHAIN_ATMEL_AVR32_4_2_3
-
-config BR2_VENDOR_UCLIBC_RELEASE
-	string
-	default "-2.1.3" if BR2_TOOLCHAIN_ATMEL_AVR32_4_1_2
-	default "-2.1.3" if BR2_TOOLCHAIN_ATMEL_AVR32_4_2_1
-	default "-2.1.5" if BR2_TOOLCHAIN_ATMEL_AVR32_4_2_2
-	default "-2.1.5" if BR2_TOOLCHAIN_ATMEL_AVR32_4_2_2_REV_2
-	default "-2.1.5" if BR2_TOOLCHAIN_ATMEL_AVR32_4_2_3
-
-config BR2_VENDOR_GDB_RELEASE
-	string
-	default "-2.1.3" if BR2_GDB_VERSION_6_4
-	default "-2.1.3" if BR2_GDB_VERSION_6_4
-	default "-2.1.5" if BR2_GDB_VERSION_6_7_1
-
-config BR2_VENDOR_PATCH_DIR
-	string
-	default "Atmel/avr32" if BR2_TOOLCHAIN_ATMEL_AVR32
-endif
-if BR2_TOOLCHAIN_UNKNOWNVENDOR
-config BR2_VENDOR_SITE
-	string "vendor site"
-	default "http://vendor.com/somewhere/"
-
-config BR2_VENDOR_SUFFIX
-	string "vendor suffix"
-	default ""
-
-config BR2_VENDOR_BINUTILS_RELEASE
-	string "binutils suffix"
-	default ""
-
-config BR2_VENDOR_GCC_RELEASE
-	string "gcc suffix"
-	default ""
-
-config BR2_VENDOR_UCLIBC_RELEASE
-	string "uClibc suffix"
-	default ""
-
-config BR2_VENDOR_GDB_RELEASE
-	string "gdb suffix"
-	default ""
-
-config BR2_VENDOR_PATCH_DIR
-	string "local accumulated patchdir"
-	default "$(VENDOR)/$(ARCH)/"
-endif
-
-
-endif
-
-
-config	BR2_EXT_GCC_VERSION_4_1_2
-	bool
-	default !BR2_TOOLCHAIN_EXTERNAL_SOURCE
-
-config	BR2_EXT_GCC_VERSION_4_2_1
-	bool
-	default !BR2_TOOLCHAIN_EXTERNAL_SOURCE
-
-config	BR2_EXT_GCC_VERSION_4_2_2
-	bool
-	default !BR2_TOOLCHAIN_EXTERNAL_SOURCE
-
-config	BR2_EXT_GCC_VERSION_4_2_3
-	bool
-	default !BR2_TOOLCHAIN_EXTERNAL_SOURCE
-
-config	BR2_EXT_BINUTILS_VERSION_2_17
-	bool
-	default !BR2_TOOLCHAIN_EXTERNAL_SOURCE
-
-config	BR2_EXT_BINUTILS_VERSION_2_18
-	bool
-	default !BR2_TOOLCHAIN_EXTERNAL_SOURCE
-
-config	BR2_EXT_UCLIBC_VERSION_0_9_28_3
-	bool
-	default !BR2_TOOLCHAIN_EXTERNAL_SOURCE
-
-config	BR2_EXT_UCLIBC_VERSION_0_9_29
-	bool
-	default !BR2_TOOLCHAIN_EXTERNAL_SOURCE
-
-config	BR2_EXT_UCLIBC_VERSION_0_9_30
-	bool
-	default !BR2_TOOLCHAIN_EXTERNAL_SOURCE
-
-config	BR2_EXT_UCLIBC_VERSION_0_9_30_1
-	bool
-	default !BR2_TOOLCHAIN_EXTERNAL_SOURCE
toolchain/Config.in +0 -12
index d66ce1d..ee34e03 100644
@@ -1,8 +1,6 @@
 menu "Toolchain"
 choice
 	prompt "Toolchain type"
-	default BR2_TOOLCHAIN_BUILDROOT if !BR2_avr32
-	default BR2_TOOLCHAIN_EXTERNAL_SOURCE if BR2_avr32
 	help
 	  Select whether to use the toolchain provided by buildroot
 	  or an external toolchain.
@@ -12,22 +10,12 @@ choice
 
 config BR2_TOOLCHAIN_BUILDROOT
 	bool "Buildroot toolchain"
-	depends on !BR2_avr32
 
 config BR2_TOOLCHAIN_EXTERNAL
 	bool "External binary toolchain"
 
-config BR2_TOOLCHAIN_EXTERNAL_SOURCE
-	bool "External source toolchain"
 endchoice
 
-config BR2_TOOLCHAIN_SOURCE
-	bool
-	default y if BR2_TOOLCHAIN_BUILDROOT || BR2_TOOLCHAIN_EXTERNAL_SOURCE
-	default n if BR2_TOOLCHAIN_EXTERNAL
-
-source "target/device/Config.in.toolchain"
-
 source "toolchain/Config.in.1"
 source "toolchain/external-toolchain/Config.in"
 
Signature · 1 line
1.6.3.3
#26 lore raw

PATCH 17/23 gcc: remove external sources patches

In reply to Thomas Petazzoni
---
 .../901-avr32-revert-broken-uclibc-stuff.patch     |   42 ------
 ...-fix-removal-of-redundant-cast-operations.patch |   16 --
 ...conditional-insn-which-clobbers-cc_status.patch |  150 --------------------
 ...use-movh-to-move-immediates-into-register.patch |   31 ----
 4 files changed, 0 insertions(+), 239 deletions(-)
 delete mode 100644 toolchain/gcc/ext_source/Atmel/avr32/4.1.2-avr32-2.0/.empty
 delete mode 100644 toolchain/gcc/ext_source/Atmel/avr32/4.1.2-avr32-2.2/.empty
 delete mode 100644 toolchain/gcc/ext_source/Atmel/avr32/4.2.1-avr32-2.1.3/.empty
 delete mode 100644 toolchain/gcc/ext_source/Atmel/avr32/4.2.2-avr32-1.1.3/.empty
 delete mode 100644 toolchain/gcc/ext_source/Atmel/avr32/4.2.2-avr32-1.1.3/901-avr32-revert-broken-uclibc-stuff.patch
 delete mode 100644 toolchain/gcc/ext_source/Atmel/avr32/4.2.2-avr32-2.1.5/903-avr32-fix-removal-of-redundant-cast-operations.patch
 delete mode 100644 toolchain/gcc/ext_source/Atmel/avr32/4.2.2-avr32-2.1.5/904-avr32-fix-conditional-insn-which-clobbers-cc_status.patch
 delete mode 100644 toolchain/gcc/ext_source/Atmel/avr32/4.2.2-avr32-2.1.5/905-avr32-optimize-movsf2-use-movh-to-move-immediates-into-register.patch
 delete mode 100644 toolchain/gcc/ext_source/Atmel/avr32/4.2.3-avr32-2.1.5/.empty
toolchain/gcc/ext_source/Atmel/avr32/4.1.2-avr32-2.0/.empty deleted +0 -0
deleted file mode 100644
index e69de29..0000000
toolchain/gcc/ext_source/Atmel/avr32/4.1.2-avr32-2.2/.empty deleted +0 -0
deleted file mode 100644
index e69de29..0000000
toolchain/gcc/ext_source/Atmel/avr32/4.2.1-avr32-2.1.3/.empty deleted +0 -0
deleted file mode 100644
index e69de29..0000000
toolchain/gcc/ext_source/Atmel/avr32/4.2.2-avr32-1.1.3/.empty deleted +0 -0
deleted file mode 100644
index e69de29..0000000
toolchain/gcc/ext_source/Atmel/avr32/4.2.2-avr32-1.1.3/901-avr32-revert-broken-uclibc-stuff.patch deleted +0 -42

42 lines not on this page · raw message

toolchain/gcc/ext_source/Atmel/avr32/4.2.2-avr32-2.1.5/903-avr32-fix-removal-of-redundant-cast-operations.patch deleted +0 -16
deleted file mode 100644
index 59ecbff..0000000
@@ -1,16 +0,0 @@
-Index: trunk/gcc/config/avr32/avr32.c
-===================================================================
---- trunk/gcc/config/avr32/avr32.c	(revision 43495)
-+++ trunk/gcc/config/avr32/avr32.c	(revision 43496)
-@@ -6499,6 +6499,11 @@
- 		    break;
- 		}
- 
-+              /* Check if we have a call and the register is used as an argument. */
-+              if (CALL_P (scan)
-+                  && find_reg_fusage (scan, USE, reg) )
-+                break;
-+
- 	      if (!reg_mentioned_p (reg, PATTERN (scan)))
- 		continue;
- 
toolchain/gcc/ext_source/Atmel/avr32/4.2.2-avr32-2.1.5/904-avr32-fix-conditional-insn-which-clobbers-cc_status.patch deleted +0 -150

150 lines not on this page · raw message

toolchain/gcc/ext_source/Atmel/avr32/4.2.2-avr32-2.1.5/905-avr32-optimize-movsf2-use-movh-to-move-immediates-into-register.patch deleted +0 -31
deleted file mode 100644
index 08d972d..0000000
@@ -1,31 +0,0 @@
-Index: gcc-4.2.2/gcc/config/avr32/avr32.md
-===================================================================
---- gcc-4.2.2.orig/gcc/config/avr32/avr32.md	2008-09-19 14:23:34.000000000 +0200
-+++ gcc-4.2.2/gcc/config/avr32/avr32.md	2008-09-19 14:30:18.000000000 +0200
-@@ -803,14 +803,22 @@
- (define_insn "*movsf_internal"
-   [(set (match_operand:SF 0 "nonimmediate_operand"     "=r,r,r,r,m")
- 	(match_operand:SF 1 "general_operand"          "r, G,F,m,r"))]
--  "TARGET_SOFT_FLOAT
--   && (register_operand (operands[0], SFmode)
--       || register_operand (operands[1], SFmode))"
-+  "(register_operand (operands[0], SFmode)
-+    || register_operand (operands[1], SFmode))"
-   {
-     switch (which_alternative) {
-       case 0:
-       case 1: return "mov\t%0, %1";
--      case 2: return "mov\t%0, lo(%1)\;orh\t%0, hi(%1)";
-+      case 2: 
-+       {
-+        HOST_WIDE_INT target_float[2];
-+        real_to_target (target_float, CONST_DOUBLE_REAL_VALUE (operands[1]), SFmode);
-+        if ( TARGET_V2_INSNS 
-+             && avr32_hi16_immediate_operand (GEN_INT (target_float[0]), VOIDmode) )
-+           return "movh\t%0, hi(%1)";
-+        else
-+           return "mov\t%0, lo(%1)\;orh\t%0, hi(%1)";
-+       }
-       case 3:
-         if ( (REG_P(XEXP(operands[1], 0))
-               && REGNO(XEXP(operands[1], 0)) == SP_REGNUM)
toolchain/gcc/ext_source/Atmel/avr32/4.2.3-avr32-2.1.5/.empty deleted +0 -0
deleted file mode 100644
index e69de29..0000000
Signature · 1 line
1.6.3.3
#27 lore raw

PATCH 18/23 gdb: remove external sources patches

In reply to Thomas Petazzoni

---

 0 files changed, 0 insertions(+), 0 deletions(-)
 delete mode 100644 toolchain/gdb/ext_source/Atmel/avr32/6.4-avr32-2.0/.empty
 delete mode 100644 toolchain/gdb/ext_source/Atmel/avr32/6.4-avr32-2.1.3/.empty
 delete mode 100644 toolchain/gdb/ext_source/Atmel/avr32/6.7.1-avr32-2.1.5/.empty
toolchain/gdb/ext_source/Atmel/avr32/6.4-avr32-2.0/.empty deleted +0 -0
deleted file mode 100644
index e69de29..0000000
toolchain/gdb/ext_source/Atmel/avr32/6.4-avr32-2.1.3/.empty deleted +0 -0
deleted file mode 100644
index e69de29..0000000
toolchain/gdb/ext_source/Atmel/avr32/6.7.1-avr32-2.1.5/.empty deleted +0 -0
deleted file mode 100644
index e69de29..0000000
Signature · 1 line
1.6.3.3
#28 lore raw

PATCH 19/23 uclibc: remove external sources patches

In reply to Thomas Petazzoni
---
 .../uClibc-0.9.28.3-avr32-2.0-001-libext.patch     |   13 ----
 ...libc-0.9.28.3-avr32-2.0-002-rm-whitespace.patch |   77 --------------------
 ...uClibc-0.9.30-avr32-2.1.5-unifdef-getline.patch |   29 --------
 3 files changed, 0 insertions(+), 119 deletions(-)
 delete mode 100644 toolchain/uClibc/ext_source/Atmel/avr32/0.9.28.3-avr32-2.0/uClibc-0.9.28.3-avr32-2.0-001-libext.patch
 delete mode 100644 toolchain/uClibc/ext_source/Atmel/avr32/0.9.28.3-avr32-2.0/uClibc-0.9.28.3-avr32-2.0-002-rm-whitespace.patch
 delete mode 100644 toolchain/uClibc/ext_source/Atmel/avr32/0.9.29-avr32-2.1.3/.empty
 delete mode 100644 toolchain/uClibc/ext_source/Atmel/avr32/0.9.29-avr32-2.1.5/.empty
 delete mode 100644 toolchain/uClibc/ext_source/Atmel/avr32/0.9.30-avr32-2.1.5/.empty
 delete mode 100644 toolchain/uClibc/ext_source/Atmel/avr32/0.9.30-avr32-2.1.5/uClibc-0.9.30-avr32-2.1.5-unifdef-getline.patch
toolchain/uClibc/ext_source/Atmel/avr32/0.9.28.3-avr32-2.0/uClibc-0.9.28.3-avr32-2.0-001-libext.patch deleted +0 -13
deleted file mode 100644
index e1740a7..0000000
@@ -1,13 +0,0 @@
-diff -urN uClibc-0.9.28.3-0rig/Makefile uClibc-0.9.28.3/Makefile
---- uClibc-0.9.28.3-0rig/Makefile	2007-07-29 08:20:33.000000000 +0200
-+++ uClibc-0.9.28.3/Makefile	2007-08-20 07:02:53.000000000 +0200
-@@ -157,7 +157,8 @@
- install_dev:
- 	$(INSTALL) -d $(PREFIX)$(DEVEL_PREFIX)lib
- 	$(INSTALL) -d $(PREFIX)$(DEVEL_PREFIX)include
--	-$(INSTALL) -m 644 lib/*.[ao] $(PREFIX)$(DEVEL_PREFIX)lib/
-+	-$(INSTALL) -m 644 lib/*.a $(PREFIX)$(DEVEL_PREFIX)lib/
-+	-$(INSTALL) -m 644 lib/*.so* $(PREFIX)$(DEVEL_PREFIX)lib/
- 	if [ "$(KERNEL_SOURCE)" = "$(DEVEL_PREFIX)" ] ; then \
- 		extra_exclude="--exclude include/linux --exclude include/asm'*'" ; \
- 	else \
toolchain/uClibc/ext_source/Atmel/avr32/0.9.28.3-avr32-2.0/uClibc-0.9.28.3-avr32-2.0-002-rm-whitespace.patch deleted +0 -77

77 lines not on this page · raw message

toolchain/uClibc/ext_source/Atmel/avr32/0.9.29-avr32-2.1.3/.empty deleted +0 -0
deleted file mode 100644
index e69de29..0000000
toolchain/uClibc/ext_source/Atmel/avr32/0.9.29-avr32-2.1.5/.empty deleted +0 -0
deleted file mode 100644
index e69de29..0000000
toolchain/uClibc/ext_source/Atmel/avr32/0.9.30-avr32-2.1.5/.empty deleted +0 -0
deleted file mode 100644
index e69de29..0000000
toolchain/uClibc/ext_source/Atmel/avr32/0.9.30-avr32-2.1.5/uClibc-0.9.30-avr32-2.1.5-unifdef-getline.patch deleted +0 -29
deleted file mode 100644
index eb88884..0000000
@@ -1,29 +0,0 @@
---- uClibc-0.9.30.1.orig/extra/scripts/unifdef.c
-+++ uClibc-0.9.30.1/extra/scripts/unifdef.c
-@@ -206,7 +206,7 @@ static void             done(void);
- static void             error(const char *);
- static int              findsym(const char *);
- static void             flushline(bool);
--static Linetype         getline(void);
-+static Linetype         get_line(void);
- static Linetype         ifeval(const char **);
- static void             ignoreoff(void);
- static void             ignoreon(void);
-@@ -512,7 +512,7 @@ process(void)
- 
- 	for (;;) {
- 		linenum++;
--		lineval = getline();
-+		lineval = get_line();
- 		trans_table[ifstate[depth]][lineval]();
- 		debug("process %s -> %s depth %d",
- 		    linetype_name[lineval],
-@@ -526,7 +526,7 @@ process(void)
-  * help from skipcomment().
-  */
- static Linetype
--getline(void)
-+get_line(void)
- {
- 	const char *cp;
- 	int cursym;
Signature · 1 line
1.6.3.3
#29 lore raw

PATCH 20/23 binutils: remove external source patches

In reply to Thomas Petazzoni

---

 0 files changed, 0 insertions(+), 0 deletions(-)
 delete mode 100644 toolchain/binutils/ext_source/Atmel/avr32/2.17-avr32-2.0/.empty
 delete mode 100644 toolchain/binutils/ext_source/Atmel/avr32/2.17-avr32-2.1.3/.empty
 delete mode 100644 toolchain/binutils/ext_source/Atmel/avr32/2.17-avr32-2.1.5/.empty
 delete mode 100644 toolchain/binutils/ext_source/Atmel/avr32/2.18-avr32-1.0.1/.empty
toolchain/binutils/ext_source/Atmel/avr32/2.17-avr32-2.0/.empty deleted +0 -0
deleted file mode 100644
index e69de29..0000000
toolchain/binutils/ext_source/Atmel/avr32/2.17-avr32-2.1.3/.empty deleted +0 -0
deleted file mode 100644
index e69de29..0000000
toolchain/binutils/ext_source/Atmel/avr32/2.17-avr32-2.1.5/.empty deleted +0 -0
deleted file mode 100644
index e69de29..0000000
toolchain/binutils/ext_source/Atmel/avr32/2.18-avr32-1.0.1/.empty deleted +0 -0
deleted file mode 100644
index e69de29..0000000
Signature · 1 line
1.6.3.3
#30 lore raw

PATCH 21/23 Update non-AVR32 defconfigs

In reply to Thomas Petazzoni
---
 configs/arm_toolchain_defconfig           |   11 -----------
 configs/at91rm9200df_defconfig            |   11 -----------
 configs/at91rm9200df_ext_bare_defconfig   |   11 -----------
 configs/at91rm9200df_ext_defconfig        |   11 -----------
 configs/at91sam9260dfc_defconfig          |   11 -----------
 configs/at91sam9260dfc_ext_bare_defconfig |   11 -----------
 configs/at91sam9260dfc_ext_defconfig      |   11 -----------
 configs/at91sam9261ek_defconfig           |   11 -----------
 configs/at91sam9261ek_ext_bare_defconfig  |   11 -----------
 configs/at91sam9261ek_ext_defconfig       |   11 -----------
 configs/at91sam9263ek_defconfig           |   11 -----------
 configs/at91sam9263ek_ext_bare_defconfig  |   11 -----------
 configs/at91sam9263ek_ext_defconfig       |   11 -----------
 configs/at91sam9g20dfc_defconfig          |   11 -----------
 configs/at91sam9g20dfc_ext_bare_defconfig |   11 -----------
 configs/at91sam9g20dfc_ext_defconfig      |   11 -----------
 configs/i386_defconfig                    |   12 ------------
 configs/i686_defconfig                    |   12 ------------
 configs/integrator926_defconfig           |   11 -----------
 configs/integrator926_huge_defconfig      |   11 -----------
 target/xtensa/defconfig                   |    3 +--
 21 files changed, 1 insertions(+), 224 deletions(-)
configs/arm_toolchain_defconfig +0 -11
index 6c903d0..58d0174 100644
@@ -190,17 +190,6 @@ BR2_UPDATE_CONFIG=y
 #
 BR2_TOOLCHAIN_BUILDROOT=y
 # BR2_TOOLCHAIN_EXTERNAL is not set
-# BR2_TOOLCHAIN_EXTERNAL_SOURCE is not set
-BR2_TOOLCHAIN_SOURCE=y
-BR2_EXT_GCC_VERSION_4_1_2=y
-BR2_EXT_GCC_VERSION_4_2_1=y
-BR2_EXT_GCC_VERSION_4_2_2=y
-BR2_EXT_GCC_VERSION_4_2_3=y
-BR2_EXT_BINUTILS_VERSION_2_17=y
-BR2_EXT_BINUTILS_VERSION_2_18=y
-BR2_EXT_UCLIBC_VERSION_0_9_28_3=y
-BR2_EXT_UCLIBC_VERSION_0_9_29=y
-BR2_EXT_UCLIBC_VERSION_0_9_30=y
 
 #
 # Kernel Header Options
configs/at91rm9200df_defconfig +0 -11
index aba4d0d..a500d21 100644
@@ -195,17 +195,6 @@ BR2_UPDATE_CONFIG=y
 #
 BR2_TOOLCHAIN_BUILDROOT=y
 # BR2_TOOLCHAIN_EXTERNAL is not set
-# BR2_TOOLCHAIN_EXTERNAL_SOURCE is not set
-BR2_TOOLCHAIN_SOURCE=y
-BR2_EXT_GCC_VERSION_4_1_2=y
-BR2_EXT_GCC_VERSION_4_2_1=y
-BR2_EXT_GCC_VERSION_4_2_2=y
-BR2_EXT_GCC_VERSION_4_2_3=y
-BR2_EXT_BINUTILS_VERSION_2_17=y
-BR2_EXT_BINUTILS_VERSION_2_18=y
-BR2_EXT_UCLIBC_VERSION_0_9_28_3=y
-BR2_EXT_UCLIBC_VERSION_0_9_29=y
-BR2_EXT_UCLIBC_VERSION_0_9_30=y
 
 #
 # Kernel Header Options
configs/at91rm9200df_ext_bare_defconfig +0 -11
index 463f556..07412aa 100644
@@ -190,19 +190,8 @@ BR2_UPDATE_CONFIG=y
 #
 # BR2_TOOLCHAIN_BUILDROOT is not set
 BR2_TOOLCHAIN_EXTERNAL=y
-# BR2_TOOLCHAIN_EXTERNAL_SOURCE is not set
-# BR2_TOOLCHAIN_SOURCE is not set
 BR2_TOOLCHAIN_EXTERNAL_PATH="$(GCCROOT)"
 BR2_TOOLCHAIN_EXTERNAL_PREFIX="$(ARCH)-linux"
-BR2_EXT_GCC_VERSION_4_1_2=y
-BR2_EXT_GCC_VERSION_4_2_1=y
-BR2_EXT_GCC_VERSION_4_2_2=y
-BR2_EXT_GCC_VERSION_4_2_3=y
-BR2_EXT_BINUTILS_VERSION_2_17=y
-BR2_EXT_BINUTILS_VERSION_2_18=y
-BR2_EXT_UCLIBC_VERSION_0_9_28_3=y
-BR2_EXT_UCLIBC_VERSION_0_9_29=y
-BR2_EXT_UCLIBC_VERSION_0_9_30=y
 BR2_TOOLCHAIN_EXTERNAL_LIB_C="libc.so.0"
 BR2_TOOLCHAIN_EXTERNAL_LIBS="ld-uClibc.so.0 libcrypt.so.0 libdl.so.0 libgcc_s.so libm.so.0 libnsl.so.0 libpthread.so.0 libresolv.so.0 librt.so.0 libutil.so.0"
 BR2_TOOLCHAIN_EXTERNAL_STRIP=y
configs/at91rm9200df_ext_defconfig +0 -11
index 4c8d50d..e16b375 100644
@@ -201,19 +201,8 @@ BR2_UPDATE_CONFIG=y
 #
 # BR2_TOOLCHAIN_BUILDROOT is not set
 BR2_TOOLCHAIN_EXTERNAL=y
-# BR2_TOOLCHAIN_EXTERNAL_SOURCE is not set
-# BR2_TOOLCHAIN_SOURCE is not set
 BR2_TOOLCHAIN_EXTERNAL_PATH="$(GCCROOT)"
 BR2_TOOLCHAIN_EXTERNAL_PREFIX="$(ARCH)-linux"
-BR2_EXT_GCC_VERSION_4_1_2=y
-BR2_EXT_GCC_VERSION_4_2_1=y
-BR2_EXT_GCC_VERSION_4_2_2=y
-BR2_EXT_GCC_VERSION_4_2_3=y
-BR2_EXT_BINUTILS_VERSION_2_17=y
-BR2_EXT_BINUTILS_VERSION_2_18=y
-BR2_EXT_UCLIBC_VERSION_0_9_28_3=y
-BR2_EXT_UCLIBC_VERSION_0_9_29=y
-BR2_EXT_UCLIBC_VERSION_0_9_30=y
 BR2_TOOLCHAIN_EXTERNAL_LIB_C="libc.so.0"
 BR2_TOOLCHAIN_EXTERNAL_LIBS="ld-uClibc.so.0 libcrypt.so.0 libdl.so.0 libgcc_s.so libm.so.0 libnsl.so.0 libpthread.so.0 libresolv.so.0 librt.so.0 libutil.so.0"
 BR2_TOOLCHAIN_EXTERNAL_STRIP=y
configs/at91sam9260dfc_defconfig +0 -11
index 056a661..35eebb5 100644
@@ -208,17 +208,6 @@ BR2_UPDATE_CONFIG=y
 #
 BR2_TOOLCHAIN_BUILDROOT=y
 # BR2_TOOLCHAIN_EXTERNAL is not set
-# BR2_TOOLCHAIN_EXTERNAL_SOURCE is not set
-BR2_TOOLCHAIN_SOURCE=y
-BR2_EXT_GCC_VERSION_4_1_2=y
-BR2_EXT_GCC_VERSION_4_2_1=y
-BR2_EXT_GCC_VERSION_4_2_2=y
-BR2_EXT_GCC_VERSION_4_2_3=y
-BR2_EXT_BINUTILS_VERSION_2_17=y
-BR2_EXT_BINUTILS_VERSION_2_18=y
-BR2_EXT_UCLIBC_VERSION_0_9_28_3=y
-BR2_EXT_UCLIBC_VERSION_0_9_29=y
-BR2_EXT_UCLIBC_VERSION_0_9_30=y
 
 #
 # Kernel Header Options
configs/at91sam9260dfc_ext_bare_defconfig +0 -11
index 1048d9c..fbd444b 100644
@@ -190,17 +190,6 @@ BR2_UPDATE_CONFIG=y
 #
 # BR2_TOOLCHAIN_BUILDROOT is not set
 BR2_TOOLCHAIN_EXTERNAL=y
-# BR2_TOOLCHAIN_EXTERNAL_SOURCE is not set
-# BR2_TOOLCHAIN_SOURCE is not set
-BR2_EXT_GCC_VERSION_4_1_2=y
-BR2_EXT_GCC_VERSION_4_2_1=y
-BR2_EXT_GCC_VERSION_4_2_2=y
-BR2_EXT_GCC_VERSION_4_2_3=y
-BR2_EXT_BINUTILS_VERSION_2_17=y
-BR2_EXT_BINUTILS_VERSION_2_18=y
-BR2_EXT_UCLIBC_VERSION_0_9_28_3=y
-BR2_EXT_UCLIBC_VERSION_0_9_29=y
-BR2_EXT_UCLIBC_VERSION_0_9_30=y
 BR2_TOOLCHAIN_EXTERNAL_LIB_C="libc.so.0"
 BR2_TOOLCHAIN_EXTERNAL_LIBS="ld-uClibc.so.0 libcrypt.so.0 libdl.so.0 libgcc_s.so libm.so.0 libnsl.so.0 libpthread.so.0 libresolv.so.0 librt.so.0 libutil.so.0"
 BR2_TOOLCHAIN_EXTERNAL_STRIP=y
configs/at91sam9260dfc_ext_defconfig +0 -11
index 3436849..ab63f1e 100644
@@ -209,19 +209,8 @@ BR2_UPDATE_CONFIG=y
 #
 # BR2_TOOLCHAIN_BUILDROOT is not set
 BR2_TOOLCHAIN_EXTERNAL=y
-# BR2_TOOLCHAIN_EXTERNAL_SOURCE is not set
-# BR2_TOOLCHAIN_SOURCE is not set
 BR2_TOOLCHAIN_EXTERNAL_PATH="$(GCCROOT)"
 BR2_TOOLCHAIN_EXTERNAL_PREFIX="$(ARCH)-linux"
-BR2_EXT_GCC_VERSION_4_1_2=y
-BR2_EXT_GCC_VERSION_4_2_1=y
-BR2_EXT_GCC_VERSION_4_2_2=y
-BR2_EXT_GCC_VERSION_4_2_3=y
-BR2_EXT_BINUTILS_VERSION_2_17=y
-BR2_EXT_BINUTILS_VERSION_2_18=y
-BR2_EXT_UCLIBC_VERSION_0_9_28_3=y
-BR2_EXT_UCLIBC_VERSION_0_9_29=y
-BR2_EXT_UCLIBC_VERSION_0_9_30=y
 BR2_TOOLCHAIN_EXTERNAL_LIB_C="libc.so.0"
 BR2_TOOLCHAIN_EXTERNAL_LIBS="ld-uClibc.so.0 libcrypt.so.0 libdl.so.0 libgcc_s.so libm.so.0 libnsl.so.0 libpthread.so.0 libresolv.so.0 librt.so.0 libutil.so.0"
 BR2_TOOLCHAIN_EXTERNAL_STRIP=y
configs/at91sam9261ek_defconfig +0 -11
index 2af89ac..72718a5 100644
@@ -211,17 +211,6 @@ BR2_UPDATE_CONFIG=y
 #
 BR2_TOOLCHAIN_BUILDROOT=y
 # BR2_TOOLCHAIN_EXTERNAL is not set
-# BR2_TOOLCHAIN_EXTERNAL_SOURCE is not set
-BR2_TOOLCHAIN_SOURCE=y
-BR2_EXT_GCC_VERSION_4_1_2=y
-BR2_EXT_GCC_VERSION_4_2_1=y
-BR2_EXT_GCC_VERSION_4_2_2=y
-BR2_EXT_GCC_VERSION_4_2_3=y
-BR2_EXT_BINUTILS_VERSION_2_17=y
-BR2_EXT_BINUTILS_VERSION_2_18=y
-BR2_EXT_UCLIBC_VERSION_0_9_28_3=y
-BR2_EXT_UCLIBC_VERSION_0_9_29=y
-BR2_EXT_UCLIBC_VERSION_0_9_30=y
 
 #
 # Kernel Header Options
configs/at91sam9261ek_ext_bare_defconfig +0 -11
index 7c11189..c147e54 100644
@@ -193,19 +193,8 @@ BR2_UPDATE_CONFIG=y
 #
 # BR2_TOOLCHAIN_BUILDROOT is not set
 BR2_TOOLCHAIN_EXTERNAL=y
-# BR2_TOOLCHAIN_EXTERNAL_SOURCE is not set
-# BR2_TOOLCHAIN_SOURCE is not set
 BR2_TOOLCHAIN_EXTERNAL_PATH="$(GCCROOT)"
 BR2_TOOLCHAIN_EXTERNAL_PREFIX="$(ARCH)-linux"
-BR2_EXT_GCC_VERSION_4_1_2=y
-BR2_EXT_GCC_VERSION_4_2_1=y
-BR2_EXT_GCC_VERSION_4_2_2=y
-BR2_EXT_GCC_VERSION_4_2_3=y
-BR2_EXT_BINUTILS_VERSION_2_17=y
-BR2_EXT_BINUTILS_VERSION_2_18=y
-BR2_EXT_UCLIBC_VERSION_0_9_28_3=y
-BR2_EXT_UCLIBC_VERSION_0_9_29=y
-BR2_EXT_UCLIBC_VERSION_0_9_30=y
 BR2_TOOLCHAIN_EXTERNAL_LIB_C="libc.so.0"
 BR2_TOOLCHAIN_EXTERNAL_LIBS="ld-uClibc.so.0 libcrypt.so.0 libdl.so.0 libgcc_s.so libm.so.0 libnsl.so.0 libpthread.so.0 libresolv.so.0 librt.so.0 libutil.so.0"
 BR2_TOOLCHAIN_EXTERNAL_STRIP=y
configs/at91sam9261ek_ext_defconfig +0 -11
index e233b94..86595e5 100644
@@ -212,19 +212,8 @@ BR2_UPDATE_CONFIG=y
 #
 # BR2_TOOLCHAIN_BUILDROOT is not set
 BR2_TOOLCHAIN_EXTERNAL=y
-# BR2_TOOLCHAIN_EXTERNAL_SOURCE is not set
-# BR2_TOOLCHAIN_SOURCE is not set
 BR2_TOOLCHAIN_EXTERNAL_PATH="$(GCCROOT)"
 BR2_TOOLCHAIN_EXTERNAL_PREFIX="$(ARCH)-linux"
-BR2_EXT_GCC_VERSION_4_1_2=y
-BR2_EXT_GCC_VERSION_4_2_1=y
-BR2_EXT_GCC_VERSION_4_2_2=y
-BR2_EXT_GCC_VERSION_4_2_3=y
-BR2_EXT_BINUTILS_VERSION_2_17=y
-BR2_EXT_BINUTILS_VERSION_2_18=y
-BR2_EXT_UCLIBC_VERSION_0_9_28_3=y
-BR2_EXT_UCLIBC_VERSION_0_9_29=y
-BR2_EXT_UCLIBC_VERSION_0_9_30=y
 # BR2_KERNEL_HEADERS_2_4_31 is not set
 # BR2_KERNEL_HEADERS_2_6_20_4 is not set
 # BR2_KERNEL_HEADERS_2_6_20 is not set
configs/at91sam9263ek_defconfig +0 -11
index d7645d9..4b08df3 100644
@@ -209,17 +209,6 @@ BR2_UPDATE_CONFIG=y
 #
 BR2_TOOLCHAIN_BUILDROOT=y
 # BR2_TOOLCHAIN_EXTERNAL is not set
-# BR2_TOOLCHAIN_EXTERNAL_SOURCE is not set
-BR2_TOOLCHAIN_SOURCE=y
-BR2_EXT_GCC_VERSION_4_1_2=y
-BR2_EXT_GCC_VERSION_4_2_1=y
-BR2_EXT_GCC_VERSION_4_2_2=y
-BR2_EXT_GCC_VERSION_4_2_3=y
-BR2_EXT_BINUTILS_VERSION_2_17=y
-BR2_EXT_BINUTILS_VERSION_2_18=y
-BR2_EXT_UCLIBC_VERSION_0_9_28_3=y
-BR2_EXT_UCLIBC_VERSION_0_9_29=y
-BR2_EXT_UCLIBC_VERSION_0_9_30=y
 
 #
 # Kernel Header Options
configs/at91sam9263ek_ext_bare_defconfig +0 -11
index d31b8de..4d3821f 100644
@@ -192,19 +192,8 @@ BR2_UPDATE_CONFIG=y
 #
 # BR2_TOOLCHAIN_BUILDROOT is not set
 BR2_TOOLCHAIN_EXTERNAL=y
-# BR2_TOOLCHAIN_EXTERNAL_SOURCE is not set
-# BR2_TOOLCHAIN_SOURCE is not set
 BR2_TOOLCHAIN_EXTERNAL_PATH="$(GCCROOT)"
 BR2_TOOLCHAIN_EXTERNAL_PREFIX="$(ARCH)-linux"
-BR2_EXT_GCC_VERSION_4_1_2=y
-BR2_EXT_GCC_VERSION_4_2_1=y
-BR2_EXT_GCC_VERSION_4_2_2=y
-BR2_EXT_GCC_VERSION_4_2_3=y
-BR2_EXT_BINUTILS_VERSION_2_17=y
-BR2_EXT_BINUTILS_VERSION_2_18=y
-BR2_EXT_UCLIBC_VERSION_0_9_28_3=y
-BR2_EXT_UCLIBC_VERSION_0_9_29=y
-BR2_EXT_UCLIBC_VERSION_0_9_30=y
 BR2_TOOLCHAIN_EXTERNAL_LIB_C="libc.so.0"
 BR2_TOOLCHAIN_EXTERNAL_LIBS="ld-uClibc.so.0 libcrypt.so.0 libdl.so.0 libgcc_s.so libm.so.0 libnsl.so.0 libpthread.so.0 libresolv.so.0 librt.so.0 libutil.so.0"
 BR2_TOOLCHAIN_EXTERNAL_STRIP=y
configs/at91sam9263ek_ext_defconfig +0 -11
index bda2149..a929c44 100644
@@ -211,19 +211,8 @@ BR2_UPDATE_CONFIG=y
 #
 # BR2_TOOLCHAIN_BUILDROOT is not set
 BR2_TOOLCHAIN_EXTERNAL=y
-# BR2_TOOLCHAIN_EXTERNAL_SOURCE is not set
-# BR2_TOOLCHAIN_SOURCE is not set
 BR2_TOOLCHAIN_EXTERNAL_PATH="$(GCCROOT)"
 BR2_TOOLCHAIN_EXTERNAL_PREFIX="$(ARCH)-linux"
-BR2_EXT_GCC_VERSION_4_1_2=y
-BR2_EXT_GCC_VERSION_4_2_1=y
-BR2_EXT_GCC_VERSION_4_2_2=y
-BR2_EXT_GCC_VERSION_4_2_3=y
-BR2_EXT_BINUTILS_VERSION_2_17=y
-BR2_EXT_BINUTILS_VERSION_2_18=y
-BR2_EXT_UCLIBC_VERSION_0_9_28_3=y
-BR2_EXT_UCLIBC_VERSION_0_9_29=y
-BR2_EXT_UCLIBC_VERSION_0_9_30=y
 BR2_TOOLCHAIN_EXTERNAL_LIB_C="libc.so.0"
 BR2_TOOLCHAIN_EXTERNAL_LIBS="ld-uClibc.so.0 libcrypt.so.0 libdl.so.0 libgcc_s.so libm.so.0 libnsl.so.0 libpthread.so.0 libresolv.so.0 librt.so.0 libutil.so.0"
 BR2_TOOLCHAIN_EXTERNAL_STRIP=y
configs/at91sam9g20dfc_defconfig +0 -11
index ed271d8..d8fb95e 100644
@@ -209,17 +209,6 @@ BR2_UPDATE_CONFIG=y
 #
 BR2_TOOLCHAIN_BUILDROOT=y
 # BR2_TOOLCHAIN_EXTERNAL is not set
-# BR2_TOOLCHAIN_EXTERNAL_SOURCE is not set
-BR2_TOOLCHAIN_SOURCE=y
-BR2_EXT_GCC_VERSION_4_1_2=y
-BR2_EXT_GCC_VERSION_4_2_1=y
-BR2_EXT_GCC_VERSION_4_2_2=y
-BR2_EXT_GCC_VERSION_4_2_3=y
-BR2_EXT_BINUTILS_VERSION_2_17=y
-BR2_EXT_BINUTILS_VERSION_2_18=y
-BR2_EXT_UCLIBC_VERSION_0_9_28_3=y
-BR2_EXT_UCLIBC_VERSION_0_9_29=y
-BR2_EXT_UCLIBC_VERSION_0_9_30=y
 
 #
 # Kernel Header Options
configs/at91sam9g20dfc_ext_bare_defconfig +0 -11
index 0b778eb..6145d7a 100644
@@ -190,19 +190,8 @@ BR2_UPDATE_CONFIG=y
 #
 # BR2_TOOLCHAIN_BUILDROOT is not set
 BR2_TOOLCHAIN_EXTERNAL=y
-# BR2_TOOLCHAIN_EXTERNAL_SOURCE is not set
-# BR2_TOOLCHAIN_SOURCE is not set
 BR2_TOOLCHAIN_EXTERNAL_PATH="$(GCCROOT)"
 BR2_TOOLCHAIN_EXTERNAL_PREFIX="$(ARCH)-linux"
-BR2_EXT_GCC_VERSION_4_1_2=y
-BR2_EXT_GCC_VERSION_4_2_1=y
-BR2_EXT_GCC_VERSION_4_2_2=y
-BR2_EXT_GCC_VERSION_4_2_3=y
-BR2_EXT_BINUTILS_VERSION_2_17=y
-BR2_EXT_BINUTILS_VERSION_2_18=y
-BR2_EXT_UCLIBC_VERSION_0_9_28_3=y
-BR2_EXT_UCLIBC_VERSION_0_9_29=y
-BR2_EXT_UCLIBC_VERSION_0_9_30=y
 BR2_TOOLCHAIN_EXTERNAL_LIB_C="libc.so.0"
 BR2_TOOLCHAIN_EXTERNAL_LIBS="ld-uClibc.so.0 libcrypt.so.0 libdl.so.0 libgcc_s.so libm.so.0 libnsl.so.0 libpthread.so.0 libresolv.so.0 librt.so.0 libutil.so.0"
 BR2_TOOLCHAIN_EXTERNAL_STRIP=y
configs/at91sam9g20dfc_ext_defconfig +0 -11
index 5f5dbe2..ffd28d0 100644
@@ -209,19 +209,8 @@ BR2_UPDATE_CONFIG=y
 #
 # BR2_TOOLCHAIN_BUILDROOT is not set
 BR2_TOOLCHAIN_EXTERNAL=y
-# BR2_TOOLCHAIN_EXTERNAL_SOURCE is not set
-# BR2_TOOLCHAIN_SOURCE is not set
 BR2_TOOLCHAIN_EXTERNAL_PATH="$(GCCROOT)"
 BR2_TOOLCHAIN_EXTERNAL_PREFIX="$(ARCH)-linux"
-BR2_EXT_GCC_VERSION_4_1_2=y
-BR2_EXT_GCC_VERSION_4_2_1=y
-BR2_EXT_GCC_VERSION_4_2_2=y
-BR2_EXT_GCC_VERSION_4_2_3=y
-BR2_EXT_BINUTILS_VERSION_2_17=y
-BR2_EXT_BINUTILS_VERSION_2_18=y
-BR2_EXT_UCLIBC_VERSION_0_9_28_3=y
-BR2_EXT_UCLIBC_VERSION_0_9_29=y
-BR2_EXT_UCLIBC_VERSION_0_9_30=y
 BR2_TOOLCHAIN_EXTERNAL_LIB_C="libc.so.0"
 BR2_TOOLCHAIN_EXTERNAL_LIBS="ld-uClibc.so.0 libcrypt.so.0 libdl.so.0 libgcc_s.so libm.so.0 libnsl.so.0 libpthread.so.0 libresolv.so.0 librt.so.0 libutil.so.0"
 BR2_TOOLCHAIN_EXTERNAL_STRIP=y
configs/i386_defconfig +0 -12
index 0dec12e..16d8f79 100644
@@ -141,18 +141,6 @@ BR2_UPDATE_CONFIG=y
 #
 BR2_TOOLCHAIN_BUILDROOT=y
 # BR2_TOOLCHAIN_EXTERNAL is not set
-# BR2_TOOLCHAIN_EXTERNAL_SOURCE is not set
-BR2_TOOLCHAIN_SOURCE=y
-BR2_EXT_GCC_VERSION_4_1_2=y
-BR2_EXT_GCC_VERSION_4_2_1=y
-BR2_EXT_GCC_VERSION_4_2_2=y
-BR2_EXT_GCC_VERSION_4_2_3=y
-BR2_EXT_BINUTILS_VERSION_2_17=y
-BR2_EXT_BINUTILS_VERSION_2_18=y
-BR2_EXT_UCLIBC_VERSION_0_9_28_3=y
-BR2_EXT_UCLIBC_VERSION_0_9_29=y
-BR2_EXT_UCLIBC_VERSION_0_9_30=y
-BR2_EXT_UCLIBC_VERSION_0_9_30_1=y
 
 #
 # Kernel Header Options
configs/i686_defconfig +0 -12
index 90dce72..17b39c3 100644
@@ -141,18 +141,6 @@ BR2_UPDATE_CONFIG=y
 #
 BR2_TOOLCHAIN_BUILDROOT=y
 # BR2_TOOLCHAIN_EXTERNAL is not set
-# BR2_TOOLCHAIN_EXTERNAL_SOURCE is not set
-BR2_TOOLCHAIN_SOURCE=y
-BR2_EXT_GCC_VERSION_4_1_2=y
-BR2_EXT_GCC_VERSION_4_2_1=y
-BR2_EXT_GCC_VERSION_4_2_2=y
-BR2_EXT_GCC_VERSION_4_2_3=y
-BR2_EXT_BINUTILS_VERSION_2_17=y
-BR2_EXT_BINUTILS_VERSION_2_18=y
-BR2_EXT_UCLIBC_VERSION_0_9_28_3=y
-BR2_EXT_UCLIBC_VERSION_0_9_29=y
-BR2_EXT_UCLIBC_VERSION_0_9_30=y
-BR2_EXT_UCLIBC_VERSION_0_9_30_1=y
 
 #
 # Kernel Header Options
configs/integrator926_defconfig +0 -11
index 68b0ff6..57a81d2 100644
@@ -139,17 +139,6 @@ BR2_UPDATE_CONFIG=y
 #
 BR2_TOOLCHAIN_BUILDROOT=y
 # BR2_TOOLCHAIN_EXTERNAL is not set
-# BR2_TOOLCHAIN_EXTERNAL_SOURCE is not set
-BR2_TOOLCHAIN_SOURCE=y
-BR2_EXT_GCC_VERSION_4_1_2=y
-BR2_EXT_GCC_VERSION_4_2_1=y
-BR2_EXT_GCC_VERSION_4_2_2=y
-BR2_EXT_GCC_VERSION_4_2_3=y
-BR2_EXT_BINUTILS_VERSION_2_17=y
-BR2_EXT_BINUTILS_VERSION_2_18=y
-BR2_EXT_UCLIBC_VERSION_0_9_28_3=y
-BR2_EXT_UCLIBC_VERSION_0_9_29=y
-BR2_EXT_UCLIBC_VERSION_0_9_30=y
 
 #
 # Kernel Header Options
configs/integrator926_huge_defconfig +0 -11
index 69f16de..b676f54 100644
@@ -139,17 +139,6 @@ BR2_UPDATE_CONFIG=y
 #
 BR2_TOOLCHAIN_BUILDROOT=y
 # BR2_TOOLCHAIN_EXTERNAL is not set
-# BR2_TOOLCHAIN_EXTERNAL_SOURCE is not set
-BR2_TOOLCHAIN_SOURCE=y
-BR2_EXT_GCC_VERSION_4_1_2=y
-BR2_EXT_GCC_VERSION_4_2_1=y
-BR2_EXT_GCC_VERSION_4_2_2=y
-BR2_EXT_GCC_VERSION_4_2_3=y
-BR2_EXT_BINUTILS_VERSION_2_17=y
-BR2_EXT_BINUTILS_VERSION_2_18=y
-BR2_EXT_UCLIBC_VERSION_0_9_28_3=y
-BR2_EXT_UCLIBC_VERSION_0_9_29=y
-BR2_EXT_UCLIBC_VERSION_0_9_30=y
 
 #
 # Kernel Header Options
target/xtensa/defconfig +1 -2
index f7a5741..07ab10b 100644
@@ -85,9 +85,8 @@ BR2_TARGET_OPTIMIZATION="-Os -pipe"
 BR2_CROSS_TOOLCHAIN_TARGET_UTILS=y
 
 
-## These two added by Maxim
+## Added by Maxim
 BR2_TOOLCHAIN_BUILDROOT=y
-BR2_TOOLCHAIN_SOURCE=y
 
 
 # BR2_PACKAGE_BUSYBOX_SHOW_OTHERS is not set
Signature · 1 line
1.6.3.3
#31 lore raw

PATCH 22/23 update AVR32 defconfigs

In reply to Thomas Petazzoni
---
 configs/atngw100-base_defconfig |   44 ++++++++-------------------------
 configs/atngw100_defconfig      |   50 +++++++++++----------------------------
 configs/atstk1005_defconfig     |   47 ++++++++++--------------------------
 configs/atstk100x_defconfig     |   50 +++++++++++----------------------------
 configs/kb9202_defconfig        |    7 -----
 configs/v100sc2_defconfig       |   24 +------------------
 6 files changed, 53 insertions(+), 169 deletions(-)
configs/atngw100-base_defconfig +11 -33
index b6337ff..7355b3d 100644
@@ -139,33 +139,8 @@ BR2_UPDATE_CONFIG=y
 #
 # Toolchain
 #
-# BR2_TOOLCHAIN_BUILDROOT is not set
+BR2_TOOLCHAIN_BUILDROOT=y
 # BR2_TOOLCHAIN_EXTERNAL is not set
-BR2_TOOLCHAIN_EXTERNAL_SOURCE=y
-BR2_TOOLCHAIN_SOURCE=y
-# BR2_TOOLCHAIN_ATMEL_AVR32_4_1_2 is not set
-# BR2_TOOLCHAIN_ATMEL_AVR32_4_2_1 is not set
-# BR2_TOOLCHAIN_ATMEL_AVR32_4_2_2 is not set
-BR2_TOOLCHAIN_ATMEL_AVR32_4_2_2_REV_2=y
-# BR2_TOOLCHAIN_ATMEL_AVR32_4_2_3 is not set
-# BR2_TOOLCHAIN_UNKNOWNVENDOR is not set
-BR2_TOOLCHAIN_ATMEL_AVR32=y
-BR2_VENDOR_SITE="$(BR2_ATMEL_MIRROR)"
-BR2_VENDOR_SUFFIX="-avr32"
-BR2_VENDOR_BINUTILS_RELEASE="-1.0.1"
-BR2_VENDOR_GCC_RELEASE="-1.1.3"
-BR2_VENDOR_UCLIBC_RELEASE="-2.1.5"
-BR2_VENDOR_PATCH_DIR="Atmel/avr32"
-# BR2_EXT_GCC_VERSION_4_1_2 is not set
-# BR2_EXT_GCC_VERSION_4_2_1 is not set
-BR2_EXT_GCC_VERSION_4_2_2=y
-# BR2_EXT_GCC_VERSION_4_2_3 is not set
-# BR2_EXT_BINUTILS_VERSION_2_17 is not set
-BR2_EXT_BINUTILS_VERSION_2_18=y
-# BR2_EXT_UCLIBC_VERSION_0_9_28_3 is not set
-# BR2_EXT_UCLIBC_VERSION_0_9_29 is not set
-BR2_EXT_UCLIBC_VERSION_0_9_30=y
-# BR2_EXT_UCLIBC_VERSION_0_9_30_1 is not set
 
 #
 # Kernel Header Options
@@ -185,11 +160,12 @@ BR2_DEFAULT_KERNEL_HEADERS="2.6.29.2"
 #
 # BR2_UCLIBC_VERSION_0_9_28_3 is not set
 # BR2_UCLIBC_VERSION_0_9_29 is not set
-BR2_UCLIBC_VERSION_0_9_30=y
+# BR2_UCLIBC_VERSION_0_9_30 is not se
+BR2_UCLIBC_VERSION_0_9_30_AVR32_2_1_5=y
 # BR2_UCLIBC_VERSION_0_9_30_1 is not set
 # BR2_UCLIBC_VERSION_SNAPSHOT is not set
-BR2_UCLIBC_VERSION_STRING="0.9.30"
-BR2_UCLIBC_CONFIG="target/device/Atmel/uClibc.config.avr32"
+BR2_UCLIBC_VERSION_STRING="0.9.30-avr32-2.1.5"
+BR2_UCLIBC_CONFIG="toolchain/uClibc/uClibc-0.9.30.config"
 # BR2_PTHREAD_DEBUG is not set
 # BR2_PROGRAM_INVOCATION is not set
 # BR2_UCLIBC_INSTALL_TEST_SUITE is not set
@@ -199,15 +175,16 @@ BR2_UCLIBC_CONFIG="target/device/Atmel/uClibc.config.avr32"
 #
 # BR2_BINUTILS_VERSION_2_17 is not set
 # BR2_BINUTILS_VERSION_2_17_50_0_17 is not set
-BR2_BINUTILS_VERSION_2_18=y
+# BR2_BINUTILS_VERSION_2_18 is not set
 # BR2_BINUTILS_VERSION_2_18_50_0_1 is not set
 # BR2_BINUTILS_VERSION_2_18_50_0_3 is not set
 # BR2_BINUTILS_VERSION_2_18_50_0_6 is not set
 # BR2_BINUTILS_VERSION_2_18_50_0_8 is not set
 # BR2_BINUTILS_VERSION_2_18_50_0_9 is not set
+BR2_BINUTILS_VERSION_2_18_AVR32_1_0_1=y
 # BR2_BINUTILS_VERSION_2_19 is not set
 # BR2_BINUTILS_VERSION_2_19_1 is not set
-BR2_BINUTILS_VERSION="2.18"
+BR2_BINUTILS_VERSION="2.18-avr32-1.0.1"
 BR2_EXTRA_BINUTILS_CONFIG_OPTIONS=""
 
 #
@@ -217,7 +194,8 @@ BR2_EXTRA_BINUTILS_CONFIG_OPTIONS=""
 # BR2_GCC_VERSION_4_0_4 is not set
 # BR2_GCC_VERSION_4_1_2 is not set
 # BR2_GCC_VERSION_4_2_1 is not set
-BR2_GCC_VERSION_4_2_2=y
+# BR2_GCC_VERSION_4_2_2 is not set
+BR2_GCC_VERSION_4_2_2_AVR32_2_1_5=y
 # BR2_GCC_VERSION_4_2_3 is not set
 # BR2_GCC_VERSION_4_2_4 is not set
 # BR2_GCC_VERSION_4_3_1 is not set
@@ -226,7 +204,7 @@ BR2_GCC_VERSION_4_2_2=y
 # BR2_GCC_VERSION_4_4_X is not set
 BR2_GCC_SUPPORTS_SYSROOT=y
 # BR2_GCC_SUPPORTS_FINEGRAINEDMTUNE is not set
-BR2_GCC_VERSION="4.2.2"
+BR2_GCC_VERSION="4.2.2-avr32-2.1.5"
 # BR2_TOOLCHAIN_SYSROOT is not set
 # BR2_GCC_USE_SJLJ_EXCEPTIONS is not set
 BR2_EXTRA_GCC_CONFIG_OPTIONS=""
configs/atngw100_defconfig +14 -36

97 lines not on this page · raw message

configs/atstk1005_defconfig +13 -34

93 lines not on this page · raw message

configs/atstk100x_defconfig +14 -36

98 lines not on this page · raw message

configs/kb9202_defconfig +0 -7
index d41b30b..e7e039a 100644
@@ -145,13 +145,6 @@ BR2_UPDATE_CONFIG=y
 #
 BR2_TOOLCHAIN_BUILDROOT=y
 # BR2_TOOLCHAIN_EXTERNAL is not set
-# BR2_TOOLCHAIN_EXTERNAL_SOURCE is not set
-BR2_TOOLCHAIN_SOURCE=y
-BR2_EXT_GCC_VERSION_4_1_2=y
-BR2_EXT_GCC_VERSION_4_2_1=y
-BR2_EXT_BINUTILS_VERSION_2_17=y
-BR2_EXT_UCLIBC_VERSION_0_9_29=y
-BR2_EXT_UCLIBC_VERSION_0_9_28_3=y
 
 #
 # Kernel Header Options
configs/v100sc2_defconfig +1 -23
index e198353..ecb2804 100644
@@ -115,30 +115,8 @@ BR2_UPDATE_CONFIG=y
 #
 # Toolchain
 #
-# BR2_TOOLCHAIN_BUILDROOT is not set
+BR2_TOOLCHAIN_BUILDROOT=y
 # BR2_TOOLCHAIN_EXTERNAL is not set
-BR2_TOOLCHAIN_EXTERNAL_SOURCE=y
-BR2_TOOLCHAIN_SOURCE=y
-# BR2_TOOLCHAIN_ATMEL_AVR32_4_1_2 is not set
-# BR2_TOOLCHAIN_ATMEL_AVR32_4_2_1 is not set
-BR2_TOOLCHAIN_ATMEL_AVR32_4_2_2=y
-# BR2_TOOLCHAIN_ATMEL_AVR32_4_2_3 is not set
-# BR2_TOOLCHAIN_UNKNOWNVENDOR is not set
-BR2_TOOLCHAIN_ATMEL_AVR32=y
-BR2_VENDOR_SITE="$(BR2_ATMEL_MIRROR)"
-BR2_VENDOR_SUFFIX="-avr32"
-BR2_VENDOR_BINUTILS_RELEASE="-2.1.5"
-BR2_VENDOR_GCC_RELEASE="-2.1.5"
-BR2_VENDOR_UCLIBC_RELEASE="-2.1.5"
-BR2_VENDOR_GDB_RELEASE="-2.1.5"
-BR2_VENDOR_PATCH_DIR="Atmel/avr32"
-# BR2_EXT_GCC_VERSION_4_1_2 is not set
-# BR2_EXT_GCC_VERSION_4_2_1 is not set
-BR2_EXT_GCC_VERSION_4_2_2=y
-# BR2_EXT_GCC_VERSION_4_2_3 is not set
-BR2_EXT_BINUTILS_VERSION_2_17=y
-BR2_EXT_UCLIBC_VERSION_0_9_29=y
-# BR2_EXT_UCLIBC_VERSION_0_9_28_3 is not set
 
 #
 # Kernel Header Options
Signature · 1 line
1.6.3.3
#32 lore raw

PATCH 23/23 remove unused AVR32 specific uClibc configuration

In reply to Thomas Petazzoni
---
 target/device/Atmel/uClibc.config.avr32 |  227 -------------------------------
 1 files changed, 0 insertions(+), 227 deletions(-)
 delete mode 100644 target/device/Atmel/uClibc.config.avr32
target/device/Atmel/uClibc.config.avr32 deleted +0 -227
deleted file mode 100644
index d153a4d..0000000
@@ -1,227 +0,0 @@
-#
-# Automatically generated make config: don't edit
-# Version: 0.9.30
-# Thu Jan 29 21:33:38 2009
-#
-# TARGET_alpha is not set
-# TARGET_arm is not set
-TARGET_avr32=y
-# TARGET_bfin is not set
-# TARGET_cris is not set
-# TARGET_e1 is not set
-# TARGET_frv is not set
-# TARGET_h8300 is not set
-# TARGET_hppa is not set
-# TARGET_i386 is not set
-# TARGET_i960 is not set
-# TARGET_ia64 is not set
-# TARGET_m68k is not set
-# TARGET_microblaze is not set
-# TARGET_mips is not set
-# TARGET_nios is not set
-# TARGET_nios2 is not set
-# TARGET_powerpc is not set
-# TARGET_sh is not set
-# TARGET_sh64 is not set
-# TARGET_sparc is not set
-# TARGET_v850 is not set
-# TARGET_vax is not set
-# TARGET_x86_64 is not set
-# TARGET_xtensa is not set
-
-#
-# Target Architecture Features and Options
-#
-TARGET_ARCH="avr32"
-FORCE_OPTIONS_FOR_ARCH=y
-CONFIG_AVR32_AP7=y
-LINKRELAX=y
-TARGET_SUBARCH=""
-
-#
-# Using ELF file format
-#
-ARCH_BIG_ENDIAN=y
-
-#
-# Using Big Endian
-#
-ARCH_HAS_MMU=y
-ARCH_USE_MMU=y
-UCLIBC_HAS_FLOATS=y
-# UCLIBC_HAS_FPU is not set
-UCLIBC_HAS_SOFT_FLOAT=y
-DO_C99_MATH=y
-# UCLIBC_HAS_FENV is not set
-KERNEL_HEADERS="/home/ulf/projects/Buildroot/20090129/buildroot/toolchain_build_avr32/linux/include"
-HAVE_DOT_CONFIG=y
-
-#
-# General Library Settings
-#
-# HAVE_NO_PIC is not set
-DOPIC=y
-# ARCH_HAS_NO_SHARED is not set
-# ARCH_HAS_NO_LDSO is not set
-HAVE_SHARED=y
-FORCE_SHAREABLE_TEXT_SEGMENTS=y
-LDSO_LDD_SUPPORT=y
-LDSO_CACHE_SUPPORT=y
-# LDSO_PRELOAD_FILE_SUPPORT is not set
-LDSO_BASE_FILENAME="ld.so"
-# UCLIBC_STATIC_LDCONFIG is not set
-# LDSO_RUNPATH is not set
-UCLIBC_CTOR_DTOR=y
-# LDSO_GNU_HASH_SUPPORT is not set
-# HAS_NO_THREADS is not set
-UCLIBC_HAS_THREADS=y
-# PTHREADS_DEBUG_SUPPORT is not set
-LINUXTHREADS_OLD=y
-UCLIBC_HAS_SYSLOG=y
-UCLIBC_HAS_LFS=y
-# MALLOC is not set
-# MALLOC_SIMPLE is not set
-MALLOC_STANDARD=y
-MALLOC_GLIBC_COMPAT=y
-UCLIBC_DYNAMIC_ATEXIT=y
-# COMPAT_ATEXIT is not set
-UCLIBC_SUSV3_LEGACY=y
-UCLIBC_SUSV3_LEGACY_MACROS=y
-# UCLIBC_HAS_STUBS is not set
-UCLIBC_HAS_SHADOW=y
-UCLIBC_HAS_PROGRAM_INVOCATION_NAME=y
-UCLIBC_HAS___PROGNAME=y
-UCLIBC_HAS_PTY=y
-ASSUME_DEVPTS=y
-UNIX98PTY_ONLY=y
-# UCLIBC_HAS_GETPT is not set
-UCLIBC_HAS_TM_EXTENSIONS=y
-UCLIBC_HAS_TZ_CACHING=y
-UCLIBC_HAS_TZ_FILE=y
-UCLIBC_HAS_TZ_FILE_READ_MANY=y
-UCLIBC_TZ_FILE_PATH="/etc/TZ"
-
-#
-# Advanced Library Settings
-#
-UCLIBC_PWD_BUFFER_SIZE=256
-UCLIBC_GRP_BUFFER_SIZE=256
-
-#
-# Support various families of functions
-#
-UCLIBC_LINUX_MODULE_24=y
-UCLIBC_LINUX_SPECIFIC=y
-UCLIBC_HAS_GNU_ERROR=y
-UCLIBC_BSD_SPECIFIC=y
-UCLIBC_HAS_BSD_ERR=y
-# UCLIBC_HAS_OBSOLETE_BSD_SIGNAL is not set
-# UCLIBC_HAS_OBSOLETE_SYSV_SIGNAL is not set
-# UCLIBC_NTP_LEGACY is not set
-# UCLIBC_SV4_DEPRECATED is not set
-UCLIBC_HAS_REALTIME=y
-UCLIBC_HAS_ADVANCED_REALTIME=y
-UCLIBC_HAS_EPOLL=y
-UCLIBC_HAS_XATTR=y
-UCLIBC_HAS_PROFILING=y
-UCLIBC_HAS_CRYPT_IMPL=y
-UCLIBC_HAS_CRYPT=y
-UCLIBC_HAS_NETWORK_SUPPORT=y
-UCLIBC_HAS_SOCKET=y
-UCLIBC_HAS_IPV4=y
-UCLIBC_HAS_IPV6=y
-UCLIBC_HAS_RPC=y
-UCLIBC_HAS_FULL_RPC=y
-UCLIBC_HAS_REENTRANT_RPC=y
-# UCLIBC_USE_NETLINK is not set
-# UCLIBC_HAS_BSD_RES_CLOSE is not set
-
-#
-# String and Stdio Support
-#
-UCLIBC_HAS_STRING_GENERIC_OPT=y
-UCLIBC_HAS_STRING_ARCH_OPT=y
-UCLIBC_HAS_CTYPE_TABLES=y
-UCLIBC_HAS_CTYPE_SIGNED=y
-# UCLIBC_HAS_CTYPE_UNSAFE is not set
-UCLIBC_HAS_CTYPE_CHECKED=y
-# UCLIBC_HAS_CTYPE_ENFORCED is not set
-UCLIBC_HAS_WCHAR=y
-UCLIBC_HAS_LOCALE=y
-# UCLIBC_PREGENERATED_LOCALE_DATA is not set
-# UCLIBC_HAS_XLOCALE is not set
-UCLIBC_HAS_HEXADECIMAL_FLOATS=y
-# UCLIBC_HAS_GLIBC_DIGIT_GROUPING is not set
-UCLIBC_HAS_GLIBC_CUSTOM_PRINTF=y
-UCLIBC_PRINTF_SCANF_POSITIONAL_ARGS=9
-UCLIBC_HAS_SCANF_GLIBC_A_FLAG=y
-# UCLIBC_HAS_STDIO_BUFSIZ_NONE is not set
-# UCLIBC_HAS_STDIO_BUFSIZ_256 is not set
-# UCLIBC_HAS_STDIO_BUFSIZ_512 is not set
-# UCLIBC_HAS_STDIO_BUFSIZ_1024 is not set
-# UCLIBC_HAS_STDIO_BUFSIZ_2048 is not set
-UCLIBC_HAS_STDIO_BUFSIZ_4096=y
-# UCLIBC_HAS_STDIO_BUFSIZ_8192 is not set
-UCLIBC_HAS_STDIO_BUILTIN_BUFFER_NONE=y
-# UCLIBC_HAS_STDIO_BUILTIN_BUFFER_4 is not set
-# UCLIBC_HAS_STDIO_BUILTIN_BUFFER_8 is not set
-# UCLIBC_HAS_STDIO_SHUTDOWN_ON_ABORT is not set
-UCLIBC_HAS_STDIO_GETC_MACRO=y
-UCLIBC_HAS_STDIO_PUTC_MACRO=y
-UCLIBC_HAS_STDIO_AUTO_RW_TRANSITION=y
-# UCLIBC_HAS_FOPEN_LARGEFILE_MODE is not set
-UCLIBC_HAS_FOPEN_EXCLUSIVE_MODE=y
-UCLIBC_HAS_GLIBC_CUSTOM_STREAMS=y
-UCLIBC_HAS_PRINTF_M_SPEC=y
-UCLIBC_HAS_ERRNO_MESSAGES=y
-# UCLIBC_HAS_SYS_ERRLIST is not set
-UCLIBC_HAS_SIGNUM_MESSAGES=y
-# UCLIBC_HAS_SYS_SIGLIST is not set
-UCLIBC_HAS_GNU_GETOPT=y
-UCLIBC_HAS_GNU_GETSUBOPT=y
-
-#
-# Big and Tall
-#
-UCLIBC_HAS_REGEX=y
-UCLIBC_HAS_REGEX_OLD=y
-UCLIBC_HAS_FNMATCH=y
-UCLIBC_HAS_FNMATCH_OLD=y
-UCLIBC_HAS_WORDEXP=y
-UCLIBC_HAS_FTW=y
-UCLIBC_HAS_GLOB=y
-UCLIBC_HAS_GNU_GLOB=y
-
-#
-# Library Installation Options
-#
-SHARED_LIB_LOADER_PREFIX="/lib"
-RUNTIME_PREFIX="/"
-DEVEL_PREFIX="/usr/"
-
-#
-# Security options
-#
-# UCLIBC_HAS_ARC4RANDOM is not set
-# HAVE_NO_SSP is not set
-# UCLIBC_HAS_SSP is not set
-UCLIBC_BUILD_RELRO=y
-# UCLIBC_BUILD_NOW is not set
-UCLIBC_BUILD_NOEXECSTACK=y
-
-#
-# uClibc development/debugging options
-#
-CROSS_COMPILER_PREFIX="/home/ulf/projects/Buildroot/20090129/buildroot/build_avr32/staging_dir/usr/bin/avr32-linux-uclibc-"
-UCLIBC_EXTRA_CFLAGS=""
-# DODEBUG is not set
-# DODEBUG_PT is not set
-DOSTRIP=y
-# DOASSERTS is not set
-# SUPPORT_LD_DEBUG is not set
-# SUPPORT_LD_DEBUG_EARLY is not set
-# UCLIBC_MALLOC_DEBUGGING is not set
-WARNINGS="-Wall"
-# EXTRA_WARNINGS is not set
-# DOMULTI is not set
-# UCLIBC_MJN3_ONLY is not set
Signature · 1 line
1.6.3.3
#33 lore raw
In reply to Thomas Petazzoni
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Thomas" == Thomas Petazzoni <[email protected]> writes:

Thomas> Hello,
Thomas> This patchset removes the external source toolchain feature from Thomas> Buildroot. It was used to build AVR32 toolchains because the AVR32 Thomas> architecture is unfortunately not supported by upstream Thomas> gcc/binutils/gdb/uClibc. So the whole external source toolchain Thomas> infrastructure was implemented to allow to get these components from Thomas> other places than the normal mirrors.

Thomas> However, this infrastructure is far more complicated than it needs to Thomas> be. This patchset replaces it by integrated the avr32 special versions Thomas> as normal gcc/binutils/gdb/uClibc versions. The respective .mk files Thomas> detect whether the version name contains avr32, and if it does, then Thomas> it switches to the AT91 mirror. Only the latest versions of Thomas> binutils/gcc/uClibc/gdb for AVR32 were kept (they are already fairly Thomas> ancient).

Thomas> I've compiled tested an AVR32 toolchain + BusyBox and an ARM toolchain Thomas> + Busybox.

Thanks a lot, pulled and pushed! It's much appreciated.

Signature · 1 line
Bye, Peter Korsgaard