summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2014-08-28scripts/crosstool-NG: use ${grep} instead of 'grep'Fabian Freyer2-5/+5
Helps building on BSD-like systems. Reported-by: Fabian Freyer <fabian.freyer@physik.tu-berlin.de> Signed-off-by: "Fabian Freyer" <fabian.freyer@physik.tu-berlin.de> [yann.morin.1998@free.fr: split the original patch] Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Fabian Freyer <fabian.freyer@physik.tu-berlin.de>
2014-08-28configure: add option to specify grepFabian Freyer1-0/+5
Allows users for which GNU grep is not the default grep (e.g. BSD folks), or is in a weird location. Reported-by: Fabian Freyer <fabian.freyer@physik.tu-berlin.de> Signed-off-by: "Fabian Freyer" <fabian.freyer@physik.tu-berlin.de> [yann.morin.1998@free.fr: split the original patch] Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Fabian Freyer <fabian.freyer@physik.tu-berlin.de>
2014-08-28scripts/functions: use ${sed} instead of 'sed'Fabian Freyer1-7/+9
Helps build on BSD-like systems. Reported-by: Fabian Freyer <fabian.freyer@physik.tu-berlin.de> Signed-off-by: "Fabian Freyer" <fabian.freyer@physik.tu-berlin.de> [yann.morin.1998@free.fr: split the original patch] Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Fabian Freyer <fabian.freyer@physik.tu-berlin.de>
2014-08-26debug/gdb: add GDB_HAS_PYTHONBryan Hundven2-0/+5
Add a Kconfig boolean to enable python, only if GDB_7_0_or_later. Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
2014-08-26debug/gdb: add gdb 7.8Bryan Hundven1-0/+6
Add updated gdb 7.8 to the available versions of gdb. Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
2014-08-08libc/musl: add musl-libc supportBryan Hundven8-0/+458
This patch adds initial support for musl-libc. Musl-libc versions currently supported: * 1.0.3 (Stable) * 1.1.3 (Previous Mainline) * 1.1.4 (Mainline) Futher improvements are needed. * gcc-4.9.x has issues (Might be fixed in musl-1.1.4). * Multilib support is needed. * Checks to make sure paths are correct. * Move to 2-step gcc build. 3-step build is not necessary. Signed-off-by: Bryan Hundven <bryanhundven@gmail.com> [yann.morin.1998@free.fr: removed the gcc musl patch, to be added later; removed dead code do_get_arch()] Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2014-07-27libc/mingw: threads are the native onesYann E. MORIN2-12/+3
There is no need to differentiate the win32 threads case, since we can cosider them to be the native implementation on Windows. Besides, with the previous patch, nothing uses it anymore. So, just remove it. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc Bryan Hundven <bryanhundven@gmail.com>
2014-07-27libc: libces are responsible for naming their threads implementationYann E. MORIN6-5/+21
This will help add new implementations, such as the one in musl. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Bryan Hundven <bryanhundven@gmail.com>
2014-07-27libc: rename the threads optionsYann E. MORIN7-26/+31
Use a more coherent naming for the options. This will help commonalise the native case (e.g. NPTL on Linux, win32 on Windows), and add alternate implementations (e.g. musl.) Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Bryan Hundven <bryanhundven@gmail.com>
2014-07-27Add main EXPERIMENTAL_PATCHES settingBryan Hundven2-4/+22
This change adds support for experimental patches to be introduced to crosstool-ng. The patches enabled by this option are to be located here: patches/experimental/<package>/<version>/XXXX-NAME.patch Where, XXXX is the patch number to be applied in order, like: 0001-some_patch_one.patch 0002-some_patch_two.patch 9999-some_patch_to_be_applied_last.patch In the first patch series, all patches in the EXPERIMENTAL_PATCHES option will be applied all at once, or none at all. In a later [RFC] patch, I plan on adding finer tuned patch enable/disable options based on the name of the patch and where it is located in the patches/experimental sub-tree. So the name of the patch should use underscores between words in the patch name. Signed-off-by: Bryan Hundven <bryanhundven@gmail.com> [yann.morin.1998@free.fr: slightly reword prompt] Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2014-07-26samples: add arm-cortexa5-linux-uclibcgnueabihfAlexandre Belloni3-0/+291
This configuration has been tested on an Atmel sama5d3 board. It is a Cortex-A5 without neon and the floating point unit is a vfpv4-d16. Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
2014-07-19scripts/addToolVersion: simpily gcc handling and fix for gcc-4.9.X (and later)Cody P Schafer1-14/+2
Signed-off-by: Cody P Schafer <dev@codyps.com>
2014-07-19scripts/addToolVersion: fix for gdb versions >= 7.2Cody P Schafer1-1/+5
Signed-off-by: Cody P Schafer <dev@codyps.com>
2014-07-19config/debug/gdb: add 7.7.1Cody P Schafer1-1/+6
Also remove the unneeded select in 7.7 Signed-off-by: Cody P Schafer <dev@codyps.com>
2014-07-19cc/gcc: add 4.9.1Cody P Schafer1-0/+6
Signed-off-by: Cody P Schafer <dev@codyps.com>
2014-07-19cc/gcc: avoid passing --enable-multilib (take 2)Cody P Schafer1-3/+4
The previous patch (cset b61a1b1, cc/gcc: avoid passing --enable-multilib) only fixed the core backend, and missed the final backend. This patch does the same as b61a1b1, but for the final backend. Signed-off-by: Cody P Schafer <dev@codyps.com> Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2014-07-08kernel/linux: further bump the versionsYann E. MORIN1-13/+13
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2014-07-08kernel/linux: update kernel versionsBryan Hundven1-12/+22
Add 3.15.0, and update all other branch versions. Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
2014-07-03cc/gcc: Add 4.7.4 and 4.8.3Anton Leontiev3-0/+141
Signed-off-by: Anton Leontiev <aleontiev@elvees.com>
2014-06-28samples/arm-unknown-linux-uclibcgnueabi: major updateThomas Petazzoni3-90/+91
This commit updates the arm-unknown-linux-uclibcgnueabi sample to the modern age: - gcc is bumped from 4.4.3 to 4.8.2 - binutils is bumped from 2.19 to 2.24 - gdb is bumped from 7.1 to 7.7 - uclibc is bumped from 0.9.30 to 0.9.33 - kernel headers are bumped to 3.10 - strace is bumped to 4.8 - all companion libraries are also updated In addition, the ARCH_CPU/ARCH_TUNE configuration options are changed from xscale to arm926ej-s, with the reasoning that in the ARMv5 ecosystem, ARM926EJ-S cores are much, much more widely used than Xscale cores. The resulting toolchain was tested by building a Busybox-only system with Buildroot, and testing it under an ARMv5 Qemu emulation. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2014-06-28patches/uClibc: add uClibc 0.9.33.2 patch to build with recent kernel headersThomas Petazzoni1-0/+393
uClibc 0.9.33.2 has an issue related to __kernel_long and similar types when building with kernel headers >= 3.4. This commit adds a uClibc that fixes this issue, and allows building with recent kernel headers. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2014-06-28ct-ng: 'clean' removes the build dirYann E. MORIN1-5/+5
It makes more sense to remove the build dir on 'clean' rather than on 'distclean', since the latter also trashes the .config file. Reported-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2014-06-28scripts: remove legacy mk-release.shYann E. MORIN1-376/+0
This script is too Hg-specific. Just remove it. In case we need something similar in the future, we'd just have to use the better git counterparts. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2014-06-28scripts: remove legacy mk-patches.shYann E. MORIN1-47/+0
This script is too Hg-specific. Just remove it. In case we need something similar in the future, we'd just have to use the better git counterparts. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2014-06-28scripts: another change needed for the Hg->git conversionYann E. MORIN1-4/+2
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2014-06-28docs: start cleaning up after the conversion from Hg to gitYann E. MORIN2-6/+6
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2014-06-27configure: use a saner version string for git snapshotsYann E. MORIN1-1/+2
This avoids using an oldish tag as base for the version string. Reported-by: Bryan Hundven <bryanhundven@gmail.com> Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2014-06-26scripts: first batch of hg->git conversionYann E. MORIN5-7/+12
Replace calls to 'hg' with as-close-as-possible equivalents in git. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2014-06-26repository: migrate old hg files over to gitYann E. MORIN7-70/+37
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2014-06-25all: fix wildcard to work with make-4.xYann E. MORIN"3-14/+14
In make-3.8x, the $(wildacrd) function would sort the entries, while in make-4.x, it would just return the entries in any unpredictable order [*] Use the $(sort) function to get reproducible behaviour. [*] Well, most probably the roder the entries appear when read from readdir() Reported-by: Andrew Ruder <andrew.ruder@elecsyscorp.com> Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Tested-by: Andrew Ruder <andrew.ruder@elecsyscorp.com>
2014-05-26complibs/cloog: remove old CLooG/PPL versionsYann E. MORIN"1-31/+1
Those versions are no longer available upstream. They have purely and simply disapeared, without leaving any trace of their mere existences. Just keep the latest cloog-ppl-0.15.11, which still exists on the gcc infra mirror (but for how long?) Reported-by: Guillaume FLORENCE-COURTAND <gflorenc@laposte.net> Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2014-05-11arch: use the newly introduced target_bits_64Yann E. MORIN"2-10/+2
Convert MIPS and Sparc over to using the new target_bits_64 variable. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2014-05-11arch/powerpc: add powerpc64le supportCody P Schafer2-5/+5
Technically, I don't forbid powerpcle support either, but I'm not sure that there is any library/compiler support for that at the moment (though the hw technically makes it possible). powerpc64le needs glibc 2.19 and gcc 4.9. I haven't looked into the support tools, but at least gdb 7.5 is too old (7.7.1 definitely has support). Also make powerpc64 non-experimental. It's practically old at this point. Signed-off-by: Cody P Schafer <dev@codyps.com> [yann.morin.1998@free.fr: use ${target_endian_le} and ${target_bits_64}] Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Message-Id: <64bfbbced9dd8f62e0d6.1399801945@gun> Patchwork-Id: 347775
2014-05-11scripts/functions: introduce target_bits_32 and target_bits_64 variablesYann E. MORIN"1-0/+12
These variables behave the same for bitness as their counterparts do for endianness: they are defined to the appropriate bitness. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Cody P Schafer <dev@codyps.com>
2014-05-11scripts/functions: add target_endian_le and target_endian_beYann E. MORIN"1-0/+4
We currently define target_endian_el and target_endian_eb to be the tuple extension depending on endianness, defined to be respectively 'el' or 'eb' according to the endianness. Some architecture do not use 'el' or 'eb', but use 'le' or 'be'. Provide that as well, as two new variables: target_endian_le and target_endian_be. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Cody P Schafer <dev@codyps.com>
2014-05-11cc/gcc: add 4.9.0Cody P Schafer1-1/+24
Signed-off-by: Cody P Schafer <dev@codyps.com> [yann.morin.1998@free.fr: latest is now a 4.9] Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Message-Id: <5bac788539bb272893ed.1399801933@gun> Patchwork-Id: 347774
2014-05-11complibs/ppl: Fix build of ppl 0.11.2 with gcc 4.9Bernhard Walle1-0/+95
From: Roberto Bagnara <bagnara@cs.unipr.it> Date: Tue, 29 Apr 2014 19:51:43 +0000 (+0200) Subject: Added missing inclusions. Use std::ptrdiff_t. X-Git-Url: http://www.cs.unipr.it/git/gitweb.cgi?p=ppl%2Fppl.git;a=commitdiff;h=61d4e14dfd9f1121e9b4521dead5728b2424dd7c Added missing inclusions. Use std::ptrdiff_t. (Thanks to Paulo Cesar Pereira de Andrade.) Signed-off-by: Bernhard Walle <bernhard@bwalle.de> Message-Id: <5632a171e7c1dc4c0fb5.1399806148@euler.fritz.box> Patchwork-Id: 347777
2014-05-11binutils/elf2flt: restore the custom location functionalityYann E. MORIN"1-3/+11
Somehow, it got lost when incorporating elf2flt in the binutils farmework. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2014-05-11binutils/binutils: do not forget to extract elf2fltYann E. MORIN"1-5/+3
In case we're using a custom (aka local) binutils source, we still need to extract and patch elf2flt. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2014-05-11binutils/elf2flt: use alternate mirrorYann E. MORIN"3-19/+27
The official elf2flt upstream has disapeared. Switch to a mirror. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2014-05-11functions: finally fix the git helperYann E. MORIN"1-19/+41
It's gonna soon be used by elf2flt, so we better get it working. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2014-05-11config: switch cc with libc in the config orderYann E. MORIN"1-1/+1
Some of the compiler options depend on the C library choice, (e.g. whether core passes are needed). Since the compiler menu comes before the C library menu, those options may or may not be visible until the C library is chosen, leading to either options being visible by the user (thus be puzzling as they would not apply to his case), or invisible to him (yet again puzzling him). Invert the order of the compiler and the C library in the menuconfig. It anyway looks more rational, in the end. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2014-05-10cc/gcc: allow CC_EXTRA_CONFIG_ARRAY on baremetalCody Schafer2-2/+6
The final bare-metal compiler is built using the core backend. Currently the core uses the CC_CORE_EXTRA_CONFIG_ARRAY variable. While this works as supposed to, this can leave the user puzzled in the menuconfig, since all he can see is the core options, not the final options. Only show the core options if any of the core passes are needed, and use the final options in the core-backend if we're issuing the bare-metal compiler. Signed-off-by: Cody P Schafer <dev@codyps.com> [yann.morin.1998@free.fr: hide core options if no core pass needed; use final option in core backend if issuing the bare-metal compiler] Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Message-Id: <22181e546ba746202489.1399688067@localhost> Patchwork-Id: 347586
2014-05-10cc/gcc: avoid passing --enable-multilibCody Schafer1-3/+3
Some versions of gcc have a broken --enable-multilib flag. As multilib is the default, only pass the --disable-multilib flag Signed-off-by: Cody P Schafer <dev@codyps.com> [yann.morin.1998@free.fr: make it an if-block; duplicate commit log as comment] Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Message-Id: <5c970c1ceb22528fe28a.1399687923@localhost> Patchwork-Id: 347585
2014-05-10arch: add option to let gccdecide what floating point to useCody Schafer1-0/+10
Add an ARCH_FLOAT_AUTO option to avoid passing float options to gcc and allow it to choose Signed-off-by: Cody P Schafer <dev@codyps.com> [yann.morin.1998@free.fr: slightly reword the commit log] Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Message-Id: <088489641f4790262685.1399687813@localhost> Patchwork-Id: 347584
2014-05-10debug/gdb: simplify the dependency logicCody Schafer1-13/+1
Signed-off-by: Cody P Schafer <dev@codyps.com> Message-Id: <1d9659fcf6a9c7694ad2.1399687691@localhost> Patchwork-Id: 347583
2014-05-10scripts: remove references to curlYann E. MORIN"2-6/+2
It's been a while we're not using curl anymore. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2014-05-10scripts: add possibility to not override default connection timeoutCody Schafer2-1/+8
Allow '-1' to be specified as CONNECTION_TIMEOUT to disable the use of the connection timeout for wget. Signed-off-by: Cody P Schafer <dev@codyps.com> Message-Id: <cb33f8c2cbaf802d4f04.1399687632@localhost> Patchwork-Id: 347582
2014-05-07TODO: remove some itemsYann E. MORIN"1-10/+0
Those items have now been implemented: - mingw32 target we have it now, and even mingw64 too - mingw32 host it is certainly possible to canadian-build a toolchain to run in a mingw host - Cygwin host it is possible to build a toolchain in Cygwin, and it is probably possible to canadian-build it as well Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2014-02-21kernel/linux: update linux kernel headersDaniel Zimmermann1-10/+15
update linux kernel headers to a newer version Signed-off-by: '"Daniel Zimmermann" <netzimme@gmail.com>' [yann.morin.1998@free.fr: further bump the versions] Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Message-Id: <424a44a11e7051d8d894.1392963455@haus-VirtualBox> Patchwork-Id: 322417