Commit Graph

1389 Commits

Author SHA1 Message Date
Gustavo Zacarias
8e92c2dc65 toolchain: bump 2.6.38 headers to 2.6.38.6
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-05-12 17:44:59 +02:00
Thomas Petazzoni
c59d024754 external-toolchain: fix support
The recent commit adding the external toolchain wrapper has broken the
support for external toolchain. The check_arm_eabi, check_cplusplus
and check_cross_compiler_exists functions were using TARGET_CC, which
points to the toolchain wrapper, but at the moment those functions are
called, the wrapper hasn't been generated yet.

We fix this by passing to these functions the path to the C or C++
compiler they should use for their tests.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-05-08 21:56:10 +02:00
Phil Edworthy
e46ba3c65b sh: Only use the CodeSourcery toolchain for SH4A devices
The CodeSourcery toolchain listed is only for SH4A devices.

Signed-off-by: Phil Edworthy <phil.edworthy@renesas.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-05-06 14:26:36 +02:00
Peter Korsgaard
125e2558b2 Get rid of unneeded CFLAGS
Now that we use a wrapper for external toolchains (and internal ones
default to the correct setting), we no longer need to explicitly pass
sysroot/march/mtune/mabi/floating point mode in TARGET_CFLAGS.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-05-05 23:39:03 +02:00
Peter Korsgaard
85dc57f6fd Add toolchain wrapper for external toolchains
Add a simple toolchain wrapper for external toolchains, which forces the
correct sysroot/march/mtune/floating point options needed to use it
with buildroot.

With this in place the external toolchain behaves similar to the internal
ones, and the special handling can be removed. This also means that the
toolchain is usable outside buildroot without having to pass any special
compiler flags.

Also adjust the downloadable external toolchain support to install under
HOST_DIR so it can be used after the temporary build files are removed.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-05-05 23:38:58 +02:00
Phil Edworthy
6721878972 sh: Fix CodeSourcery toolchain prefix
Signed-off-by: Phil Edworthy <phil.edworthy@renesas.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-05-05 15:15:05 +02:00
Gustavo Zacarias
c96e483ced toolchain: bump 2.6.38 kernel headers to 2.6.38.5
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-05-03 15:06:33 +02:00
Gustavo Zacarias
1db3939ad9 toolchain: update gcc snapshot version
* Make mpc mandatory since we are probably building bleeding-edge
* Change snapshot naming convention to match the source

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-05-02 23:12:30 +02:00
Gustavo Zacarias
48a00cc2ce toolchain: mark mklibs as broken
mklibs is a broken option, so mark it as so pending a proper fixup or
punting it.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-05-02 21:39:53 +02:00
Gustavo Zacarias
0073143087 toolchain/gcc: add openmp support option
Add OpenMP support in gcc as an option instead of dynamically enabling
it when threads are present.
Also fix it up since we never installed libgomp to the target or staging
thus it was never really functional.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-05-02 21:15:50 +02:00
Gustavo Zacarias
0a2af382bb toolchain: bump gcc 4.5 series to verion 4.5.3
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-05-02 21:14:44 +02:00
Gustavo Zacarias
d2b325c1f0 uClibc: add linuxthreads/errno fix for snapshot version
See uclibc #2089 for details.

This is still not included upstream, but lets include it anyway as
several people have been running into the issue.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-05-02 17:43:01 +02:00
Peter Korsgaard
8b370e6380 toolchain-external: remove extra space in RPC option string
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-04-29 13:25:37 +02:00
Peter Korsgaard
06c1d1001e uClibc: add linuxthreads/errno fix for 0.9.31 / 0.9.32-rc3
See uclibc #2089 for details.

This is still not included upstream, but lets include it anyway as
several people have been running into the issue.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-04-29 11:15:44 +02:00
Peter Korsgaard
2405fa26a8 kernel-headers: bump 2.6.35.x longterm version
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-04-29 08:56:33 +02:00
Peter Korsgaard
fc8b776635 toolchain/gcc: FINEGRAINEDMTUNE: remove checks for unused/outdated versions
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-04-27 22:13:48 +02:00
Gustavo Zacarias
eac3475c47 toolchain: update uClibc snapshot config again to avoid build stalls
Update uClibc snapshot version config to avoid build stalls.

This time we take care of the new UCLIBC_HAS_FTS and
UCLIBC_HAS_BACKTRACE options.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-04-27 20:54:30 +02:00
Gustavo Zacarias
66fec73cb6 toolchain: bump 2.6.38 kernel headers to 2.6.38.4
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-04-27 20:53:48 +02:00
Gustavo Zacarias
f8fe67e12e toolchain: add gcc 4.6.0
Add gcc 4.6.0 to the toolchain repertoire:

Target gcc is known to be broken in some scenarios.

This version is considered experimental so things may break.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-04-26 22:46:59 +02:00
Gustavo Zacarias
243e4edc74 toolchain: make target gcc a working option
Make target gcc a more usable option.

* Nuke duplicate libgcc_s*.so* in /usr/lib since it confuses target gcc
* Copy *crt*.o files to the target system to unbreak gcc

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-04-26 22:43:44 +02:00
Gustavo Zacarias
4612aeec57 toolchain: reorganize target gcc options
* Move target gcc language selections to the package menu.
* Disable objc & fortran options unless target gcc is selected.
* Rename the "native toolchain" option to gcc.
* Disable target gcc unless we're using a buildroot toolchain.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-04-26 22:39:34 +02:00
Gustavo Zacarias
4cf6ec229f toolchain: add inotify_init1 syscall support to uclibc 0.9.31
Add inotify_init1 system call support to uclibc 0.9.31.
Required for modern versions of udev.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-04-26 22:37:51 +02:00
Gustavo Zacarias
99c1547124 toolchain: add SOCK_CLOEXEC and SOCK_NONBLOCK support to uclibc 0.9.31
Add SOCK_CLOEXEC and SOCK_NONBLOCK support to uclibc 0.9.31.
Required for modern versions of udev.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-04-26 22:36:29 +02:00
Gustavo Zacarias
86afa1ed6e toolchain: update uClibc snapshot config to avoid build stalls
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-04-26 21:38:46 +02:00
Phil Edworthy
ffa7b99723 sh: Fix displayed name of CodeSourcery toolchain
Signed-off-by: Phil Edworthy <phil.edworthy@renesas.com>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-04-26 16:37:42 +02:00
Yann E. MORIN
4b4e5827a2 toolchain/crosstool-NG: correctly copy the dynamic linker
Depending on some setting (which? Arch? Others?), the dynamic linker
can get different names. Some times, it is named ld-linux.something.so,
other times, it is ld.so.1, and maybe other variants as well...

The fix is to always copy ls*.so, even if it is a symlink: we create
the destination file by its SONAME, and if ld*.so matches more than
one file, that's no issue, as they would all get the same SONAME (being
symlinks ones to the others).

Split long lines at the same time.

Reported-by: Ettore Campion <ecampion@gmail.com>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-04-24 22:37:37 +02:00
Gustavo Zacarias
36449d1f2a toolchain: bump 2.6.35 kernel headers to 2.6.35.12
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-04-21 10:29:11 +02:00
Yann E. MORIN
f98c8d65bd toolchain/crosstool-NG: bump version to 1.10.1
At the same time, also use the new upstream location.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-04-20 15:13:13 +02:00
Yann E. MORIN
d9124d0da9 toolchain/crosstool-NG: fix sysroot name
We have to ensure that the sysroot created while building the
toolchain will be the one we later search for libraries. So:
 - hide the sysroot name prompt from the ct-ng menu.
 - force the sysroot name to be 'sysroot'.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-04-20 15:13:09 +02:00
Peter Korsgaard
b4f976f28b crosstool-ng: fix target libc install after s/sys-root/sysroot/ rename
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-04-19 22:46:04 +02:00
Peter Korsgaard
a29731c4c3 kernel-headers: bump 2.6.38.x stable version
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-04-19 16:52:35 +02:00
Peter Korsgaard
2af9541e2c toolchain/gcc: bump 4.4.x version
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-04-19 14:11:35 +02:00
Peter Korsgaard
10f9ef7081 kernel-headers: bump 2.6.37.x / 2.6.38.x stable versions
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-03-29 22:19:49 +02:00
Peter Korsgaard
24c7a24797 kernel-headers: bump 2.6.37.x / 2.6.38.x stable versions
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-03-24 13:11:52 +01:00
Peter Korsgaard
b922f6404d uClibc: bump 0.9.32-rc version
To -rc3 and update defconfig to match.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-03-16 22:28:13 +01:00
Peter Korsgaard
aa08cb6f57 kernel-headers: add 2.6.38, remove 2.6.34.x
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-03-15 09:09:32 +01:00
Peter Korsgaard
05e9c80832 kernel-headers: bump 2.6.37.x stable version
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-03-15 00:01:39 +01:00
Will Newton
a1c305c8a7 toolchain/gcc/4.2.4: Remove libstdc++ uClibc locale patches
These patches do not build with more recent versions of uClibc
going back as far as at least 2008. More recent compiler versions
seem to do fine without these patches, so lets remove them so
libstdc++ locale support will actually build for gcc 4.2.4.

Signed-off-by: Will Newton <will.newton@imgtec.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-03-11 22:31:44 +01:00
Peter Korsgaard
820a07365b kernel-headers: bump 2.6.37.x stable version
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-03-08 14:56:26 +01:00
Bjørn Forsman
816303a49d gdb: depend on host-expat to fix remote debugging
This patch fixes the following error when using GDB with gdbserver:

  warning: Can not parse XML target description; XML support was disabled at compile time
  Remote 'g' packet reply is too long: <very long line of hex chars>
  [remote debugging does not work]

Use $(HOST_CONFIGURE_OPTS) so expat is found.

Signed-off-by: Bjørn Forsman <bjorn.forsman@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-02-28 10:26:17 +01:00
Peter Korsgaard
9209091780 uClibc: fix uclibc-menuconfig with ccache enabled
If ccache is enabled, we need to ensure it is built for the host before
anything else.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-02-25 13:18:45 +01:00
Peter Korsgaard
6c016c07e4 crosstool-ng: fix ctng-menuconfig with ccache enabled
If ccache is enabled, we need to ensure it is built for the host before
anything else.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-02-25 13:08:39 +01:00
Peter Korsgaard
afba8bc930 kernel-headers: bump 2.6.37.x stable version
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-02-25 11:58:55 +01:00
Will Newton
eabc25999d toolchain/gcc/4.2.4: Add missing hunk to gcc 4.2.4 libgcc patch.
This patch is required to build gcc 4.2.4 libgcc with dwarf2
unwinding support enabled.

Signed-off-by: Will Newton <will.newton@imgtec.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-02-20 23:32:49 +01:00
Peter Korsgaard
7608184673 kernel-headers: bump 2.6.36.x / 2.6.37.x stable versions
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-02-18 13:23:43 +01:00
Yann E. MORIN
5ad3621259 toolchain/ct-ng: use program_invocation_name option from BR config
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-02-17 14:05:47 +01:00
Gustavo Zacarias
2a161016d7 target gcc: fix recompilation issue
gcc_target wants uclibc_target which is now first stage uclibc (not
real, from the NPTL build stage addition).
This triggers gcc-final to be rebuilt (albeit cached) and reinstalled,
thus touching all the stamps around and triggering a rebuild of
gcc_target.
Switch to $(STAMP_DIR)/gcc_libs_target_installed instead so that we only
depend on the last stage of cross gcc being installed to rebuild.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-02-10 20:15:16 +01:00
Yann E. MORIN
835357388f toolchain/ct-ng: use soft-float option from BR config
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-02-10 11:23:59 +01:00
Yann E. MORIN
a8e4599212 toolchain/ct-ng: use processor variant from BR config
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-02-10 11:23:59 +01:00
Yann E. MORIN
072df930ab toolchain/ct-ng: use MMU option from the BR config
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-02-10 11:23:59 +01:00