summaryrefslogtreecommitdiffstats
path: root/toolchain/toolchain-external/ext-tool.mk
Commit message (Collapse)AuthorAgeFilesLines
* Use more sensible names for the external/ctng targetsThomas Petazzoni2013-07-041-3/+2
| | | | | | | | | 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>
* toolchain-external: bump to Linaro AArch64 2013.06Thomas Petazzoni2013-06-231-3/+3
| | | | | 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-231-3/+3
| | | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* toolchain-external: Install blackfin FDPIC and FLAT librariesSonic Zhang2013-06-111-12/+55
| | | | | | | | | | | | | | | | | | | | | | | | | | 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 support for Arago 2011.09 ARMv5Thomas Petazzoni2013-06-111-0/+7
| | | | | 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-111-0/+8
| | | | | 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-111-7/+7
| | | | | 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-111-6/+6
| | | | | | | | 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-101-3/+3
| | | | | | | | | 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>
* Merge branch 'next'Peter Korsgaard2013-06-021-4/+4
|\
| * toolchain-external: remove support for 'Sourcery CodeBench ARM 2011.03'Fabio Porcedda2013-05-281-4/+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-271-0/+3
| | | | | | | | | | | | 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: blackfin: Remove Blackfin toolchain 2011R1 release.Sonic Zhang2013-05-271-7/+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>
* | toolchain-external: fix bug #5054Gustavo Zacarias2013-05-111-1/+1
|/ | | | | | | | | | | | | | | | | | | | The external toolchain logic checks (and finds) the proper ARCH_LIB_DIR and forcibly copies it to */lib even if it's in */lib64 This is all well until the check is done for create_lib64_symlinks which only verifies if ARCH_SYSROOT_DIR/lib64 is a symlink, which in some toolchain it's a real directory (like sourcery x86_64 2012.09) and thus doesn't make the symlink in the target. Fix this by also checking for a real directory. Easily reproducible by running "make qemu_x86_64_defconfig", switching to an external toolchain before build, building and then trying to run the resulting image. Closes bug #5054 Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* arch: toolchain: Introduce target CPU revision.Sonic Zhang2013-05-051-0/+4
| | | | | | | | | Adds the possibility to have a free-form CPU revision string and append it to the target CPU. Only Blackfin actually uses this option. Signed-off-by: Sonic Zhang <sonic.zhang@analog.com> Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* arch: toolchain: Introduce binary formats BINFMT_*.Sonic Zhang2013-05-051-0/+4
| | | | | | | | | Just introduce the symbol and options in arch generic Config.in. Append FLAT format link flags to external toolchain wrapper. Signed-off-by: Sonic Zhang <sonic.zhang@analog.com> Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* eliminate double slashes caused by FOO_SITE ending in a slashShawn J. Goff2013-04-151-2/+2
| | | | | | | | | | When a FOO_SITE variable ends in a slash and gets joined with a FOO_SOURCE variable like $(FOO_SITE)/$(FOO_SOURCE), the resulting URI has a double slash. While double-slashes are fine in unix paths, they are reserved in URIs - the part following '//' must be an authority. Signed-off-by: Shawn J. Goff <shawn7400@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* toolchain-external: fix Linaro ARM URLThomas Petazzoni2013-04-131-1/+1
| | | | | | | | | | Commit 79828fc01d92cee84f8703d25f72121f52880ee9 (toolchain-external: update ARM Linaro toolchains) accidently broke the URL for the Linaro 2013.01 toolchain by replacing a .bz2 extension by .bz. This patch fixes this problem. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* toolchain-external: support more gdbserver locationsThomas Petazzoni2013-04-111-3/+3
| | | | | | | | | | | | | | | | | | | | | | | The x86/x86-64 CodeSourcery toolchains use some weird locations for the gdbserver binary: $ find . -name 'gdbserver' ./i686-pc-linux-gnu/libc/atom/usr/bin/gdbserver ./i686-pc-linux-gnu/libc/atom/usr/lib/bin/gdbserver ./i686-pc-linux-gnu/libc/core2/usr/bin/gdbserver ./i686-pc-linux-gnu/libc/core2/usr/lib64/bin/gdbserver ./i686-pc-linux-gnu/libc/usr/lib/bin/gdbserver ./i686-pc-linux-gnu/libc/usr/lib64/bin/gdbserver Notice that it's sometimes hidden in a usr/{lib,lib64}/bin directory. This patch changes the gdbserver logic to also try in this location. Originally based on work done by Daniel Nilsson, visible at http://patchwork.ozlabs.org/patch/155767/. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* toolchain-external: get old microblaze toolchains from sources.buildroot.netPeter Korsgaard2013-04-111-2/+2
| | | | | | | | git.xilinx.com is no longer available (moved to github), and github doesn't allow downloading the tarball blobs directly, so use a local mirror on sources.buildroot.net instead. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* toolchain-external: update AArch64 Linaro toolchainsThomas Petazzoni2013-04-101-6/+6
| | | | | | | | Add the AArch64 Linaro toolchains 2013.02 and 2013.03, remove 2012.11 and 2012.12. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* toolchain-external: update ARM Linaro toolchainsThomas Petazzoni2013-04-101-7/+7
| | | | | | | | Add the ARM Linaro toolchains 2013.02 and 2013.03, remove 2012.11 and 2012.12. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* toolchain-external: add new Microblaze toolchainsThomas Petazzoni2013-02-231-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | The existing Microblaze toolchains that we have have the annoying property of being based on a very old glibc version: 2.3.6. Xilinx provides newer toolchains with glibc 2.14, generated by Crosstool-NG, but they are only available as part of a huge Git repository that contains the gcc, Linux, binutils, glibc sources unpacked (4.4 GB total), which makes is very unpractical. I contacted the Xilinx person who did those toolchains, but they apparently didn't intend to change that anytime soon. So, we have created a tarball for those toolchains, adding a README.txt file in the tarball that points back to the original location that contains the source code for them. Those tarballs are hosted on sources.buildroot.net. This commit then adds support for those two new external toolchains, one for little endian Microblaze, another one for big endian Microblaze. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Make external toolchain relocatableArnout Vandecappelle2013-02-051-4/+12
| | | | | | | | | | | | | | | | | | | | | | The external toolchain wrapper sets sysroot etc. to an absolute path. By changing this to a relative path, it is possible to move the host directory to a different location and still have a working build system. This only works for a downloaded external toolchain. For a pre-installed external toolchain, it is possible to move the host directory to a different location, but not the external toolchain directory (it does work if the external toolchain directory lies within the host directory). For an internal or crosstool-ng toolchain, there is no wrapper so updating the sysroot path should be done in a different way. See http://lists.busybox.net/pipermail/buildroot/2012-February/050371.html for information about others things to do to make the host directory relocatable. Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Acked-by: Samuel Martin <s.martin49@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* toolchain-external: remove support for AArch64 Linaro 2012.10 toolchainThomas Petazzoni2013-02-021-3/+0
| | | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* toolchain-external: add support for AArch64 Linaro 2013.01 toolchainThomas Petazzoni2013-02-021-0/+3
| | | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* toolchain-external: add linaro 2013.01, remove 2012.10Peter Korsgaard2013-02-021-3/+3
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* blackfin: add 2012r2 and remove 2010rc1 toolchainsGustavo Zacarias2013-02-021-7/+7
| | | | | | | | | | Remove the old 2010RC1 toolchain and add the new 2012R2-RC2 toolchain. On related good news the new toolchain fixes: http://autobuild.buildroot.net/results/eac5bd4f4766d98431e72a3c81492a962c85fa98/ since it's got unshare() support now. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* toolchain/external: sprinkle with some calls to MESSAGEYann E. MORIN2013-01-201-3/+5
| | | | | | | | | Thus, the failing step can be easily extracted by autobuilders, to ease with post-mortem analysis. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* toolchain-external: remove support for 'Linaro ARM 2012.09'Thomas Petazzoni2012-12-211-3/+0
| | | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* toolchain-external: add support for 'Linaro ARM 2012.12'Thomas Petazzoni2012-12-211-0/+3
| | | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* toolchain-external: add support for 'Linaro AArch64 12.12'Thomas Petazzoni2012-12-211-0/+3
| | | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* toolchain-external: add support for 'Linaro AArch64 12.11'Thomas Petazzoni2012-12-211-0/+3
| | | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* toolchain-external: simplify many Sourcery CodeBench download URLsThomas Petazzoni2012-12-211-8/+8
| | | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* toolchain-external: remove support for 'Sourcery CodeBench MIPS 2011.03'Thomas Petazzoni2012-12-211-3/+0
| | | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* toolchain-external: remove support for 'Sourcery CodeBench MIPS 4.4'Thomas Petazzoni2012-12-211-3/+0
| | | | | 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 MIPS 2012.09'Thomas Petazzoni2012-12-211-0/+3
| | | | | 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 MIPS 2012.03'Thomas Petazzoni2012-12-211-0/+3
| | | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* toolchain-external: bfin 2012R1-BETA toolchain no longer availablePeter Korsgaard2012-12-061-4/+4
| | | | | | Replace it by -RC2 instead. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Merge branch 'next'Peter Korsgaard2012-12-021-3/+3
|\ | | | | | | Kickoff 2013.02 cycle
| * toolchain-external: remove Linaro 2012.08Thomas Petazzoni2012-11-271-3/+0
| | | | | | | | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
| * toolchain-external: add Linaro 2012.11Thomas Petazzoni2012-11-271-0/+3
| | | | | | | | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* | toolchain-external: fix installation of libthread_dbRichard Braun2012-11-301-1/+1
|/ | | | | | | | Whatever the gdbserver source, as long as it's installed on the target, assume it requires libthread_db. Signed-off-by: Richard Braun <rbraun@sceen.net> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* toolchain-external: remove Linaro 2012.07Thomas Petazzoni2012-11-061-3/+0
| | | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* toolchain-external: remove Linaro 2012.06Thomas Petazzoni2012-11-061-3/+0
| | | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* toolchain-external: remove Sourcery CodeBench x86/x86_64 2010.09Thomas Petazzoni2012-11-061-3/+0
| | | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* toolchain-external: remove Sourcery CodeBench SH 2010.09Thomas Petazzoni2012-11-061-3/+0
| | | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* toolchain-external: remove Sourcery CodeBench ARM 2010.09Thomas Petazzoni2012-11-061-4/+1
| | | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* toolchain-external: remove Sourcery CodeBench ARM 2010q1Thomas Petazzoni2012-11-061-4/+1
| | | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>