Felix Fietkau
f1f392ab5f
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
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22723 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-19 12:49:51 +00:00
Florian Fainelli
919f5d8ee5
[toolchain] fix graphite options with gcc-4.5, add libelf for LTO, fix mbsd_multi patch, patch from Bernhard Loos
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21046 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-20 16:18:08 +00:00
Gabor Juhos
994ff71e5e
toolchain/binutils: building gas for arm-*-uclibc systems requires linking with -lm
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20594 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-30 08:01:35 +00:00
Alexandros C. Couloumbis
ff2a19f4ec
add binutils-2.20.1
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20137 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-11 11:50:25 +00:00
Imre Kaloz
1f15fd0dec
[toolchain/avr32]: use binutils 2.19.1 by default for avr32, too
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19678 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-02-16 21:49:32 +00:00
Imre Kaloz
058f7dc51e
[toolchain/avr32]: add avr32 support for binutils 2.19.1 based on the Atmel 1.2.0 toolchain release
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19677 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-02-16 21:48:13 +00:00
Imre Kaloz
eaa4207b32
fixup the hunks in patch
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19635 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-02-15 11:34:25 +00:00
Imre Kaloz
fd538d6349
ubicom32 isn't supported with binutils 2.18
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19632 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-02-15 09:36:03 +00:00
Nicolas Thill
c3bb6dc909
[toolchain] binutils: remove unrelated hunk in 2.18 avr32 support patch
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19226 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-19 13:23:59 +00:00
Felix Fietkau
0429992d65
binutils: fix build errors in 2.20 (patch from #6094 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18307 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-11-05 01:49:20 +00:00
Felix Fietkau
aea2ea2dea
binutils: fix path to cloog and ppl
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18265 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-11-02 00:47:24 +00:00
Felix Fietkau
4067bdf501
add binutils 2.20
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18263 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-11-02 00:47:17 +00:00
Felix Fietkau
db56f6acc3
binutils: add support for non-pic handling and use it in the codesourcery based gcc, fixes mips support for this toolchain
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18070 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-19 07:41:33 +00:00
Felix Fietkau
08cce6702e
add a binutils variant based on a binutils snapshot and codesourcery g++ enhancements (compiles, but fails to link the kernel)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18060 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-19 02:09:59 +00:00
Nicolas Thill
5a42b0b766
[cosmetic] add comments & fix descriptions in toolchain config items
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17561 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-09-10 14:32:36 +00:00
Felix Fietkau
39bbd5babc
add a heavily cleaned up version of ubicom32 toolchain support
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17346 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-08-21 22:31:47 +00:00
Imre Kaloz
3ed3255c37
use binutils 2.19.1 on ppc44x, too
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17035 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-07-28 08:41:19 +00:00
Gabor Juhos
2991cd7a7b
[toolchain] binutils: use 2.19.1 for ppc40x by default
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16916 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-07-19 11:33:47 +00:00
Gabor Juhos
44b1764018
[toolchain] binutils: fix build failure on powerpc target
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16848 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-07-14 19:43:15 +00:00
Felix Fietkau
8f33d392f4
remove binutils 2.17 and 2.19
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15619 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-05 11:01:35 +00:00
Gabor Juhos
2aa7aef952
[toolchain] fix a small bug in binutils 2.19.1
...
* http://sourceware.org/bugzilla/show_bug.cgi?id=7093
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15538 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-01 14:51:02 +00:00
Felix Fietkau
cbd7eba2e9
fix missing binutils default version change
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14926 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-17 19:06:06 +00:00
Felix Fietkau
e1fdc6451a
switch to binutils 2.19.1 by default
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14868 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-14 03:17:28 +00:00
Nicolas Thill
84f43d1453
[toolchain] move common variables to a dedicated include file
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14648 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-23 23:52:27 +00:00
Felix Fietkau
b892e1fb85
build system refactoring in preparation for allowing packages to do host-build steps
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14610 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-22 04:37:20 +00:00
Hauke Mehrtens
1a46f52847
binutils: refresh patches for binutils 2.17
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14587 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-21 14:24:39 +00:00
Nicolas Thill
293b872934
[toolchain] cosmetic & coherency fixes
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14397 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-03 21:25:48 +00:00
Nicolas Thill
3cdd8c0d66
[toolchain] binutils: add support for v2.19.1 (from #4492 , thanks to dwrobel)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14393 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-03 16:23:01 +00:00
Florian Fainelli
73b13003a6
[toolchain] libssp should also be configured in binutils
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14376 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-02 23:45:33 +00:00
Felix Fietkau
8cea02b5a8
default to binutils 2.18 on ppc* for manual selection as well
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14367 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-02 18:18:47 +00:00
Felix Fietkau
968119adf8
make binutils 2.18 default for ppc44x and ppc40x
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14358 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-02 16:43:19 +00:00
Felix Fietkau
8792167b0f
binutils 2.19 does not support avr32 yet
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14227 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-27 20:09:22 +00:00
Felix Fietkau
8bce44babc
install readelf to STAGING_DIR_HOST (eglibc requires it, not all systems have it)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14196 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-26 04:54:25 +00:00
Felix Fietkau
9f7a7201f3
add binutils 2.19 (patch from #4367 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14075 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-17 19:29:09 +00:00
Nicolas Thill
3b75e47f8f
[massive] 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)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13931 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-08 01:49:11 +00:00
Felix Fietkau
2f421eb302
use binutils 2.18 for avr32, 2.17 is severely broken
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13804 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-02 01:14:09 +00:00
Imre Kaloz
d3cdf53d78
nuke binutils 2.16.1 - old, unused, buggy
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13481 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-12-02 18:23:25 +00:00
Imre Kaloz
baa533569c
clean up patch
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13479 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-12-02 18:06:29 +00:00
Imre Kaloz
f0403b8ded
sync avr32 binutils patch with the Atmel 1.0.1 release
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13464 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-12-02 10:35:44 +00:00
Imre Kaloz
74afd983df
add avr32 support to binutils 2.18
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13352 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-11-25 18:34:48 +00:00
Nicolas Thill
850a33d79c
add md5sums for binutils & gcc and use the GNU mirror facility
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13143 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-11-08 21:18:33 +00:00
Felix Fietkau
78aec4b21d
disable autorebuild for the toolchain, as it can easily lead to build breakages
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12492 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-09-02 10:57:35 +00:00
Nicolas Thill
119bfa9050
use qstrip macro to strip quoted CONFIG_* strings
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11832 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-07-14 23:24:58 +00:00
John Crispin
ea5f3e97ac
finally fixes etrax toolchain problems, thanks nbd
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11383 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-06 20:12:05 +00:00
Travis Kemen
c9435d7a7a
fix avr32 compiling
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11147 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-05-16 04:44:15 +00:00
Jeremy Kerr
e5eb114697
[toolchain] 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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10802 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-04-12 23:14:42 +00:00
Travis Kemen
e1a89cf4d4
Fix format of depends clause for avr32 Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10687 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-03-29 19:56:46 +00:00
Felix Fietkau
fde588ba11
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10360 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-02-02 18:06:32 +00:00
Gabor Juhos
507ae0f23a
[toolchain] eliminate the root cause of the uClibc problems on the powerpc platform
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10346 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-02-01 18:42:22 +00:00
Imre Kaloz
81c69df3b7
we don't use Atmel version numbers
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10008 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-28 18:44:28 +00:00