summaryrefslogtreecommitdiff
path: root/toolchain
AgeCommit message (Collapse)Author
2011-05-13Merge branch 'for-2011.05/new-codesourcery-toolchain' of ↵Peter Korsgaard
http://free-electrons.com/~thomas/buildroot
2011-05-13external-toolchain: Add MIPS CodeSourcery 2011.03Thomas Petazzoni
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2011-05-13external-toolchain: Add ARM CodeSourcery 2011.03Thomas Petazzoni
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2011-05-12toolchain: bump 2.6.38 headers to 2.6.38.6Gustavo Zacarias
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-05-08external-toolchain: fix supportThomas Petazzoni
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-06sh: Only use the CodeSourcery toolchain for SH4A devicesPhil Edworthy
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-05Get rid of unneeded CFLAGSPeter Korsgaard
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-05Add toolchain wrapper for external toolchainsPeter Korsgaard
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-05sh: Fix CodeSourcery toolchain prefixPhil Edworthy
Signed-off-by: Phil Edworthy <phil.edworthy@renesas.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-05-03toolchain: bump 2.6.38 kernel headers to 2.6.38.5Gustavo Zacarias
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-05-02toolchain: update gcc snapshot versionGustavo Zacarias
* 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-02toolchain: mark mklibs as brokenGustavo Zacarias
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-02toolchain/gcc: add openmp support optionGustavo Zacarias
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-02toolchain: bump gcc 4.5 series to verion 4.5.3Gustavo Zacarias
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-05-02uClibc: add linuxthreads/errno fix for snapshot versionGustavo Zacarias
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-04-29toolchain-external: remove extra space in RPC option stringPeter Korsgaard
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-04-29uClibc: add linuxthreads/errno fix for 0.9.31 / 0.9.32-rc3Peter Korsgaard
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-29kernel-headers: bump 2.6.35.x longterm versionPeter Korsgaard
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-04-27toolchain/gcc: FINEGRAINEDMTUNE: remove checks for unused/outdated versionsPeter Korsgaard
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-04-27toolchain: update uClibc snapshot config again to avoid build stallsGustavo Zacarias
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-27toolchain: bump 2.6.38 kernel headers to 2.6.38.4Gustavo Zacarias
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-04-26toolchain: add gcc 4.6.0Gustavo Zacarias
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-26toolchain: make target gcc a working optionGustavo Zacarias
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-26toolchain: reorganize target gcc optionsGustavo Zacarias
* 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-26toolchain: add inotify_init1 syscall support to uclibc 0.9.31Gustavo Zacarias
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-26toolchain: add SOCK_CLOEXEC and SOCK_NONBLOCK support to uclibc 0.9.31Gustavo Zacarias
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-26toolchain: update uClibc snapshot config to avoid build stallsGustavo Zacarias
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-04-26sh: Fix displayed name of CodeSourcery toolchainPhil Edworthy
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-24toolchain/crosstool-NG: correctly copy the dynamic linkerYann E. MORIN
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-21toolchain: bump 2.6.35 kernel headers to 2.6.35.12Gustavo Zacarias
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-04-20toolchain/crosstool-NG: bump version to 1.10.1Yann E. MORIN
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-20toolchain/crosstool-NG: fix sysroot nameYann E. MORIN
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-19crosstool-ng: fix target libc install after s/sys-root/sysroot/ renamePeter Korsgaard
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-04-19kernel-headers: bump 2.6.38.x stable versionPeter Korsgaard
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-04-19toolchain/gcc: bump 4.4.x versionPeter Korsgaard
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-03-29kernel-headers: bump 2.6.37.x / 2.6.38.x stable versionsPeter Korsgaard
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-03-24kernel-headers: bump 2.6.37.x / 2.6.38.x stable versionsPeter Korsgaard
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-03-16uClibc: bump 0.9.32-rc versionPeter Korsgaard
To -rc3 and update defconfig to match. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-03-15kernel-headers: add 2.6.38, remove 2.6.34.xPeter Korsgaard
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-03-15kernel-headers: bump 2.6.37.x stable versionPeter Korsgaard
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-03-11toolchain/gcc/4.2.4: Remove libstdc++ uClibc locale patchesWill Newton
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-08kernel-headers: bump 2.6.37.x stable versionPeter Korsgaard
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-02-28gdb: depend on host-expat to fix remote debuggingBjørn Forsman
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-25uClibc: fix uclibc-menuconfig with ccache enabledPeter Korsgaard
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-25crosstool-ng: fix ctng-menuconfig with ccache enabledPeter Korsgaard
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-25kernel-headers: bump 2.6.37.x stable versionPeter Korsgaard
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-02-20toolchain/gcc/4.2.4: Add missing hunk to gcc 4.2.4 libgcc patch.Will Newton
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-18kernel-headers: bump 2.6.36.x / 2.6.37.x stable versionsPeter Korsgaard
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-02-17toolchain/ct-ng: use program_invocation_name option from BR configYann E. MORIN
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-02-10target gcc: fix recompilation issueGustavo Zacarias
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>