Commit Graph

53 Commits (06c7c0428831969f02dcb5585edb859cf7025640)

Author SHA1 Message Date
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
Florian Fainelli e955458388 Disable multilib by default
SVN-Revision: 8471
2007-08-23 16:08:09 +00:00
Florian Fainelli 0143069883 Fix the stage2 compilation, no side effect with gcc4 (#2190)
SVN-Revision: 8409
2007-08-13 16:26:58 +00:00
Florian Fainelli 38d4bfb9ef rdc can be built with gcc4 as well, my mistake
SVN-Revision: 8379
2007-08-08 12:03:24 +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
Florian Fainelli b829716e6d rdc-2.6 must be built with gcc-3.4.6, if not it will not boot at all
SVN-Revision: 8345
2007-08-05 11:05:08 +00:00
Florian Fainelli 4d8a5d7d23 Allow installing gcj/gnu classpath,for those interested
SVN-Revision: 8337
2007-08-04 10:59:02 +00:00
Felix Fietkau 99368862e4 Port the mbsd_multi patch from freewrt, which adds -fhonour-copts. This will emit warnings in packages that don't use our target cflags properly
SVN-Revision: 8256
2007-07-31 00:52:27 +00:00
Felix Fietkau 7cc617cd7e fix the gcc stampfile for initial stage installation
SVN-Revision: 8250
2007-07-30 22:27:37 +00:00
Imre Kaloz 1181536e69 add gcc 4.2.1
SVN-Revision: 8223
2007-07-30 12:26:28 +00:00
Felix Fietkau 1b4fc61eea update magicbox target to 2.6.22-rc6, select gcc 4.2.0 as default for this target (4.1.2 segfaults at compile time)
SVN-Revision: 7762
2007-06-28 20:42:21 +00:00
Felix Fietkau 83a487c412 fix gcc 4.2.0 compile for ppc
SVN-Revision: 7761
2007-06-28 19:52:09 +00:00
Felix Fietkau abdd6e0f13 replace gcc 4.2 snapshot with 4.2.0 release (sync patches with uclibc buildroot), adjust gcc makefile for PATCH_DIR changes
SVN-Revision: 7753
2007-06-28 07:30:25 +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 4374b41793 we don't need libmudflap at all
SVN-Revision: 7531
2007-06-08 10:35:23 +00:00
Felix Fietkau 92f558c4be Nuke lots of obsolete compiler versions Make gcc4 depend on !LINUX_2_4 - I'm getting sick of seeing people complain about compile errors when trying to build brcm-2.4 with it.
SVN-Revision: 6744
2007-03-28 17:52:00 +00:00
Imre Kaloz e50a89989b fix gcc version selection
SVN-Revision: 6556
2007-03-11 19:26:39 +00:00
Hamish Guthrie ed1a641e15 Changed default compiler for 2.6 kernels to 4.1.2
SVN-Revision: 6539
2007-03-07 22:32:10 +00:00
Imre Kaloz 8bc64752a7 add gcc 4.1.2 (closes #1381)
SVN-Revision: 6343
2007-02-22 10:28:46 +00:00
Felix Fietkau fbaae65ab4 Fix gcc version selection - default version for linux 2.4 broken in r6208 - brcm-2.6 needs an older compiler at least on wgt634u (don't ask me why...)
SVN-Revision: 6209
2007-01-26 11:02:59 +00:00
Imre Kaloz f1f2af6ddf use gcc 4.1.1 for 2.6, 3.4.6 for 2.4 targets by default
SVN-Revision: 6208
2007-01-26 10:55:06 +00:00
Nicolas Thill d04689050d revert gcc to 4.1.1 for x86 to fix uclibc++ build (closes: #1056, #1202)
SVN-Revision: 6185
2007-01-23 16:14:50 +00:00
Felix Fietkau f5d49b3bd5 use the gcc 4.2 snapshot in x86-2.6 by default - seems to work better than 4.1.1
SVN-Revision: 5706
2006-12-07 04:08:04 +00:00
Felix Fietkau ca5ea6c2be default to gcc 4.1.1 for the rb532 again
SVN-Revision: 5700
2006-12-06 18:32:14 +00:00
Imre Kaloz 7b9e1271ef fix locale stuff (and there was much rejoicing)
SVN-Revision: 5671
2006-11-28 22:20:06 +00:00
Felix Fietkau ba962c723f add a gcc 4.2 snapshot
SVN-Revision: 5625
2006-11-23 04:08:52 +00:00
Florian Fainelli 6896287581 Port the locale changes to the other gcc versions as well
SVN-Revision: 5608
2006-11-21 17:10:05 +00:00
Felix Fietkau 643744a99d switch rb532 to the old gcc again. 4.1.1 is suddenly causing trouble...
SVN-Revision: 5605
2006-11-21 16:36:32 +00:00
Florian Fainelli b80c2a145e Forgot that part (#926)
SVN-Revision: 5599
2006-11-21 12:13:04 +00:00
Florian Fainelli c9263207a5 Fix gcc config_largefile (#926)
SVN-Revision: 5598
2006-11-21 12:12:47 +00:00
Felix Fietkau 646342f30f fix gcc compile
SVN-Revision: 5511
2006-11-12 03:42:05 +00:00
Felix Fietkau 864ae8f613 more shell related fixes
SVN-Revision: 5509
2006-11-12 02:45:13 +00:00