aboutsummaryrefslogtreecommitdiffstats
path: root/toolchain
Commit message (Collapse)AuthorAgeFilesLines
* toolchain-external: fix bfin external toolchain downloadPeter Korsgaard2013-07-111-2/+2
| | | | | | | | | | | | Fixes http://autobuild.buildroot.org/results/7d0/7d0eee796407880a4554474e5affbe98b8caa271/ Commit 1cbffbd (eliminate double slashes caused by FOO_SITE ending in a slash) added a double replacement for the special bfin external toolchain download, breaking it. Fix it by removing the 2nd replacement. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* toolchain: disable C++ support on AVR32 gcc 4.2 with uClibcThomas Petazzoni2013-07-081-0/+5
| | | | | | | | | | | | | | In 25c3160092d7 ("uClibc 0.9.31: remove stray kludges/conditions"), a conditional that prevents the combination gcc 4.2-avr / C++ / locale with uClibc 0.9.31 was removed. However, it turns out that the same problem is affecting uClibc 0.9.33, described at http://comments.gmane.org/gmane.comp.lib.uclibc.buildroot/24260. Therefore, we prevent the combination of gcc 4.2-avr / C++ / locale to happen. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Make the microblaze toolchains easily distinguishableJan Viktorin2013-07-081-2/+2
| | | | | | | | | It was confusing to have two different toolchains with the same label. Signed-off-by: Jan Viktorin <xvikto03@stud.fit.vutbr.cz> Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* eglibc: enable support in the Buildroot toolchain backendThomas Petazzoni2013-07-043-1/+44
| | | | | | | | | | | | | | | | | | | | | | | | | Using the newly introduced 'eglibc' package, this commit enables the option of building a toolchain using the eglibc C library in the Buildroot toolchain backend. In details, this commit: * Creates a choice to select uClibc or eglibc in the Buildroot toolchain backend (in toolchain/toolchain-buildroot/Config.in), and removes the fact that the Buildroot toolchain backend forcefully enables uClibc (toolchain/Config.in). * Creates a BUILDROOT_LIBC variables, which points to the package implementing the C library (i.e either 'uclibc' or 'eglibc'). * Modifies the gcc-final and gcc-intermediate makefiles to use the BUILDROOT_LIBC variable instead of hardcoding the use of uclibc. * Ensures that TLS support is always enabled when building eglibc. [Peter: fix commit text to refer to BUILDROOT_LIBC] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* uclibc: move configuration options into the packageThomas Petazzoni2013-07-041-77/+0
| | | | | | | | | | In preparation for the introduction of the eglibc library to the internal toolchain backend, the options that allow to enable/disable C library features such as largefile, IPv6, RPC and so on now belong to the uClibc package. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Introduce BR2_TOOLCHAIN_USES_{UCLIBC, GLIBC}Thomas Petazzoni2013-07-044-21/+23
| | | | | | | | | | | | | | | | | Currently, when we need to do a conditional on the type of C library used, we need to take into account the three toolchain backends. As we are going to add eglibc support to the Buildroot toolchain backend, it would become even uglier, so this patch introduces two new hidden options: BR2_TOOLCHAIN_USES_UCLIBC and BR2_TOOLCHAIN_USES_GLIBC, that exist regardless of the toolchain backend. The entire Buildroot code base is converted to use those options. Note that we have intentionally created only one option (BR2_TOOLCHAIN_USES_GLIBC) for both glibc and eglibc, since they are essentially the same, as far as Buildroot is concerned. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Use more sensible names for the external/ctng targetsThomas Petazzoni2013-07-042-12/+9
| | | | | | | | | Instead of using the 'uclibc' target for all toolchain backends, introduce more sensible target names for the external toolchain and Crosstool-NG toolchain backend make targets. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* uclibc: convert to the package infrastructureThomas Petazzoni2013-07-0419-1916/+2
| | | | | | [Peter: update manual to match] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* toolchain: switch to using gcc through package infrastructureThomas Petazzoni2013-07-0363-3578/+22
| | | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* kernel-headers: migrate to the package infrastructureThomas Petazzoni2013-07-038-251/+5
| | | | | | [Peter: fix file header] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* elf2flt: convert to the package infrastructureThomas Petazzoni2013-07-0323-14035/+1
| | | | | | [Peter: Correct legacy position] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* kernel-headers: bump 3.0.x / 3.4.x / 3.9.x stable versionsPeter Korsgaard2013-07-032-3/+3
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* toolchain/gcc: get rid of stale variable referenceThomas Petazzoni2013-07-031-2/+1
| | | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* toolchain: remove references to LIBFLOAT_TARGETThomas Petazzoni2013-07-032-2/+2
| | | | | | | | | | The libfloat package was removed in accbd71154b8815678baa12f21f853ed8478f400, and therefore since this commit, the LIBFLOAT_TARGET variable is always empty. We get rid of the stale references to this variable. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* toolchain/gcc: remove dead code related to host binary strippingThomas Petazzoni2013-07-031-5/+0
| | | | | | | | | The GCC_STRIP_HOST_BINARIES variable was always defined to 'nope', which means that the host binaries were never stripped. Get rid of the corresponding code, which is not in use. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* uClibc: KERNEL_SOURCE no longer existsThomas Petazzoni2013-07-021-1/+0
| | | | | | | | The KERNEL_SOURCE configuration option no longer exists in uClibc, so there's no point in setting it. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* kernel-headers: bump 3.{0, 4, 9}.x stable versionGustavo Zacarias2013-06-282-3/+3
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* toolchain/uClibc: properly honor DEBUG and STRIP optionsGustavo Zacarias2013-06-271-0/+12
| | | | | | | | | | | The default uClibc configurations strip the resulting binaries/libraries and don't add debug symbols which is a problem when wanting to debug issues. Bind the buildroot BR2_STRIP_* option to uClibc .config DO_STRIP and BR2_ENABLE_DEBUG to uClibc DO_DEBUG. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* toolchain-external: bump to Linaro AArch64 2013.06Thomas Petazzoni2013-06-232-10/+11
| | | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* toolchain-external: bump to Linaro ARM 2013.06Thomas Petazzoni2013-06-232-14/+14
| | | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* kernel-headers: bump 3.{0, 4, 9}.x stable versionGustavo Zacarias2013-06-232-3/+3
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Normalize separator size to 80 in remaining makefilesAlexandre Belloni2013-06-202-12/+12
| | | | | Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* kernel-headers: bump 3.2.x stable versionPeter Korsgaard2013-06-191-1/+1
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* uClibc 0.9.31: remove stray kludges/conditionsGustavo Zacarias2013-06-171-10/+1
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* arm: update processor typesKelvin Cheung2013-06-161-4/+4
| | | | | | | Update arm architecture variant: add the cortex A7. Signed-off-by: Kelvin Cheung <keguang.zhang@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* kernel-headers: bump 3.{0, 4, 9}.x stable versionGustavo Zacarias2013-06-142-3/+3
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* toolchain/uClibc: remove deprecated version 0.9.31Gustavo Zacarias2013-06-1216-8289/+0
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* toolchain-external: Install blackfin FDPIC and FLAT librariesSonic Zhang2013-06-112-12/+82
| | | | | | | | | | | | | | | | | | | | | | | | | | For certain situations, users may want to install shared FLAT libraries to the target filesystem even if FDPIC is used as the primary binary format, or symmetrically users may want to install FDPIC libraries to the target filesystem even if shared FLAT is used as the primary binary format. This commit allows that by: * Offering additional Kconfig options to install shared FLAT or FDPIC libraries even when those libraries are not selected as the primary binary format. * Preserving all Blackfin toolchain folders under the TOOLCHAIN_EXTERNAL_DIR, instead of keeping only the one related to the selected binary format. * Adding some additional install targets that do the installation of either the shared FLAT or FDPIC libraries when requested. [Thomas: refactored code, adjusted commit log] Signed-off-by: Sonic Zhang <sonic.zhang@analog.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* ext-toolchain-wrapper: force hash-style to 'both'Patrick Ziegler2013-06-111-1/+3
| | | | | | | | | | | If ext-toolchain-wrapper was built with a gcc that uses hash-style 'gnu' by default, the resulting binary might be unusable on other systems. The error in this case is "Floating point exception". Using hash-style 'both' solves this issue. Signed-off-by: Patrick Ziegler <patrick.ziegler@fh-kl.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* toolchain-external: add arch conditionals on Arago ARMv5TE toolchainThomas Petazzoni2013-06-111-0/+3
| | | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* toolchain-external: use BR2_GCC_TARGET_ARCH for toolchain conditionalsThomas Petazzoni2013-06-111-5/+5
| | | | | | | | | | | | | Instead of a long list of the ARMv7-A Cortex-A, use a conditional based on BR2_GCC_TARGET_ARCH to hide/show toolchains that are only usable on ARMv7-A. However, in the comment related to Linaro toolchains, we keep mentioning Cortex-A{5,8,9,15} because that's what users see when they select their architecture variant. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* toolchain-external: add support for Arago 2011.09 ARMv5Thomas Petazzoni2013-06-112-0/+22
| | | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* toolchain-external: add support for Arago 2011.09 ARMv7AThomas Petazzoni2013-06-112-0/+26
| | | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* toolchain-external: bump Linaro AArch64 toolchains to 2013.04 and 2013.05Thomas Petazzoni2013-06-112-15/+17
| | | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* toolchain-external: bump Linaro ARM toolchains to 2013.04 and 2013.05Thomas Petazzoni2013-06-112-18/+18
| | | | | | | | We add support for Linaro 2013.04 and Linaro 2013.05 and remove support for Linaro 2013.01 and Linaro 2013.02. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* toolchain-external: Version bump to 2013.05 release for MIPSMarkos Chandras2013-06-102-24/+24
| | | | | | | | | Remove old 2011.09 release. Allow MIPS64 cores on 2013.05 release since they are supported by the toolchain. Signed-off-by: Markos Chandras <markos.chandras@imgtec.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* kernel-headers: bump 3.{0, 2, 4, 9}.x stable versionGustavo Zacarias2013-06-082-5/+5
| | | | | | | And mark 3.8.x series as deprecated to match upstream. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Normalize separator size to 80Jerzy Grzegorek2013-06-073-6/+6
| | | | | Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Fix package headersJerzy Grzegorek2013-06-071-0/+4
| | | | | Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Merge branch 'next'Peter Korsgaard2013-06-0211-32/+32
|\
| * gcc: bump 4.8.x versionPeter Korsgaard2013-05-318-1/+1
| | | | | | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
| * toolchain-external: remove support for 'Sourcery CodeBench ARM 2011.03'Fabio Porcedda2013-05-282-29/+1
| | | | | | | | | | | | Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
| * toolchain-external: add support for 'Sourcery CodeBench ARM 2013.05'Fabio Porcedda2013-05-272-0/+28
| | | | | | | | | | | | Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
| * Choose xz compressed tarball for linux kernel.Raúl Sánchez Siles2013-05-111-2/+2
| | | | | | | | | | | | | | | | | | Prefer xz compressed tarball so some bandwidth is saved for kernel headers and kernel itself downloads. Signed-off-by: Raúl Sánchez Siles <rasasi78@gmail.com> Reviewed-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* | ext-toolchain-wrapper: fix paths if executable was resolved by PATHPatrick Ziegler2013-05-311-2/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | If ext-toolchain-wrapper or any symbolic link to it was resolved by PATH, the wrapper takes the working directory to calculate the relative paths. Now '/proc/self/exe' is used to resolve the absolute path to the toolchain directory if the wrapper was called neither with a relative nor an absolute path. [Peter: fix off-by-one, swap value == var checks around] Signed-off-by: Patrick Ziegler <patrick.ziegler@fh-kl.de> Tested-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* | kernel-headers: bump 3.{0, 4, 9}.x stable versionGustavo Zacarias2013-05-282-3/+3
| | | | | | | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* | Remove useless CVS related filesThomas Petazzoni2013-05-274-22/+0
| | | | | | | | | | | | | | Fixes bug #5912. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* | toolchain: blackfin: Remove Blackfin toolchain 2011R1 release.Sonic Zhang2013-05-272-26/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | ADI officially supports the buildroot and related GNU toolchain for Blackfin since ADI's 2012R1 release only. In order to avoid confusion, it is better to remove the 2011R1 GNU toolchain for Blackfin. In addition, the 2011R1 GNU toolchain for Blackfin doesn't support the BF60x processors. Signed-off-by: Sonic Zhang <sonic.zhang@analog.com> Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* | gcc: fix gcc 4.8 build when thread support is disabledThomas Petazzoni2013-05-271-1/+1
| | | | | | | | | | | | | | | | When thread support is disabled, the libitm and libatomic libraries from gcc should be disabled, otherwise, the build of gcc fails. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* | elf2flt: fix build when zlib is not installed on the hostThomas Petazzoni2013-05-271-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | For a reason that's fairly unclear to me, Peter added a '-lz' link flag to the elf2flt.mk build in d5664ee99 ("elf2flt: fix link"). However, the zlib library may not necessarily be installed on the host machine, so we should depend on host-zlib, and pass the appropriate LDFLAGS. This is what this patch does. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>