AgeCommit message (Collapse)AuthorFilesLines
2011-10-11config: simplify setting CONFIG_SHELL, add a bit to the help entryYann E. MORIN"2-20/+19
Signed-off-by: "Yann E. MORIN" <>
2011-10-09complibs/cloog: catch's outputYann E. MORIN"1-1/+1
Run through CT_DoExecLog to catch its output. Signed-off-by: "Yann E. MORIN" <>
2011-10-08debug/gdb: new option to enable/disable use of pythonYann E. MORIN"3-0/+22
Add a new option to enable/disable the Python scripting in gdb. Hide the option (ie. disable it) when statically linking the cross-gdb. Signed-off-by: "Yann E. MORIN" <>
2011-10-09binutils/binutils: ensure gold is staticaly-linked if neededYann E. MORIN"1-2/+2
Signed-off-by: "Yann E. MORIN" <>
2011-10-05scripts: support extra host compiler flagsYann E. MORIN"2-1/+12
Allow the user to configure extra flags to pass to the host compiler at build time. Applies to both C and C++. Useful on Ubuntu to turn off the stack protector and fortify defaults so the program stands a better chance of running on other distros. Signed-off-by: Michael Hope <> [ put the custom flags at the end] Signed-off-by: "Yann E. MORIN" <>
2011-09-29doc: document the description line for the commit messageYann E. MORIN"1-0/+36
Documented how to format description lines for packages patches. Added a note on enforcing Signed-off-by lines. Signed-off-by: Michael Hope <> [ further describe the desc line] Signed-off-by: "Yann E. MORIN" <>
2011-10-07libc/glibc: add log messages for glibc addons dirs and symlinksYann E. MORIN"1-2/+2
Signed-off-by: "Esben Haabendal" <> [ fix linewrap-carnage] Signed-off-by: "Yann E. MORIN" <>
2011-10-05scripts: update config.{guess,sub}Yann E. MORIN"2-6/+18
Signed-off-by: "Yann E. MORIN" <>
2011-10-05Pass CXXFLAGS to binutils/gold.Michael Hope1-0/+1
The GOLD linker is written in C++. Pass CT_CFLAGS_FOR_HOST as CXXFLAGS to configure so that any host specific flags are passed through. It feels a bit funny passing CFLAGS as CXXFLAGS, but the PPL and GCC target rules already do the same. Signed-off-by: Michael Hope <>
2011-09-28binutils/binutils: added 2.21.53 snapshotMichael Hope1-0/+7
binutils 2.21 doesn't recognise the Cortex-M3 SVC instruction when assembling with -mcpu=all. This was fixed by the 2.21.53 snapshot and is needed to build RTOSs such as FreeRTOS. Signed-off-by: Michael Hope <>
2011-09-28config: add a 'auto' value for the number of parallel jobsMichael Hope2-1/+7
When CT_PARALLEL_JOBS is -1, set the number of parallel jobs to the number of online CPUs + 1. Update documentation to match. I find this useful when building in the cloud. You can use the same .config file and have the build adapt to the number of processors available. Limited testing shows that NCPUS+1 is faster than NCPUS+0 or NCPUS+2. Signed-off-by: Michael Hope <>
2011-09-28Makefile: use phony targetsMichael Hope1-0/+2
Add 'build', 'build-*', and 'install' as phony targets to the top level Makefile. I tend to do everything in tree with the build in a directory called 'build'. This interfered with the target 'build', making it think the target was up to date, and stopping scripts/ from being regenerated. Added 'install' as I often set the prefix to $PWD/install. Signed-off-by: Michael Hope <>
2011-10-03libc/glibc: spelling fixes in the menuconfig help entriesMichael Hope1-2/+2
nits: - fix the spelling of changing. - 'chose' is the correct past tense. Signed-off-by: Michael Hope <>
2011-09-28debug/gdb: update to the Linaro 2011.09Yann E. MORIN"1-3/+3
Signed-off-by: Michael Hope <> [ split gcc/gdb in two patches] Signed-off-by: "Yann E. MORIN" <>
2011-09-28cc/gcc: update to the Linaro 2011.09Yann E. MORIN"1-6/+6
Signed-off-by: Michael Hope <> [ split gcc/gdb in two patches] Signed-off-by: "Yann E. MORIN" <>
2011-09-26kernel/linux: prepare for 3.1 and aboveYann E. MORIN"1-9/+11
The real upstream location is not in the '3.0' directory, but in the '3.x' directory. Signed-off-by: "Yann E. MORIN" <>
2011-09-25samples: add new mipsel-sde-elf sample.Yann E. MORIN"2-0/+373
Signed-off-by: Kevin Cernekee <> [ add pointer to ML thread] Signed-off-by: "Yann E. MORIN" <>
2011-09-22kernel/linux: use a custom kernel source directoryYann E. MORIN"2-17/+26
Allows using either a tarball or a directory as the custom kernel source location. Signed-off-by: Vincent BENOIT <> [ fix space damage, detailed commit message] Signed-off-by: "Yann E. MORIN" <>
2011-09-21kernel/linux: add alternate download locationsYann E. MORIN"1-1/+5
Since is dead, and there is no announced or known estimated time or return to normality, it is impossible to download any kernel at this time. Add a known-working mirror. Signed-off-by: "Yann E. MORIN" <>
2011-09-14cc/gcc: speed up the build a little bitYann E. MORIN"1-6/+6
Even if the current process is highly parallel, crosstool-NG spends most of its time in single-job steps on fast machines (with a 12-CPU system, I approximate the parallel vs. non-parallel time to be in the order os 1 to 3; that is crostool-NG spends two-thirds of its time running non-parallel jobs). Some steps to build gcc can be paralleled, gaining a litle bit of time on the whole compilation. Signed-off-by: "Yann E. MORIN" <>
2011-09-17gcc: add support for the PowerPC EABIYann E. MORIN"2-7/+39
Signed-off-by: Mircea Gherzan <> [ rm trailing space] Signed-off-by: "Yann E. MORIN" <>
2011-09-16docs/known-issues: add the infamous "mixed implicit and normal rules"Yann E. MORIN"1-3/+25
make-3.82 now refuses to have both normal and implicit rules in the same definition, so document the issue with a known workaround. Signed-off-by: "Yann E. MORIN" <>
2011-09-12samples: update this ARM sample.Yann E. MORIN"2-67/+118
Signed-off-by: "Yann E. MORIN" <>
2011-08-31cc/gcc: libgcc_eh.a may be required, even from the stage-1 compilerYann E. MORIN"24-0/+901
Building uClibc with libubacktrace requires libgcc_eh.a to be available, but gcc does not build it unless it is configured to generate shared libs. However, libgcc_eh.a does not *require* shared libs support, as it is a static library. Signed-off-by: "Yann E. MORIN" <>
2011-09-12cc/gcc: propagate 4.5.2 patchset to 4.5.3Yann E. MORIN"1-0/+13
Signed-off-by: "Yann E. MORIN" <>
2011-09-02cc/gcc: propagate 4.3.5 patchset to 4.3.6Yann E. MORIN"30-0/+1348
They applied cleanly with only offsets Signed-off-by: "Yann E. MORIN" <>
2011-08-31libc/uClibc: add patch to fix fork in threads with ARM EABIYann E. MORIN"1-0/+29
uClibc-0.9.32 requires libgcc_eh.a (for ARM EABI), but only when libubacktrace is enabled. As this is not the default, provide a workaround to disable linking with libgcc_eh.a if libubacktrace is not selected. This will however still break if uClibc is configured to enable libubacktrace, but it requires a fix in gcc, and we can take care of that later. Reported-by: Grant Edwards <> Reported-by: Tor Krill <> Tested-by: Tor Krill <> Signed-off-by: "Yann E. MORIN" <>
2011-09-12samples: update that mips sampleYann E. MORIN"2-79/+161
Signed-off-by: "Yann E. MORIN" <>
2011-09-12libc/uClibc: workaround for a MIPS TLS issueYann E. MORIN"1-0/+40
Some macros declarations were missing, so we duplicate them. See the added patch description for more information. ----> THIS IS A DIRTY HACK! <---- Signed-off-by: "Yann E. MORIN" <>
2011-09-12libc/uClibc: enable NPTL choice for uClibc >= 0.9.32Yann E. MORIN"2-4/+10
Signed-off-by: "Yann E. MORIN" <>
2011-09-11binutils/binutils: add latest versionYann E. MORIN"5-0/+117
Add patches used by buildroot. Signed-off-by: "Yann E. MORIN" <>
2011-09-11binutils/binutils: fixup version stringsYann E. MORIN"52-15/+15
Recently, all binutils versions have been renamed after a GPL compliance issue was found and fixed in binutils; Although legacy symlinks have been put in place, we should now use the new, real version strings. Signed-off-by: "Yann E. MORIN" <>
2011-09-11binutils/binutils: fixup version stringsYann E. MORIN"30-1255/+0
Recently, all binutils versions have been renamed after a GPL compliance issue was found and fixed in binutils; Old versions are no-longer available since the rename (eg. 2.19 has been superseeded by 2.19.1, and only 2.19.1a was regenerated). Remove now-missing versions. Signed-off-by: "Yann E. MORIN" <>
2011-09-11debug/gdb: rename patch directoriesYann E. MORIN"9-0/+0
Missed renaming the patch directories after the version renames... :-( Signed-off-by: "Yann E. MORIN" <>
2011-09-09scripts/functions: only use passive FTPYann E. MORIN"1-6/+8
Virtually all FTP server available on-line support passive FTP. At least, this is the case for the servers crosstool-NG needs to connect to. Signed-off-by: "Yann E. MORIN" <>
2011-09-09scripts/functions: only use one download programYann E. MORIN"2-13/+5
Currently, we use either wget or curl, whichever is installed. In case both are installed, both are used. This means that it takes a while trying all extensions. Remove use of wget, and use only curl. Signed-off-by: "Yann E. MORIN" <>
2011-09-09debug/gdb: update the version stringsYann E. MORIN"1-18/+18
Almost all versions have been renamed, but the gdb folks did not setup legacy symlinks. For more information, see this message: Reported-by: ManuelStahl <> Signed-off-by: "Yann E. MORIN" <>
2011-09-06scripts: fix sysroot prefix dirYann E. MORIN"1-2/+4
The sysroot prefix dir was broken in #4960f5d9f829 due to a mishap when making the out-of-sysroot lib/ symlink: the './' was mistakenly changed into a single '.' . Although Jonathan suggested restoring the missing '/' to restore it to normal operation, I prefered using an explicit pushd/popd to be extra sure of the symlink location and target, along with a fix in the sysroot relative directory calculation. Reported-by: Jonathan Grundon <> Signed-off-by: "Yann E. MORIN" <>
2011-09-06kernel/linux: fix typoYann E. MORIN"1-1/+1
Finally fix typo introduced in #6eb0189d7225 and partially fixed in #61ec8b08f98d... Seems I'm fast at introducing trivial typoes, but bad at fixing them... :-( Signed-off-by: "Yann E. MORIN" <>
2011-08-30complibs/gmp: bump versionYann E. MORIN"1-0/+6
Signed-off-by: "Yann E. MORIN" <>
2011-08-30kconfig: print version in .configYann E. MORIN"2-5/+1
Having the crosstool-NG version in the .config helps in case we want to reproduce the toolchain with the exact same version of crosstool-NG. This also reverts #bb73e7632b54. Signed-off-by: "Yann E. MORIN" <>
2011-08-30kernel/linux: fix typoesYann E. MORIN"1-3/+3
Signed-off-by: "Yann E. MORIN" <>
2011-08-30kernel/linux: bump versionsYann E. MORIN"1-6/+11
Signed-off-by: "Yann E. MORIN" <>
2011-08-28libc/newlib: add a config option allowing to disable builtin syscallsKévin PETIT2-0/+15
Allows to choose if one wants to keep or not the syscalls that are provided with newlib. It passes the --disable-newlib-supplied-syscalls or --enable-newlib-supplied-syscalls to the configure script. If one chooses to disable the builtin syscalls, he/she will have to write his/her own. This can be usefull to port newlib to a new platform/board. Signed-off-by: Kévin PETIT <>
2011-08-25configure: xz-utils alone can also handle LZMA-compressed tarballsYann E. MORIN"2-2/+16
Signed-off-by: "Yann E. MORIN" <>
2011-08-25configure: check for lzmaYann E. MORIN"2-0/+7
Some packages are available as LZMA tarballs. LZMA is a relatively recent compression algorithm; it's slightly better than bzip2, but offers much faster decompression. LZMA is now deprecated in favor of XZ, but some packages switched to LZMA when XZ was not yet available, or still in its infancy. Latest XZ (which totaly obsoletes LZMA) offers a backward LZMA- compatible utility, so we can check for 'lzma' nonetheless. Signed-off-by: "Yann E. MORIN" <>
2011-08-25configure: fix typo in xz-utils warning messageYann E. MORIN"1-1/+1
Signed-off-by: "Yann E. MORIN" <>
2011-08-22configure: use def_bool for available featuresYann E. MORIN"1-2/+3
It's one line shorter, and easier to read. Signed-off-by: "Yann E. MORIN" <>
2011-08-22debug/ltrace: Fix HOST_OS and arTitus von Boxberg"4-0/+56
HOST_OS really is the target OS. Allow setting it for configure via an environment variable. libltrace.a should have an index: Allow ar to be set as an environment variable, and generate an index in this lib. Reported-by: "Guylhem Aznar" <> Signed-off-by: "Titus von Boxberg" <>
2011-08-22debug/gdb: correct compilation error when stpcpy is a defineTitus von Boxberg"1-0/+12
On OSX stpcpy is a define which is not recognized by gdb's configure. This results in a compilation error. Reported-by: "Guylhem Aznar" <> Signed-off-by: "Titus von Boxberg" <>