summaryrefslogtreecommitdiffstats
path: root/toolchain
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'for-2011.05/new-codesourcery-toolchain' of ↵Peter Korsgaard2011-05-132-0/+45
|\ | | | | | | http://free-electrons.com/~thomas/buildroot
| * external-toolchain: Add MIPS CodeSourcery 2011.03Thomas Petazzoni2011-05-132-0/+27
| | | | | | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
| * external-toolchain: Add ARM CodeSourcery 2011.03Thomas Petazzoni2011-05-132-0/+18
| | | | | | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* | toolchain: bump 2.6.38 headers to 2.6.38.6Gustavo Zacarias2011-05-121-1/+1
|/ | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* external-toolchain: fix supportThomas Petazzoni2011-05-082-7/+17
| | | | | | | | | | | | | | 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>
* sh: Only use the CodeSourcery toolchain for SH4A devicesPhil Edworthy2011-05-061-1/+1
| | | | | | | 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>
* Get rid of unneeded CFLAGSPeter Korsgaard2011-05-051-0/+4
| | | | | | | | 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>
* Add toolchain wrapper for external toolchainsPeter Korsgaard2011-05-052-7/+152
| | | | | | | | | | | | | | | | 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>
* sh: Fix CodeSourcery toolchain prefixPhil Edworthy2011-05-051-1/+1
| | | | | Signed-off-by: Phil Edworthy <phil.edworthy@renesas.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* toolchain: bump 2.6.38 kernel headers to 2.6.38.5Gustavo Zacarias2011-05-031-1/+1
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* toolchain: update gcc snapshot versionGustavo Zacarias2011-05-023-4/+21
| | | | | | | | * 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>
* toolchain: mark mklibs as brokenGustavo Zacarias2011-05-021-0/+1
| | | | | | | | 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>
* toolchain/gcc: add openmp support optionGustavo Zacarias2011-05-022-1/+22
| | | | | | | | | | 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>
* toolchain: bump gcc 4.5 series to verion 4.5.3Gustavo Zacarias2011-05-0211-72/+2
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* uClibc: add linuxthreads/errno fix for snapshot versionGustavo Zacarias2011-05-021-0/+70
| | | | | | | | | | 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>
* toolchain-external: remove extra space in RPC option stringPeter Korsgaard2011-04-291-1/+1
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* uClibc: add linuxthreads/errno fix for 0.9.31 / 0.9.32-rc3Peter Korsgaard2011-04-292-0/+168
| | | | | | | | | 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>
* kernel-headers: bump 2.6.35.x longterm versionPeter Korsgaard2011-04-292-1/+1
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* toolchain/gcc: FINEGRAINEDMTUNE: remove checks for unused/outdated versionsPeter Korsgaard2011-04-271-1/+1
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* toolchain: update uClibc snapshot config again to avoid build stallsGustavo Zacarias2011-04-271-0/+2
| | | | | | | | | | 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>
* toolchain: bump 2.6.38 kernel headers to 2.6.38.4Gustavo Zacarias2011-04-271-1/+1
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* toolchain: add gcc 4.6.0Gustavo Zacarias2011-04-2610-3/+310
| | | | | | | | | | | 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>
* toolchain: make target gcc a working optionGustavo Zacarias2011-04-261-1/+6
| | | | | | | | | | 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>
* toolchain: reorganize target gcc optionsGustavo Zacarias2011-04-262-16/+16
| | | | | | | | | | * 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>
* toolchain: add inotify_init1 syscall support to uclibc 0.9.31Gustavo Zacarias2011-04-261-0/+64
| | | | | | | | 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>
* toolchain: add SOCK_CLOEXEC and SOCK_NONBLOCK support to uclibc 0.9.31Gustavo Zacarias2011-04-261-0/+43
| | | | | | | | 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>
* toolchain: update uClibc snapshot config to avoid build stallsGustavo Zacarias2011-04-261-0/+2
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* sh: Fix displayed name of CodeSourcery toolchainPhil Edworthy2011-04-261-2/+2
| | | | | | 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>
* toolchain/crosstool-NG: correctly copy the dynamic linkerYann E. MORIN2011-04-241-3/+4
| | | | | | | | | | | | | | | | | 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>
* toolchain: bump 2.6.35 kernel headers to 2.6.35.12Gustavo Zacarias2011-04-212-1/+1
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* toolchain/crosstool-NG: bump version to 1.10.1Yann E. MORIN2011-04-201-2/+2
| | | | | | | 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>
* toolchain/crosstool-NG: fix sysroot nameYann E. MORIN2011-04-202-0/+13
| | | | | | | | | | 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>
* crosstool-ng: fix target libc install after s/sys-root/sysroot/ renamePeter Korsgaard2011-04-191-1/+1
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* kernel-headers: bump 2.6.38.x stable versionPeter Korsgaard2011-04-191-1/+1
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* toolchain/gcc: bump 4.4.x versionPeter Korsgaard2011-04-198-1/+1
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* kernel-headers: bump 2.6.37.x / 2.6.38.x stable versionsPeter Korsgaard2011-03-291-2/+2
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* kernel-headers: bump 2.6.37.x / 2.6.38.x stable versionsPeter Korsgaard2011-03-241-2/+2
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* uClibc: bump 0.9.32-rc versionPeter Korsgaard2011-03-162-2/+4
| | | | | | To -rc3 and update defconfig to match. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* kernel-headers: add 2.6.38, remove 2.6.34.xPeter Korsgaard2011-03-153-67/+7
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* kernel-headers: bump 2.6.37.x stable versionPeter Korsgaard2011-03-151-1/+1
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* toolchain/gcc/4.2.4: Remove libstdc++ uClibc locale patchesWill Newton2011-03-115-3434/+0
| | | | | | | | | | 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>
* kernel-headers: bump 2.6.37.x stable versionPeter Korsgaard2011-03-081-1/+1
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* gdb: depend on host-expat to fix remote debuggingBjørn Forsman2011-02-281-1/+2
| | | | | | | | | | | | | 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>
* uClibc: fix uclibc-menuconfig with ccache enabledPeter Korsgaard2011-02-251-0/+7
| | | | | | | 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>
* crosstool-ng: fix ctng-menuconfig with ccache enabledPeter Korsgaard2011-02-251-1/+2
| | | | | | | 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>
* kernel-headers: bump 2.6.37.x stable versionPeter Korsgaard2011-02-251-1/+1
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* toolchain/gcc/4.2.4: Add missing hunk to gcc 4.2.4 libgcc patch.Will Newton2011-02-201-0/+17
| | | | | | | | 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>
* kernel-headers: bump 2.6.36.x / 2.6.37.x stable versionsPeter Korsgaard2011-02-181-2/+2
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* toolchain/ct-ng: use program_invocation_name option from BR configYann E. MORIN2011-02-171-0/+7
| | | | | Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* target gcc: fix recompilation issueGustavo Zacarias2011-02-101-1/+1
| | | | | | | | | | | | | 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>