Commit Graph

80 Commits (059f8d5af3c308d6137d30fbdd9d879ff61add60)

Author SHA1 Message Date
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
Imre Kaloz 43fd42318b update AVR32 binutils patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10006 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-28 18:26:50 +00:00
Imre Kaloz ffc2b70896 update binutils autoconf scripts, too
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10005 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-28 18:13:08 +00:00
Imre Kaloz 08e9c42e67 fixup softfloat handling
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10003 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-28 18:06:47 +00:00
John Crispin ab8e59334f added binutils 2.18 selection, Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9814 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-20 22:23:12 +00:00
Felix Fietkau 3a5ab101f0 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>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9407 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-23 06:23:20 +00:00
Felix Fietkau d10a56dc58 build system cleanup/restructuring as described in http://lists.openwrt.org/pipermail/openwrt-devel/2007-August/001159.html
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8362 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-08-07 00:04:25 +00:00
Felix Fietkau 7170cf7ed0 remove the custom Build/Prepare override in binutils, use PATCH_DIR, refresh patches using quilt
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7752 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-28 07:20:42 +00:00
John Crispin 86cbd1f5da added several patches to make packages compile for the foxboard
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7597 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-12 20:36:02 +00:00
Imre Kaloz 15a51103e8 add support for the AVR32 platform, namely the ATNGW100 board - joint work with wigyori
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7533 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-08 10:44:01 +00:00