Commit Graph

84 Commits

Author SHA1 Message Date
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
0fe95301c9 gcc: refresh patches for gcc 4.1.2
SVN-Revision: 14554
2009-02-18 18:11:04 +00:00
Felix Fietkau
152887e424 fix gcc 4.3.x segfault triggered by using -frename-registers (reproduced on arm, might be relevant for other platforms as well)
SVN-Revision: 14505
2009-02-14 00:09:27 +00:00
Nicolas Thill
33a0eb3613 cosmetic & coherency fixes
SVN-Revision: 14397
2009-02-03 21:25:48 +00:00
Nicolas Thill
7d250fbc8d gcc: add a patch to allow 3.4.6 to build for x86 (closes: #4548)
SVN-Revision: 14370
2009-02-02 19:23:56 +00:00
Florian Fainelli
3bb609d433 allow building and installing java for gcc-4.1.2
SVN-Revision: 14348
2009-02-01 20:11:00 +00:00
Felix Fietkau
27a4c9f5ab gcc: add missing gcc 4.3.3 patches (copy of the 4.3.2 patches)
SVN-Revision: 14228
2009-01-27 21:11:51 +00:00
Felix Fietkau
158c3917e9 add gcc 4.3.3, clean up gcc version config symbols
SVN-Revision: 14226
2009-01-27 20:08:34 +00:00
Nicolas Thill
ec7b663c86 add support for gcc v4.3.1 & v4.3.2 (closes: #3479), thanks to Luigi Mantellini!
SVN-Revision: 14131
2009-01-21 11:58:17 +00:00
Felix Fietkau
78fb5a1b98 add gcc eabi patches from #3988
SVN-Revision: 14072
2009-01-17 19:18:16 +00:00
Hamish Guthrie
b693945d4f Set default gcc for ps3 - gcc-3.4.6 and gcc-4.1.2 do not work at all
SVN-Revision: 14060
2009-01-16 17:51:19 +00:00
Gabor Juhos
65f21ce0d3 fix powerpc toolchain build failure on x86_64 hosts
SVN-Revision: 14036
2009-01-14 18:33:13 +00:00
Nicolas Thill
bf618cf1fd add a fix preventing gcc build system from assuming that libc headers are always available
SVN-Revision: 13994
2009-01-12 19:01:25 +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
Florian Fainelli
a3ecf3d3dc Fix ssp enabling/disabling (#4388)
SVN-Revision: 13856
2009-01-04 12:56:31 +00:00
Felix Fietkau
d55332989e fix avr32 build breakage
SVN-Revision: 13802
2009-01-02 01:10:22 +00:00
Nicolas Thill
a10dd02b34 fix gcc-4.2.4 when target != avr32
SVN-Revision: 13493
2008-12-03 00:20:00 +00:00
Imre Kaloz
7d78d5cad3 nuke old gcc 4.2 versions
SVN-Revision: 13483
2008-12-02 18:32:02 +00:00
Imre Kaloz
d7ed0b8c47 sync gcc's Config.in with Config.version
SVN-Revision: 13482
2008-12-02 18:26:10 +00:00
Imre Kaloz
95f2b6bb76 sync gcc patches with the Atmel 1.1.3 release
SVN-Revision: 13480
2008-12-02 18:10:03 +00:00
Imre Kaloz
5dceef5389 switch powerpc targets to gcc 4.2.4
SVN-Revision: 13359
2008-11-26 10:07:18 +00:00
Imre Kaloz
507b9818c0 switch to gcc 4.2.4 for avr32
SVN-Revision: 13353
2008-11-25 18:35: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
Nicolas Thill
40f6992324 add patches to fixes gcc 4.2.x bugs: - fix gcc ICE when compiling package/ath9k (closes: #3816) http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37014 - fix "undefined reference to `fmsub'" error on powerpc http://bugs.uclibc.org/view.php?id=1588
SVN-Revision: 12623
2008-09-18 12:24:32 +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
Florian Fainelli
cc99e5b35d Disable smash stacking support by default, but allow to enable it as an experimental feature
SVN-Revision: 12010
2008-07-30 12:54:28 +00:00
Nicolas Thill
89eb716470 use qstrip macro to strip quoted CONFIG_* strings
SVN-Revision: 11832
2008-07-14 23:24:58 +00:00
Imre Kaloz
04fd31f429 add patch to fix EABI compiles on ARMv4
SVN-Revision: 11365
2008-06-05 16:38:04 +00:00
Imre Kaloz
389c1186cf gcc 4.2.4 support
SVN-Revision: 11310
2008-05-31 18:45:07 +00:00
Matteo Croce
4a78320c11 refresh gcc-4.2.3 patches
SVN-Revision: 11232
2008-05-21 11:51:22 +00:00
Felix Fietkau
b672976e8e make sure the toolchain target dir really exists
SVN-Revision: 10913
2008-04-22 20:30:55 +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
Florian Fainelli
1d482e1d39 Do not disable tls yet, uclibc-ntpl will support it soon
SVN-Revision: 10785
2008-04-10 15:52:38 +00:00
Florian Fainelli
3630b457a5 Disable tls support, uClibc does not support it, and it could lead to linking failures with some braindead autoconf programs
SVN-Revision: 10782
2008-04-10 14:05:38 +00:00
Felix Fietkau
6bce19599a remove the "depends BROKEN" for eabi
SVN-Revision: 10556
2008-03-07 10:16:37 +00:00
Imre Kaloz
6443bc981a fixup ARM EABI on GCC 4.1.2
SVN-Revision: 10480
2008-02-17 15:37:58 +00:00
Felix Fietkau
82572cf767 revert ARM to oabi by default, add some eabi patches for fixing up the toolchain, which unfortunately break eabi userland, but are IMHO a necessary basis for further eabi fixes
SVN-Revision: 10458
2008-02-14 14:31:31 +00:00
Imre Kaloz
28a177fca3 use GCC 4.2.3 by default for AVR32
SVN-Revision: 10414
2008-02-07 20:21:18 +00:00
Imre Kaloz
614cc08a14 add GCC 4.2.3
SVN-Revision: 10413
2008-02-07 20:18:40 +00:00
Gabor Juhos
f5c304120d gcc: fix version selection for Magicbox
SVN-Revision: 10345
2008-02-01 16:44:52 +00:00
Imre Kaloz
423d63701a fix GCC version selection for Magicbox
SVN-Revision: 10288
2008-01-27 21:21:46 +00:00
Imre Kaloz
c63ad5ccf9 add another softfloat patch
SVN-Revision: 10007
2007-12-28 18:32:14 +00:00
Imre Kaloz
915e6b89b5 fixup softfloat handling
SVN-Revision: 10003
2007-12-28 18:06:47 +00:00
Felix Fietkau
e28b55f39f fix a few stampfile locations
SVN-Revision: 9587
2007-11-20 19:58:49 +00:00
Imre Kaloz
34b4f11508 add gcc 4.2.2
SVN-Revision: 9443
2007-10-25 09:16:31 +00:00
Felix Fietkau
5feb978446 openwrt: honour gcc extra configuration flags
Although the CONFIG_EXTRA_GCC_OPTIONS flag is available, it isn't used
anywhere.

This change adds the extra flag to both gcc configure stages.

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

SVN-Revision: 9406
2007-10-23 06:23:17 +00:00
John Crispin
cfd0fecd47 changed the -fhonours-copts gcc patch, such that the function needs to be turned on explicitly
SVN-Revision: 9167
2007-10-07 00:26:02 +00:00
Felix Fietkau
a9d683ca91 major target cleanup. it is now possible to have subtargets that can override many target settings, including arch - merge adm5120, adm5120eb. target profiles still need to be adapted for subtargets
SVN-Revision: 8694
2007-09-08 19:55:42 +00:00
Nicolas Thill
bf392a7fc0 fix typo (closes: #2275)
SVN-Revision: 8492
2007-08-26 13:00:27 +00:00