summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2011-11-16docs: --target versus --hostYann E. MORIN"1-5/+10
In the very beginnings, eons ago, autotools also got confused by this whole build vs. host vs. target, and got it wrong. Now they fixed it, but they want to keep backward compatibility, so the --target is still recongised, although ./configure will complain if you do so. It is better to use --host. Signed-off-by: "Trevor Woerner" <twoerner@gmail.com> [yann.morin.1998@anciens.enib.fr: add build/host clarification] Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2011-11-15libc/glibc: add 2.14.1Willy Tarreau1-0/+6
Signed-off-by: Willy Tarreau <w@1wt.eu>
2011-11-15debug/gdb: fix tic install path, tell ncurses where to find itYann E. MORIN"1-5/+3
ncurses 5.9 wants tic to be either one of: - $TIC_PATH - /usr/bin/tic Of course, se do not want the latter, for it can be incompatible if the ncurses in the build system is too old (eg. RHEL 5.6, Debian Lenny...). So, force TIC_PATH to the location of our own tic. Also, install tic alongside the other build tools, not in a sub-dir of the toolchain installation dir. Signed-off-by: Willy Tarreau <w@1wt.eu> [yann.morin.1998@anciens.enib.fr: install in builtools/bin, move TIC_PATH] Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2011-11-14cc/gcc: update Linaro GCC revisions to 2011.11Benoît Thébaudeau"1-3/+3
Update Linaro GCC with the latest available revisions. Signed-off-by: "Benoît Thébaudeau" <benoit.thebaudeau@advansee.com>
2011-11-14configure: fix version string breakageYann E. MORIN"1-2/+2
As we use the directory names as Makefile targets, they can not contain any column ':', or else make will complain about 'multiple target patterns'. Replace the offending ':' with a dash '-', as Titus suggested. Reported-by: Erdem Budak <erdembudak@hotmail.com> Reported-by: Titus von Boxberg <titus@v9g.de> Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2011-11-13configure: compute a simpler version stringYann E. MORIN"1-11/+9
Compute a simpler, yet still completely descriptive, version string. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2011-11-13configure: add support for helper script to compute version stringYann E. MORIN"1-15/+29
Some projects are using (or planning to use) crosstool-NG, and are storing it in their VCS, which might not be Mercurial. At the same time, those projects may want to track development snapshots versions the way we do with the Hg identity string (hg id). Provide a way for these project to do so, without having to patch ./configure, and maintain that patch over-and-over again. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2011-11-13docs: remove dedication fileYann E. MORIN"1-18/+0
This does in no way mean that Cédric will be forgotten. RIP, Cédric... Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2011-11-13kernel/linux: missed porting the 3.0.8 patchset to 3.0.9Yann E. MORIN"1-0/+0
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2011-11-13kernel/linux: update to latest versionsYann E. MORIN"1-37/+17
Add latest versions. Remove versions that disapeared during the kernel.org debacle. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2011-10-19arch/arm: ARM supports the softfp conventionYann E. MORIN"1-0/+1
ARM compilers can be built for soft float (software only, floats in core registers), hard float (uses floating point instructions, floats in FPU registers), or the half-way house softfp (uses floating point instructions, floats in core registers). Signed-off-by: Michael Hope <michael.hope@linaro.org> [yann.morin.1998@anciens.enib.fr: split the original patch] Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2011-10-19arch: add softfp supportYann E. MORIN"3-0/+26
Some architectures support a mixed hard/soft floating point, where the compiler emits hardware floating point instructions, but passes the operands in core (aka integer) registers. For example, ARM supports this mode (to come in the next changeset). Add support for softfp cross compilers to the GCC and GLIBC configuration. Needed for Ubuntu and other distros that are softfp. Signed-off-by: Michael Hope <michael.hope@linaro.org> [yann.morin.1998@anciens.enib.fr: split the original patch] Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2011-10-19scripts: use the hardfloat option to set configure and CFLAGSYann E. MORIN"1-0/+4
When hardfloat is selected, we need to pass that selection down to ./configure and in the CFLAGS. Signed-off-by: Michael Hope <michael.hope@linaro.org> [yann.morin.1998@anciens.enib.fr: split the original patch] Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2011-10-19scripts: introduce float type as a stringYann E. MORIN"3-4/+15
With the upcoming softfp support, the case..esac test would become a bit convoluted if it were to test three different booleans. Introduce a new blind string config option that defaults to the selected floating point type used. Signed-off-by: Michael Hope <michael.hope@linaro.org> [yann.morin.1998@anciens.enib.fr: split the original patch] Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2011-11-04kernel/linux: fix packed attribute in exported headersYann E. MORIN"1-0/+38
UBI headers (and maybe others as well) are broken because the 'packed' attribute is not sanitised when the headers are exported to userspace. Apply the fix from upstream: https://git.kernel.org/?p=linux/kernel/git/torvalds/linux.git;a=commitdiff;h=f210735fe2f17a6225432ee3d1239bcf23a8659c (Also, buildroot does the same, BTW) Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2011-11-02kernel/linux: update revisionsBenoît THÉBAUDEAU"1-21/+6
Update Linux with the latest available revisions. Signed-off-by: "Benoît THÉBAUDEAU" <benoit.thebaudeau@advansee.com>
2011-10-26debug/strace: Add strace-4.6Bryan Hundven1-0/+6
Now that xz support is in crosstool-ng, Add strace-4.6. Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
2011-10-26cc/gcc: Add gcc-4.6.2Bryan Hundven1-0/+7
Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
2011-10-21scripts: fix missing space when using CT_EXTRA_FLAGS_FOR_HOSTMichael Hope1-1/+1
CT_EXTRA_FLAGS_FOR_HOST needs a preceding space to separate it from any other options that have already been set. Signed-off-by: Michael Hope <michael.hope@linaro.org>
2011-10-20samples: set vendor string in all samplesYann E. MORIN"3-3/+3
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2011-10-18misc: change references to point to the new websiteYann E. MORIN"5-17/+20
It's been a while now that crosstool-NG has been hosted on it's own website, and not at my home. Change every reference to the old site to the new one, everywhere is makes sense to. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2011-10-16samples: update to latest set of optionsYann E. MORIN"44-1835/+1016
Update all the samples, so that there is not config-prompt when recalling samples. This is no upgrade, it's just about having new options set (y or n) in the samples. Also, get rid of the armeb-test_nptl-linux-uclibcgnueabi, it's no longer needed, there's a non-test sample with uClibc NPTL, now. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2011-10-16arch/powerpc: fix tuple for uClibcYann E. MORIN"1-5/+8
Changeset #7c288c777455 broke the tuple for uClibc-based powerpc toolchains, by unconditionally forcing CT_TARGET_SYS to "gnu". Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2011-10-16scripts: do not force locale when sorting samplesYann E. MORIN"1-4/+4
Just use whatever the user has set in his/her environment. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2011-10-07scripts/functions: Fix CT_ExtractGit function.Yann E. MORIN"1-12/+15
Change CT_ExtractGit so that it clones the repository, instead of just symlinking it. After cloning, any given ref is checked out, or if no ref is given, the HEAD of the repository is checked out. This makes CT_Extract behave similar for git repositories as it does for tarballs, so that it for example can be used for passing glibc-ports as a git repository. Signed-off-by: "Esben Haabendal" <esben.haabendal@prevas.dk> [yann.morin.1998@anciens.enib.fr: fix incomplete var rename] Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2011-10-13debug/gdb: update Linaro GDB revisions to 2011.10Benoît THÉBAUDEAU"1-3/+3
Update Linaro GDB with the latest available revisions. Signed-off-by: "Benoît THÉBAUDEAU" <benoit.thebaudeau@advansee.com>
2011-10-13cc/gcc: update Linaro GCC revisions to 2011.10Benoît THÉBAUDEAU"1-6/+6
Update Linaro GCC with the latest available revisions. Signed-off-by: "Benoît THÉBAUDEAU" <benoit.thebaudeau@advansee.com>
2011-10-16configure: don't check for host systemYann E. MORIN"1-14/+0
This is no longer used. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2011-10-14scripts: check host features with host compilerYann E. MORIN"6-96/+21
Currently, we check host feature in ./configure. This works only for cross toolchains, but not for canadian toolchains. ./configure has absolutely no way to know what the host for the toolchain will be; only the build scripts know. So, move the headers & libraries checks from ./configure to the build scripts, early enough in the build, but not before we know the host compiler and other tools. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2011-10-16config: use '0' for automatic number of jobsYann E. MORIN"2-7/+6
Also, make it the default. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2011-09-28docs: add dedication fileYann E. MORIN"1-0/+18
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2011-10-09scripts: execute each steps in a subshellYann E. MORIN"1-1/+1
To avoid variable leakage from one step to another, isolate the steps from each others by running them in their own sub-shell. This avoids variables leaking from one step to the others. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2011-10-11libc/glibc: run ./configure in CONFIG_SHELLYann E. MORIN"1-0/+3
Tremendously helps when running on at least Ubuntu, with dash as the system shell (ie. /bin/sh points to dash). Reported by a few people, of which: leming, ccct and ccole on IRC Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
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" <yann.morin.1998@anciens.enib.fr>
2011-10-09complibs/cloog: catch autogen.sh's outputYann E. MORIN"1-1/+1
Run autogen.sh through CT_DoExecLog to catch its output. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
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" <yann.morin.1998@anciens.enib.fr>
2011-10-09binutils/binutils: ensure gold is staticaly-linked if neededYann E. MORIN"1-2/+2
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
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 <michael.hope@linaro.org> [yann.morin.1998@anciens.enib.fr: put the custom flags at the end] Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
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 <michael.hope@linaro.org> [yann.morin.1998@anciens.enib.fr: further describe the desc line] Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2011-10-07libc/glibc: add log messages for glibc addons dirs and symlinksYann E. MORIN"1-2/+2
Signed-off-by: "Esben Haabendal" <esben.haabendal@prevas.dk> [yann.morin.1998@anciens.enib.fr: fix linewrap-carnage] Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2011-10-05scripts: update config.{guess,sub}Yann E. MORIN"2-6/+18
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
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 <michael.hope@linaro.org>
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 <michael.hope@linaro.org>
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 <michael.hope@linaro.org>
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/crosstool-NG.sh from being regenerated. Added 'install' as I often set the prefix to $PWD/install. Signed-off-by: Michael Hope <michael.hope@linaro.org>
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 <michael.hope@linaro.org>
2011-09-28debug/gdb: update to the Linaro 2011.09Yann E. MORIN"1-3/+3
Signed-off-by: Michael Hope <michael.hope@linaro.org> [yann.morin.1998@anciens.enib.fr: split gcc/gdb in two patches] Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2011-09-28cc/gcc: update to the Linaro 2011.09Yann E. MORIN"1-6/+6
Signed-off-by: Michael Hope <michael.hope@linaro.org> [yann.morin.1998@anciens.enib.fr: split gcc/gdb in two patches] Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
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" <yann.morin.1998@anciens.enib.fr>
2011-09-25samples: add new mipsel-sde-elf sample.Yann E. MORIN"2-0/+373
Signed-off-by: Kevin Cernekee <cernekee@gmail.com> [yann.morin.1998@anciens.enib.fr: add pointer to ML thread] Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>