summaryrefslogtreecommitdiffstats
path: root/toolchain
Commit message (Collapse)AuthorAgeFilesLines
* eliminate double slashes caused by FOO_SITE ending in a slashShawn J. Goff2013-04-154-8/+8
| | | | | | | | | | 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/gcc: bump 4.6.x versionPeter Korsgaard2013-04-138-1/+1
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* kernel-headers: bump 3.{0, 2, 4, 8}.x stable versionGustavo Zacarias2013-04-132-4/+4
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> 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>
* gdb: convert to the package infrastructureThomas Petazzoni2013-04-1118-1136/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit converts gdb to the package infrastructure, and therefore moves it from toolchain/gdb to package/gdb. The target package is now visible in "Package selection for the target" => "Debugging, profiling and benchmark". The main option, "gdb", forcefully selects the "gdbserver" sub-option by default. Another sub-option, "full debugger" allows to install the complete gdb on the target. When this option is enabled, then "gdbserver" is no longer forcefully selected. This ensures that at least gdbserver or the full debugger gets built/installed, so that the package is not a no-op. The host debugger is still enabled through a configuration option in "Toolchain". It is now visible regardless of the toolchain type (it used to be hidden for External Toolchains). The configuration options relative to the host debugger are now in package/gdb/Config.in.host, similar to how we have package/binutils/Config.in.host. Since gdb is now a proper package, it is no longer allowed to 'select BR2_PTHREADS_DEBUG' to ensure thread debugging is available when needed. Instead, it now 'depends on BR2_TOOLCHAIN_HAS_THREADS_DEBUG'. This option, in turn, is selected by the different toolchain backends when appropriate. The 'BR2_TOOLCHAIN_HAS_THREADS_DEBUG_IF_NEEDED' option is removed, since we no longer need to know when it is allowed to 'select BR2_PTHREADS_DEBUG'. Also, the 'BR2_PTHREADS_DEBUG' option is moved to appear right below the thread implementation selection (in the case of the Buildroot toolchain backend). Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* toolchain/gcc: bump 4.7.x series to 4.7.3Gustavo Zacarias2013-04-118-40/+42
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* toolchain/arm: drop generic and old, add fa526/626, unify strongarmGustavo Zacarias2013-04-114-9/+9
| | | | | | | | | | | | | | | | | * Add Faraday FA526/626 as suggested on bug #1291 Note however that these cores are v4 and NOT v4t. * Make the sa110 & sa1110 cores -> strongarm since they're the same. * Drop all of the ARM variants lower than v4 including generic, there's no point in supporting obsolete targets. * Fix uClibc USE_BX logic, it was always on, this would break the new FA526/626 support and broke StrongARM since it's a v4 core. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* toolchain-external: Only show MICROBLAZEBE_14_3 toolchain for BE systemsPeter Korsgaard2013-04-111-1/+1
| | | | 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: fix typo in Blackfin toolchain config optionThomas Petazzoni2013-04-101-1/+1
| | | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* toolchain-external: update AArch64 Linaro toolchainsThomas Petazzoni2013-04-102-14/+14
| | | | | | | | 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-102-18/+18
| | | | | | | | 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>
* kernel-headers: bump 3.{0, 4, 8}.x stable version and EOL 3.7.x seriesGustavo Zacarias2013-04-102-3/+4
| | | | | | | | The 3.7.x series is EOLed upstream so match that marking it as deprecated. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* kernel-headers: bump 3.{0, 2, 4, 8}.x stable versionGustavo Zacarias2013-03-302-4/+4
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* toolchain: default to gcc 4.7.xPeter Korsgaard2013-03-251-1/+1
| | | | | | | | | With 4.8.x released, it makes sense to update our default gcc version before 4.6.x becomes unmaintained. At the same time simplify the kconfig logic a bit. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* toolchain/gcc: disable makeinfoGustavo Zacarias2013-03-241-0/+3
| | | | | | | | | Newer versions of texinfo (>=5) break the gcc makeinfo routine, so just disable it. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Tested-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* toolchain: update crosstool-NG project URLThomas Petazzoni2013-03-241-1/+1
| | | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* uClibc: add missing $(Q)Thomas Petazzoni2013-03-241-1/+1
| | | | | | | | Add a missing $(Q) in front of a MESSAGE call, which leads to the message being displayed but also the command that shows the message. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* kernel-headers: add missing $(Q)Thomas Petazzoni2013-03-241-1/+1
| | | | | | | | Add a missing $(Q) in front of a MESSAGE call, which leads to the message being displayed but also the command that shows the message. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* gcc: add missing $(Q)Thomas Petazzoni2013-03-241-1/+1
| | | | | | | | Add a missing $(Q) in front of a MESSAGE call, which leads to the message being displayed but also the command that shows the message. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* gcc: introduce BR2_GCC_NEEDS_MPC to reduce code duplicationThomas Petazzoni2013-03-242-43/+9
| | | | | | | | | | For each version of gcc, we need to check whether it requires mpc as a dependency. Since this is true for 4.5, 4.6, 4.7, snapshots and now 4.8, let's factorize this code a bit by using a Kconfig symbol that tells us whether we are using a gcc version that requires mpc. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* gcc: add support for gcc 4.8Thomas Petazzoni2013-03-249-0/+292
| | | | | | | | | This commit adds support for the recently released gcc 4.8. We re-add the same patch series as the one used for 4.7.x, after refreshing the patches. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* gcc: fix location of snapshotsThomas Petazzoni2013-03-241-1/+1
| | | | | | | | | The gcc snapshots are now located at ftp://gcc.gnu.org/pub/gcc/snapshots/. This has been tested with a recent 4.8.0-RC snapshot. 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, 8}.x stable versionGustavo Zacarias2013-03-242-4/+4
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* toolchain/crosstool-NG: do not depend on the top-level Buildroot's .configYann E. MORIN2013-03-181-10/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously, the crosstool-NG backend did depend on the top-level Buildroot's .config to detect changes in the toolchain options, using a tentatively-clever heuristic, which also included the full Buildroot's version string to push down to set the components' versions strings. In doing so, any commit in the Buildroot tree would imply a complete rebuild of the toolchain, even in the case the toolchain options did not change, thus being a large annoyance (to say the least). As Buildroot never guaranteed that toolchain options would be detected, even less handled, and that the internal backend does neither detect nor act on toolchain options changes, and delegate that to the user, there is no point in individualising the crosstool-NG backend's behaviour. This reasoning also applies to the depdency on the crosstool-NG's bundled .config file, too. So, just drop the not-so-clever heuristic, and just build the toolchain once, leaving to the user the responsibility to explictly ask Buildroot to rebuild the toolchain. Reported-by: "Przemyslaw Wrzos" <przemyslaw.wrzos@calyptech.com> Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: "Przemyslaw Wrzos" <przemyslaw.wrzos@calyptech.com> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* kernel-headers: bump 3.{0, 2, 4, 8}.x stable versionGustavo Zacarias2013-03-152-4/+4
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* kernel-headers: bump 3.{0, 4, 8}.x stable versionGustavo Zacarias2013-03-042-3/+3
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* kernel-headers: bump 3.{0, 2, 4, 7}.x stable version and add 3.8.1Gustavo Zacarias2013-03-012-5/+10
| | | | | | | Also mark 3.6.x as deprecated to match upstream EOL. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Merge branch 'next'Peter Korsgaard2013-03-012-0/+32
|\
| * toolchain-external: add new Microblaze toolchainsThomas Petazzoni2013-02-232-0/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | kernel-headers: remove legacy codeThomas Petazzoni2013-02-261-9/+0
| | | | | | | | | | | | | | | | The BR2_KERNEL_HEADERS_2_6_35 symbol no longer exists since some time, so get rid of code that was specific to this kernel version. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* | Revert "uClibc: port linuxthreads errno patch to 0.9.33.2"Gustavo Zacarias2013-02-211-68/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 1d8c3e6caf6be14644ef8ef5ae2704105322442b The forward port breaks compilation at least for SPARC NPTL toolchains: LD libuClibc-0.9.33.2.so libc/libc_so.a(pipe.os): In function `__GI_pipe': (.text+0x38): undefined reference to `__GI___errno_location' collect2: ld returned 1 exit status Easily triggered by a "make qemu_sparc_ss10_defconfig && make". Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* | uClibc: backport bits/time.h update to 0.9.33.2Peter Korsgaard2013-02-201-0/+36
| | | | | | | | | | | | Some packages uses CLOCK_MONOTONIC_RAW, so add it. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* | uClibc: port linuxthreads errno patch to 0.9.33.2Sagaert Johan2013-02-201-0/+68
| | | | | | | | | | | | | | | | Without this patch programs using libglib2 (libsoup, etc.. ) and pthread may be broken. Signed-off-by: Sagaert Johan <sagaert.johan@skynet.be> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* | kernel-headers: bump 3.{0, 4, 7}.x stable versionsGustavo Zacarias2013-02-172-3/+3
|/ | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* toolchain/kernel-headers: not just 2.6 for manual versionGustavo Zacarias2013-02-061-1/+1
| | | | | | | | The manual linux headers option may specify versions other than the 2.6 series, so drop the "2.6" Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* uClibc: mark 0.9.31 as deprecatedPeter Korsgaard2013-02-061-0/+1
| | | | | | | 0.9.31 is old and doesn't actually build with modern kernel headers, so mark it as deprecated. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* kernel-headers: bump 3.2.x stable versionGustavo Zacarias2013-02-061-1/+1
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Make external toolchain relocatableArnout Vandecappelle2013-02-052-21/+59
| | | | | | | | | | | | | | | | | | | | | | 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>
* gdb: fixing gdb 7.4.1 build with eglibc-2_16Carsten Schoenert2013-02-052-0/+356
| | | | | | | | | | | | | | | gdb 7.4.1 fails with the following error gdb-7.4.1/gdb/linux-nat.h:79:18: error: field 'siginfo' has incomplete type because gdb use 'struct siginfo' instead of 'struct siginfo_t'. Crosstool-NG allready use the patches to prevent this error so use this patches for buildroot too. see also http://permalink.gmane.org/gmane.comp.gcc.cross-compiling/15305 Fixes http://autobuild.buildroot.net/results/b894a5cecd9c5e0a1a751ebbff90a14aea1803da/build-end.log Signed-off-by: Carsten Schoenert <c.schoenert@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* gdb: build gdbserver with TARGET_MAKE_ENVThomas Petazzoni2013-02-041-0/+1
| | | | | | | | | | | | | | | | | | | This commit fixes the exact same problem than 21a0c11a90f9ff19c78a5f32e0a2e9064fd28054, but for the gdbserver build. The problem is that when you use the Crosstool-NG toolchain backend, gawk gets built as a dependency of Crosstool-NG. So the gdb configure scripts detects it, and assumes it is in the PATH (because the gdb configure step gets run with TARGET_MAKE_ENV). But then, the build fails, because it tries to run gawk, but gawk isn't in the PATH, because we forget to use this TARGET_MAKE_ENV variable when building gdbserver. Fixes http://autobuild.buildroot.org/results/d0173de533b5e2fffed2eff7327a502ed2d787cd/build-end.log Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* kernel-headers: bump 3.{0, 4, 7}.x stable versionsGustavo Zacarias2013-02-042-3/+3
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* toolchain-external: remove support for AArch64 Linaro 2012.10 toolchainThomas Petazzoni2013-02-022-15/+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-022-0/+15
| | | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* avr32: support uClibc 0.9.33.2Simon Dawson2013-02-024-4/+22
| | | | | | | | | | Add a uClibc patch from OpenWRT, and tweak an existing patch to cope with the lack of a dup3 Linux syscall on avr32. This allow uClibc 0.9.33.2 to be built for avr32. [Peter: add upstream url for openwrt patch] Signed-off-by: Simon Dawson <spdawson@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* toolchain-external: add linaro 2013.01, remove 2012.10Peter Korsgaard2013-02-022-13/+13
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* blackfin: add 2012r2 and remove 2010rc1 toolchainsGustavo Zacarias2013-02-022-15/+15
| | | | | | | | | | 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>
* kernel-headers: bump 3.{0, 4, 7}.x stable versionsGustavo Zacarias2013-01-282-3/+3
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* gdb: remove 6.8 / 7.0.1 / 7.1, deprecate 7.2 / 7.3Peter Korsgaard2013-01-242-53/+2
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>