Commit Graph

373 Commits

Author SHA1 Message Date
Peter Korsgaard
01921dd4d4 toolchain/gcc: add 4.3.3 2009-02-13 08:34:08 +00:00
Peter Korsgaard
2f72570992 toolchain/gcc/4.3.2: use what really got committed upstream for PR39076
Thanks to Sven Neumann for noticing.
2009-02-05 14:13:43 +00:00
Peter Korsgaard
a1b8914cee toolchain/gcc/4.3.2: remove unused and unneeded fix for PR34205
We don't use the iwmmxt abi anymore.
2009-02-05 13:24:14 +00:00
Peter Korsgaard
a9114d3576 toolchain/gcc/4.3.2: fix arm funroll-loops patch from r24993
Rename it so it actually gets applied and fix it so it can be applied
(-p level).
2009-02-05 13:24:11 +00:00
Peter Korsgaard
16a5a68947 toolchain: revert r25193 (Change binary toolchain configuration)
As discussed on the list.
2009-02-04 13:42:40 +00:00
Ulf Samuelsson
59f084017e Change binary toolchain configuration, so
that the options become visible just below
the config, instead of at bottom of screen

Create a more useful default as toolchain path.

Allow generation of a script which sets up
paths to a binary toolchain generated by buildroot.
2009-01-31 20:49:59 +00:00
Daniel Laird
040bd64849 Extend External Toolchain options (match buildroot built toolchain):
Have added options that mean you can set the same BR2_XXXX variables
for external toolchain and internal (buildroot built) toolchain.

This means the same set of packages can be built now me as for you.....

Signed-off-by: Daniel Laird <daniel.j.laird@nxp.com>
2009-01-30 16:28:26 +00:00
Peter Korsgaard
92bd25c9eb toolchain: fix up GNU_TARGET_NAME link and target_utils location
The GNU_TARGET_NAME symlink and target_utils location were not correctly
adjusted to match the move of the toolchain to $(STAGING_DIR)/usr,
creating dangling symlinks.
2009-01-30 13:34:42 +00:00
Peter Korsgaard
81ddf3d083 toolchain/gcc: remove unused gcc 3.x cruft from 4.x makefile (sysroot) 2009-01-30 13:34:35 +00:00
Peter Korsgaard
ea57d89bcc toolchain/gcc/4.3.2: accept abi=aapcs-linux for EABI
From Bernhards' tree, thanks to Sven Neuman for noticing. See also
http://gcc.gnu.org/ml/gcc-patches/2008-09/msg01500.html
2009-01-30 10:35:55 +00:00
Peter Korsgaard
e87389229e toolchain/gcc: remove ancient (and unused) i386 softfloat patch 2009-01-29 19:24:31 +00:00
Peter Korsgaard
6071bb4e1a toolchain/gcc: remove unused GCC_ENABLE_CLOCALE
This variable was introduced in r17046 (add gfortran support,
2006-12-22) and wasn't used even there.

Signed-off-by: Markus Heidelberg <markus.heidelberg@web.de>
2009-01-29 19:13:53 +00:00
Peter Korsgaard
97925424aa toolchain: cris fixes for gcc 4.3.x / linux 2.6.28.x
Patches by Hinko Kocevar <hinko.kocevar@cetrtapot.si>
2009-01-28 16:37:09 +00:00
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
Ivan Kuten
cb815ae003 Add support for GNU and kernel.org mirrors 2007-12-17 12:29:06 +00:00
Ivan Kuten
0062430ad5 revert 20646 rev (gcc-cc_links-fix.diff), it's broken for arm as mentioned in 1764 issue 2007-12-17 11:37:47 +00:00
Ivan Kuten
43cff997d7 fix gcc 3.x/4.x symlinks to cc 2007-12-13 12:09:56 +00:00
Ivan Kuten
459afe0a23 nios2: remove empty files, thanks to Atle Nissestad 2007-11-23 11:25:13 +00:00
Ivan Kuten
7eb9574e2b update the nios2-patches for binutils-2.15 and gcc-3.4.6 with the latest sources from Altera, and removes obsolete patches 2007-11-23 10:32:50 +00:00
Ivan Kuten
00f34a0cdc update gcc nios2 support, thanks atle 2007-11-09 09:57:25 +00:00
Ulf Samuelsson
3536c2f919 Ensure AVR32 FPU config is always correct 2007-10-23 09:49:56 +00:00
Ivan Kuten
74a374edb1 'make source' command working again for gcc 2007-10-20 18:09:53 +00:00
Ivan Kuten
587c4892e5 fix libmudflap build failure for 4.1.2 gcc - pass CPP=<target_cpp>, thanks to Hamish Moffatt 2007-10-19 17:51:00 +00:00
Ivan Kuten
b2683e4d2c add soft-float support to 4.1.2 gcc, thanks to Hamish Moffatt 2007-10-19 17:41:58 +00:00
Ulf Samuelsson
b49adb8a38 Softfloat patch 2007-10-17 21:56:21 +00:00
Ulf Samuelsson
f53d9ece64 Update AVR32 toolchain with new binutils and uClibc, This time it works (cross-fingers) 2007-10-13 10:15:01 +00:00
Ulf Samuelsson
8e650f6ec0 Allow library copy to fail 2007-10-12 21:01:41 +00:00
Ulf Samuelsson
d89d54541e Do not copy shared C++ lib, unless one is built 2007-10-12 15:14:46 +00:00
Ulf Samuelsson
d2b3ce5c1b Cannot copy shared c++ lib, if one has not been created 2007-10-12 12:30:14 +00:00
Ulf Samuelsson
cfeb86e2b3 Allow longer history for package versions 2007-10-07 18:29:17 +00:00
Ulf Samuelsson
06cd2634a2 Do not create directories, if they exist 2007-10-07 17:22:56 +00:00
Bernhard Reutner-Fischer
0c16c17f53 - start to think about GNU/hurd support.
Not yet functional. Help welcome
2007-10-05 11:06:56 +00:00
Ulf Samuelsson
575d3465ab Use the right Config for AVR32 gcc build 2007-10-01 21:12:54 +00:00
Bernhard Reutner-Fischer
1672e71f17 - remove misplaced comment 2007-10-01 21:06:50 +00:00
Bernhard Reutner-Fischer
14a71561a3 - just use the strip binary to avoid confusing libtool (quotes)
- use $(STRIPCMD) in packages to avoid clashes with $(STRIP)
2007-10-01 16:15:31 +00:00
Bernhard Reutner-Fischer
4ad141c338 - pass configure args for the -target compiler 2007-10-01 12:57:36 +00:00
Bernhard Reutner-Fischer
61558a5773 - add additional EXTRA_GCC_CONFIG_OPTIONS for initial, cross and target compiler 2007-10-01 12:56:24 +00:00
Bernhard Reutner-Fischer
00b8456cd5 - whitespace cleanup (Cristian Ionescu-Idbohrn) 2007-09-30 12:46:02 +00:00
Ulf Samuelsson
f885e239ea Revert modification of gcc, and make it AVR32 specific 2007-09-29 20:44:30 +00:00
Ulf Samuelsson
7a478629c1 Use linke to build-time-tools, disable libssp which does not work for cross-compile 2007-09-29 17:32:58 +00:00
Ulf Samuelsson
884482357c Add bells and whistles to allow gcc-4.1.2-AVR32 buildprocess to progress further, not home yet though 2007-09-28 19:53:13 +00:00
Bernhard Reutner-Fischer
4b0d5a80f8 - revert some bad checkins, fixup bad settings in atmel targets and move the gcc target abi back to a place where the other arch-specific settings live 2007-09-26 21:12:38 +00:00
Ulf Samuelsson
b0b368f545 "Project Name" needed before "root" file system can be copied.
Put first according to principle of configuration order
Merge root skeleton configuration to one place
- currently in package/busybox/Config.in
- Should maybe have it's own Config.in
gcc ABI configuration moved from toplevel to toolchain/gcc/Config.in
2007-09-26 06:13:09 +00:00
Ulf Samuelsson
01426334b4 reinstate AVR32 toolchain 2007-09-26 05:36:11 +00:00
Bernhard Reutner-Fischer
4a217a2372 - fix typo 2007-09-25 17:21:33 +00:00
Bernhard Reutner-Fischer
1c1f04aca9 - build a cross c++ compiler if we're asked to build libstdc++ 2007-09-25 16:39:22 +00:00
Bernhard Reutner-Fischer
56b426eeb3 - Schedule removal of ancient versions (configuration part). 2007-09-25 11:53:44 +00:00
Bernhard Reutner-Fischer
d8fc1c0a74 - remove one invariant in toolchain type selection. 2007-09-25 08:18:36 +00:00
Bernhard Reutner-Fischer
5010039460 - revert patch that obfuscates the config UI and doesn't reflect the order of config steps 2007-09-25 07:55:45 +00:00
Ulf Samuelsson
34a88f1fb0 Reorganize configs to even more logical positions 2007-09-24 21:10:43 +00:00
Bernhard Reutner-Fischer
373e0727ba - rebuild compiler if libstdcpp setting was changed 2007-09-23 21:23:10 +00:00