Commit Graph

310 Commits

Author SHA1 Message Date
Peter Korsgaard
f85f2de174 Makefile: globally define variables used at different places
$(comma) and $(space) are used in packages and the toolchain.

Signed-off-by: Markus Heidelberg <markus.heidelberg@web.de>
2009-01-25 20:19:01 +00:00
Ulf Samuelsson
ecdd71417c Fix unroll bug for ARM toolchain 2009-01-23 23:03:25 +00:00
Peter Korsgaard
77662160bb toolchain/gcc: make version detection more robust
Thanks to Bernhard for noticing (and less so for causing the problem in
the first place :P)
2009-01-22 11:18:44 +00:00
Peter Korsgaard
79cdd94154 toolchain/gcc: fix target-gcc for 4.3.x
Includes are in include-fixed and GCC_LIB_SUBDIR needs to be set like for
the rest of 4.x
2009-01-22 10:04:30 +00:00
Peter Korsgaard
bc65432230 toolchain: introduce HOSTCC_VERSION and fix gcc-4.3.x build with old host CCs
gcc < 4.2.0 doesn't support -Wno-overlength-stings, but gcc-4.3.x configure
fails to detect that, breaking the build.

Work around it by detecting the host gcc version (and store in HOSTCC_VERSION)
and set the proper configure variables for gcc < 4.2.0.
2009-01-19 09:18:46 +00:00
Ulf Samuelsson
bdac3e337f Update broken AVR32 toolchain, and update configs for this, deprecate all but latest AVR32 toolchain 2009-01-16 22:39:05 +00:00
Peter Korsgaard
c816f0b9ea toolchain/gcc: mark old versions as deprecated 2009-01-16 14:13:50 +00:00
Peter Korsgaard
6e0c86fff8 toolchain/gcc: default to 4.3.2 for !AVR32 2009-01-16 14:13:46 +00:00
Peter Korsgaard
0ef35d5d5e toolchain/: convert to DOWNLOAD helper 2009-01-16 11:47:05 +00:00
Peter Korsgaard
585aca9a5a add .empty files for git-svn
git-svn (and git) doesn't handle empty directories, so add .empty files
to those dirs like elsewhere in buildroot.

Those empty directories are normally not a big deal, but the recent changes
to u-boot broke the build.
2009-01-05 15:47:00 +00:00
Nigel Kukard
39c0548428 * Added option to build with gcc 4.3.2 2008-12-31 18:28:59 +00:00
Peter Korsgaard
0e14d4f7ff toolchain/: get rid of unneeded $(strip ..) 2008-12-08 08:15:42 +00:00
Peter Korsgaard
84ddc66a41 toolchain/*: use CONFIG_UPDATE
Based on e0e0945e in Bernhard's tree.
2008-12-05 15:27:26 +00:00
Arnar Mar Sigurðsson
88b24a4caa 2 gcc patches from Atmel's buildroot 2008-10-31 01:41:31 +00:00
Peter Korsgaard
7543f7dff4 toolhain/: confgure: respect quiet option 2008-10-26 09:14:02 +00:00
Hans-Christian Egtvedt
50b55c9006 gcc: make installation of shared libraries multi-project safe
This patch modifies the rule for installing the shared libraries into the
project_foo/.../autotools-stamps directory. This will make the installation of
GCC shared libraries be multi-project safe.

Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
2008-10-02 15:02:38 +00:00
Hans-Christian Egtvedt
3fac2be724 gcc: make sure that /usr/lib exists on target before installing shared libs
On very lite systems the /usr/lib directory might not exist before libstdc++ is
installed. This patch makes sure the directory exists.

Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
2008-10-02 14:32:07 +00:00
Peter Korsgaard
1243071b16 gcc: only use -mfloat-abi for ARM, use -msoft-float for other archs
Patch by Wade Berrier.
2008-08-22 13:59:06 +00:00
Peter Korsgaard
4683420c4c Kconfig: remove 'default n'
'default n' is the default, so there's no need to say it explicitly.
2008-07-17 20:01:44 +00:00
Ulf Samuelsson
228ef57ecf Add latest gcc patch for AVR32 gcc-4.2.2 prepatched source 2008-07-08 19:45:34 +00:00
Ulf Samuelsson
d592884e2c Fix AVR32 gcc patching, when sysroot option is not enabled 2008-07-08 19:31:30 +00:00
Ulf Samuelsson
126bb72fa0 Add prepatched AVR32 gcc-4.2.2 toolchain from www.atmel.no, move patch locations for prepatched toolchain to be under the toolchain directory 2008-07-04 08:39:35 +00:00
Peter Korsgaard
32ac555784 toolchain/gcc: use --disable-decimal-float for 4.3.x 2008-06-21 19:47:17 +00:00
Peter Korsgaard
a5ac61715b buildroot: s/depends/depends on/
The new kconfig is more strict regarding depends/depends on, so fixup
the tree.
2008-06-19 19:06:25 +00:00
Peter Korsgaard
e31844e307 toolchain/gcc: add 4.3.1
Based on Bernhards tree.
2008-06-19 19:06:04 +00:00
Peter Korsgaard
f6a212f1c0 toolchain/gcc: mark old versions as deprecated 2008-06-19 19:05:59 +00:00
Peter Korsgaard
15d53f0d1b toolchain/gcc: use $(@D) 2008-06-18 15:46:48 +00:00
Peter Korsgaard
5a5dd825d7 toolchain/gcc: use depends on instead of depends 2008-06-18 15:42:50 +00:00
Peter Korsgaard
65b0f823b2 toolchain/gcc: use $(STRIP_STRIP_UNNEEDED) 2008-06-17 13:33:02 +00:00
Peter Korsgaard
e1c7bea59c toolchain/gcc-4.x: strip cross libgcc / libstdc++ 2008-06-17 13:28:37 +00:00
Peter Korsgaard
759e150633 toolchain/gcc-3.x: strip cross libgcc / libstdc++ with cross-strip, not host. 2008-06-17 12:54:36 +00:00
Peter Korsgaard
364405da5f toolchain: gcc 4.2.4 support 2008-06-13 11:49:42 +00:00
Peter Korsgaard
197ab1cef2 toolchain: also use arch/tune/abi options when softfloat is enabled
The ifeq/endif nesting was wrong, so arch/tune/abi options where only set in
the non-softfloat case.
2008-06-06 12:49:53 +00:00
Peter Korsgaard
de87811186 toolchain/gcc: do not try to strip *-embedspu 2008-04-04 14:16:06 +00:00
Nigel Kukard
49bb82c9f4 * Removed GCC 4.2.0, added GCC 4.2.3 (take 2) 2008-03-30 08:12:22 +00:00
Nigel Kukard
c92cb2cacd * Remove legacy GCC 4.1.x versions 2008-03-30 08:07:53 +00:00
Nigel Kukard
a1b9776f4b * Remove legacy GCC 4.0.x versions 2008-03-30 08:06:38 +00:00
Nigel Kukard
2c9c9bcdf2 * Remove legacy GCC 3.4.x versions 2008-03-30 08:05:22 +00:00
Nigel Kukard
5929cc768b Remove legacy GCC 3.3.x versions 2008-03-30 08:04:14 +00:00
Ulf Samuelsson
dde50867f9 Remove avr32 gcc patches duplicating external source 2008-03-29 11:07:12 +00:00
Nigel Kukard
80f199c3d8 * Reverted r21540 2008-03-28 22:08:37 +00:00
Nigel Kukard
19d47ec4f5 * Missed jacmet's patch, r21520 2008-03-28 21:27:03 +00:00
Nigel Kukard
cc0aeb527a * Added 4.2.2 patchset 2008-03-28 21:19:12 +00:00
Nigel Kukard
643dd9b609 * Bumped GCC to 4.2.2, removed 4.2.0 2008-03-28 21:03:04 +00:00
Peter Korsgaard
1ab26cfe38 gcc 4.2.1: fix undefined reference to fmsub in C++ programs with soft float
Fix 'undefined reference to fmsub' linking errors with C++ programs
when soft float is enabled. Patch by b5331.

Closes #1588.
2008-03-27 19:37:33 +00:00
John Voltz
577cec7bc6 current avr32 gcc patches break x86 and possibly other systems. moving bad patches to separate directory until a proper fix is made. discovered by jacmet and Dr. Nigel Kukard 2008-03-21 11:21:02 +00:00
Peter Korsgaard
1a27e8d311 gcc 4.2.1: Don't change SUFFIX and bug report URL
SUFFIX and bug report URL shouldn't be set to something atmel specific
if you don't compile for AVR32.

The AVR32 patch should probably only get applied if compiling for AVR32.
2008-03-06 22:56:50 +00:00
John Voltz
1d161fb437 toolchain updates 2008-03-06 18:52:01 +00:00
"Steven J. Hill"
bebbe792df Make sure 'linkage.h' headers are installed. Add hack to bootstrap newer
versions of GCC. Filter out 'gnu99' from assembly flags. Use the 
'headers' target instead of 'pregen' to prepare for more NPTL 
integration. Fix broken MTD package configuration....someone believes in 
the Klingon release process apparently. Fix build issues with netplug 
and libpng. Fix source path for microcom as original site no longer 
exists.
2008-02-28 02:13:42 +00:00
Ivan Kuten
7a3789e41d fix gcc 3.4.6 and libstdc++ when shared support is disabled, thanks Atle\! 2008-01-08 12:52:49 +00:00