Commit graph

131 commits

Author SHA1 Message Date
Felix Fietkau
e74e4dbd29 toolchain: keep the initial gcc around for later uclibc rebuilds
testing uclibc changes is tricky because the final gcc tends to miscompile
uclibc code or barf up internal compiler errors.
install binutils into $(TOOLCHAIN_DIR)/initial (without changing the configure
prefix) and copy it from there to $(TOOLCHAIN_DIR)/ so that the initial gcc
can be put into $(PATH) for the uclibc build, even if the final gcc
is already installed.

SVN-Revision: 32553
2012-06-30 18:12:15 +00:00
Imre Kaloz
3c365cc72d enable 2.22 for unsupported archs if BROKEN is enabled
SVN-Revision: 30471
2012-02-12 09:56:47 +00:00
Imre Kaloz
bd73e0a85d use binutils 2.22 by default
SVN-Revision: 30469
2012-02-12 09:17:54 +00:00
Imre Kaloz
09a8334a1e add binutils 2.22
SVN-Revision: 30375
2012-02-08 15:49:48 +00:00
Mirko Vogt
408b12ff76 adjust md5sum of v2.21.1 since archive got replaced meanwhile
SVN-Revision: 29836
2012-01-20 22:54:30 +00:00
Hauke Mehrtens
01870142fb binutils: add binutils 2.21.1
SVN-Revision: 27919
2011-08-06 09:53:58 +00:00
Imre Kaloz
6d02667c07 add the latest avr32 toolchain patches (with additional fixes)
SVN-Revision: 27332
2011-07-01 11:35:21 +00:00
Imre Kaloz
e733d679a0 remove the CS variant - broken since it's addition
SVN-Revision: 25648
2011-02-21 11:43:16 +00:00
Imre Kaloz
cc880f6736 only enable binutils 2.21 for avr32 if BROKEN is selected
SVN-Revision: 25572
2011-02-18 13:48:42 +00:00
Imre Kaloz
aca90e900a add some more avr32 fixes
SVN-Revision: 25571
2011-02-18 13:47:36 +00:00
Imre Kaloz
73eefab7b9 whitespace cleanup
SVN-Revision: 25570
2011-02-18 13:45:35 +00:00
Imre Kaloz
57be27f340 add binutils 2.21
SVN-Revision: 25567
2011-02-18 09:52:19 +00:00
Imre Kaloz
74ecb8f3c6 add avr32 support
SVN-Revision: 25562
2011-02-16 22:44:47 +00:00
Imre Kaloz
e01a14ceea fixup the ubicom patch, refresh
SVN-Revision: 25552
2011-02-16 14:05:08 +00:00
Imre Kaloz
9818d6f549 refresh patches
SVN-Revision: 25551
2011-02-16 13:51:31 +00:00
Felix Fietkau
57e5df3758 binutils: backport a fix for broken relocation entries on mips with -fPIE, fixes dbus-server crash with sstrip
SVN-Revision: 25188
2011-01-28 02:29:01 +00:00
Daniel Dickinson
2309cd6dad binutils: Fix autoreconf for packages/devel/binutils package, which uses binutils toolchain patches
SVN-Revision: 24509
2010-12-12 01:43:46 +00:00
Imre Kaloz
5403c77633 switch to binutils 2.20.1 (except for avr32 and ubicom32)
SVN-Revision: 23780
2010-11-02 13:57:04 +00:00
Imre Kaloz
95cba52ba4 remove support for binutils 2.18 and 2.20
SVN-Revision: 23685
2010-10-28 07:26:07 +00:00
Michael Büsch
cf323eb924 optionally support parallel toolchain build. This defaults to off, because certain toolchain versions are known to break on parallel build. However, it significantly speeds up the build and latest versions of the tools do compile fine.
SVN-Revision: 23196
2010-10-03 12:54:07 +00:00
Felix Fietkau
62c1740676 toolchain: fix the sysroot mess by getting rid of $(TOOLCHAIN_DIR)/usr and moving it back to $(TOOLCHAIN_DIR), this change makes the toolchain relocatable again, which should fix the SDK
SVN-Revision: 22723
2010-08-19 12:49:51 +00:00
Florian Fainelli
8ca51dc6f1 fix graphite options with gcc-4.5, add libelf for LTO, fix mbsd_multi patch, patch from Bernhard Loos
SVN-Revision: 21046
2010-04-20 16:18:08 +00:00
Gabor Juhos
fb04eb588e toolchain/binutils: building gas for arm-*-uclibc systems requires linking with -lm
SVN-Revision: 20594
2010-03-30 08:01:35 +00:00
Alexandros C. Couloumbis
6dfce04b55 add binutils-2.20.1
SVN-Revision: 20137
2010-03-11 11:50:25 +00:00
Imre Kaloz
666c2fef6a use binutils 2.19.1 by default for avr32, too
SVN-Revision: 19678
2010-02-16 21:49:32 +00:00
Imre Kaloz
c8e6779d2a add avr32 support for binutils 2.19.1 based on the Atmel 1.2.0 toolchain release
SVN-Revision: 19677
2010-02-16 21:48:13 +00:00
Imre Kaloz
8886484603 fixup the hunks in patch
SVN-Revision: 19635
2010-02-15 11:34:25 +00:00
Imre Kaloz
9df6b68bfa ubicom32 isn't supported with binutils 2.18
SVN-Revision: 19632
2010-02-15 09:36:03 +00:00
Nicolas Thill
b172f237fa binutils: remove unrelated hunk in 2.18 avr32 support patch
SVN-Revision: 19226
2010-01-19 13:23:59 +00:00
Felix Fietkau
6007ab61ec binutils: fix build errors in 2.20 (patch from #6094)
SVN-Revision: 18307
2009-11-05 01:49:20 +00:00
Felix Fietkau
affe22dce7 binutils: fix path to cloog and ppl
SVN-Revision: 18265
2009-11-02 00:47:24 +00:00
Felix Fietkau
4fd397fad9 add binutils 2.20
SVN-Revision: 18263
2009-11-02 00:47:17 +00:00
Felix Fietkau
b4d03a2780 binutils: add support for non-pic handling and use it in the codesourcery based gcc, fixes mips support for this toolchain
SVN-Revision: 18070
2009-10-19 07:41:33 +00:00
Felix Fietkau
0b077fa3a7 add a binutils variant based on a binutils snapshot and codesourcery g++ enhancements (compiles, but fails to link the kernel)
SVN-Revision: 18060
2009-10-19 02:09:59 +00:00
Nicolas Thill
47ac8caa62 add comments & fix descriptions in toolchain config items
SVN-Revision: 17561
2009-09-10 14:32:36 +00:00
Felix Fietkau
aee9d6c31c add a heavily cleaned up version of ubicom32 toolchain support
SVN-Revision: 17346
2009-08-21 22:31:47 +00:00
Imre Kaloz
a5a0ef7ab7 use binutils 2.19.1 on ppc44x, too
SVN-Revision: 17035
2009-07-28 08:41:19 +00:00
Gabor Juhos
c8f178d61a binutils: use 2.19.1 for ppc40x by default
SVN-Revision: 16916
2009-07-19 11:33:47 +00:00
Gabor Juhos
8324887aa1 binutils: fix build failure on powerpc target
SVN-Revision: 16848
2009-07-14 19:43:15 +00:00
Felix Fietkau
90826d83c9 remove binutils 2.17 and 2.19
SVN-Revision: 15619
2009-05-05 11:01:35 +00:00
Gabor Juhos
496aad1058 fix a small bug in binutils 2.19.1 * http://sourceware.org/bugzilla/show_bug.cgi?id=7093
SVN-Revision: 15538
2009-05-01 14:51:02 +00:00
Felix Fietkau
9cb02dd35c fix missing binutils default version change
SVN-Revision: 14926
2009-03-17 19:06:06 +00:00
Felix Fietkau
6c6e6f5827 switch to binutils 2.19.1 by default
SVN-Revision: 14868
2009-03-14 03:17:28 +00:00
Nicolas Thill
8a2030ff3d move common variables to a dedicated include file
SVN-Revision: 14648
2009-02-23 23:52:27 +00:00
Felix Fietkau
7eb1589875 build system refactoring in preparation for allowing packages to do host-build steps
SVN-Revision: 14610
2009-02-22 04:37:20 +00:00
Hauke Mehrtens
da99fcd35a binutils: refresh patches for binutils 2.17
SVN-Revision: 14587
2009-02-21 14:24:39 +00:00
Nicolas Thill
33a0eb3613 cosmetic & coherency fixes
SVN-Revision: 14397
2009-02-03 21:25:48 +00:00
Nicolas Thill
22e91f881e binutils: add support for v2.19.1 (from #4492, thanks to dwrobel)
SVN-Revision: 14393
2009-02-03 16:23:01 +00:00
Florian Fainelli
565f1723f0 libssp should also be configured in binutils
SVN-Revision: 14376
2009-02-02 23:45:33 +00:00
Felix Fietkau
b377f32d3f default to binutils 2.18 on ppc* for manual selection as well
SVN-Revision: 14367
2009-02-02 18:18:47 +00:00
Felix Fietkau
8be1583b25 make binutils 2.18 default for ppc44x and ppc40x
SVN-Revision: 14358
2009-02-02 16:43:19 +00:00
Felix Fietkau
af420c0c3c binutils 2.19 does not support avr32 yet
SVN-Revision: 14227
2009-01-27 20:09:22 +00:00
Felix Fietkau
19f8937c77 install readelf to STAGING_DIR_HOST (eglibc requires it, not all systems have it)
SVN-Revision: 14196
2009-01-26 04:54:25 +00:00
Felix Fietkau
817ccebe70 add binutils 2.19 (patch from #4367)
SVN-Revision: 14075
2009-01-17 19:29:09 +00:00
Nicolas Thill
a3edea1b91 add support for alternative C libraries (currently only glibc/eglibc) other (related) changes: - kernel headers are now installed using "make headers_install" on 2.6 - target names now contain an openwrt "vendor" tag (e.g. mips-openwrt-linux-gnu) - build directory names now contain gcc/libc name/version - default cpu for x86 is now i486 (required to build glibc/eglibc)
SVN-Revision: 13931
2009-01-08 01:49:11 +00:00
Felix Fietkau
d0c5a0d576 use binutils 2.18 for avr32, 2.17 is severely broken
SVN-Revision: 13804
2009-01-02 01:14:09 +00:00
Imre Kaloz
da43f70063 nuke binutils 2.16.1 - old, unused, buggy
SVN-Revision: 13481
2008-12-02 18:23:25 +00:00
Imre Kaloz
9e54c8bf9e clean up patch
SVN-Revision: 13479
2008-12-02 18:06:29 +00:00
Imre Kaloz
b0f6f4e862 sync avr32 binutils patch with the Atmel 1.0.1 release
SVN-Revision: 13464
2008-12-02 10:35:44 +00:00
Imre Kaloz
b154f4b4e3 add avr32 support to binutils 2.18
SVN-Revision: 13352
2008-11-25 18:34:48 +00:00
Nicolas Thill
f1ceaae24a add md5sums for binutils & gcc and use the GNU mirror facility
SVN-Revision: 13143
2008-11-08 21:18:33 +00:00
Felix Fietkau
799e7a8fa8 disable autorebuild for the toolchain, as it can easily lead to build breakages
SVN-Revision: 12492
2008-09-02 10:57:35 +00:00
Nicolas Thill
89eb716470 use qstrip macro to strip quoted CONFIG_* strings
SVN-Revision: 11832
2008-07-14 23:24:58 +00:00
John Crispin
f1ff3a410f finally fixes etrax toolchain problems, thanks nbd
SVN-Revision: 11383
2008-06-06 20:12:05 +00:00
Travis Kemen
d3e2ae4e58 fix avr32 compiling
SVN-Revision: 11147
2008-05-16 04:44:15 +00:00
Jeremy Kerr
077d84f543 provide a cleaner way to specify a biarch toolchain build
Currently, to build a biarch toolchain, we need to explicitly give
options to the binutils and gcc configure commands:

CONFIG_EXTRA_BINUTILS_CONFIG_OPTIONS="--enable-targets=powerpc64-linux-uclibc"
CONFIG_EXTRA_GCC_CONFIG_OPTIONS="--enable-biarch --enable-targets=powerpc64-linux-uclibc"

This change replaces the command line options with an 'extra arch'
configure option:

CONFIG_EXTRA_TARGET_ARCH=y
CONFIG_EXTRA_TARGET_ARCH_NAME="powerpc64"

And a way to invoke this extra arch on the compiler command-line:

CONFIG_EXTRA_TARGET_ARCH_OPTS="-m64"

In this case, this results in an extra compiler:
 'powerpc64-linux-uclibc-gcc', which invokes
 'powerpc-linux-uclibc-gcc -m64'

This is a more standard way of building biarch toolchains, and allows
the packages to not have to care about how to invoke the 64-bit
compiler.

Signed-off-by: Jeremy Kerr <jk@ozlabs.org>

SVN-Revision: 10802
2008-04-12 23:14:42 +00:00
Travis Kemen
8edd4a509e Fix format of depends clause for avr32 Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
SVN-Revision: 10687
2008-03-29 19:56:46 +00:00
Felix Fietkau
fba7cecc09 Add binutils-2.18 patches for all arches but AVR32.
Re-diff the existing patches for binutils-2.17 for all architectures
but AVR32, and make the possible selection of binutils-2.18 dependent
on selecting any arch but that one for the time being.

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>

SVN-Revision: 10360
2008-02-02 18:06:32 +00:00
Gabor Juhos
875cd251a0 eliminate the root cause of the uClibc problems on the powerpc platform
SVN-Revision: 10346
2008-02-01 18:42:22 +00:00
Imre Kaloz
4fc75753e2 we don't use Atmel version numbers
SVN-Revision: 10008
2007-12-28 18:44:28 +00:00
Imre Kaloz
8700cac711 update AVR32 binutils patches
SVN-Revision: 10006
2007-12-28 18:26:50 +00:00
Imre Kaloz
3e3b877d14 update binutils autoconf scripts, too
SVN-Revision: 10005
2007-12-28 18:13:08 +00:00
Imre Kaloz
915e6b89b5 fixup softfloat handling
SVN-Revision: 10003
2007-12-28 18:06:47 +00:00
John Crispin
498a2e3070 added binutils 2.18 selection, Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
SVN-Revision: 9814
2007-12-20 22:23:12 +00:00
Felix Fietkau
19a6b0fa95 Add binutils extra configure options
Currently, we can specify extra configure options for gcc, but not
binutils.

This change adds an EXTRA_BINUTILS_CONFIG_OPTIONS config variable,
so we can add configure options for binutils.

Signed-off-by: Jeremy Kerr <jk@ozlabs.org>

SVN-Revision: 9407
2007-10-23 06:23:20 +00:00
Felix Fietkau
c6bc77ea36 build system cleanup/restructuring as described in http://lists.openwrt.org/pipermail/openwrt-devel/2007-August/001159.html
SVN-Revision: 8362
2007-08-07 00:04:25 +00:00
Felix Fietkau
a81db04ee6 remove the custom Build/Prepare override in binutils, use PATCH_DIR, refresh patches using quilt
SVN-Revision: 7752
2007-06-28 07:20:42 +00:00
John Crispin
91f8777f84 added several patches to make packages compile for the foxboard
SVN-Revision: 7597
2007-06-12 20:36:02 +00:00
Imre Kaloz
08c7265613 add support for the AVR32 platform, namely the ATNGW100 board - joint work with wigyori
SVN-Revision: 7533
2007-06-08 10:44:01 +00:00
Imre Kaloz
c46cedd560 use binutils 2.17 by default
SVN-Revision: 7530
2007-06-08 10:32:29 +00:00
Felix Fietkau
60c1f0f64d finally move buildroot-ng to trunk 2016-03-20 17:29:15 +01:00