summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2011-11-15scripts: add support for building manualsYann E. MORIN"5-2/+57
Add support for building the HTML and PDF manuals for the major components. Implement for binutils, GCC, GDB, and GLIBC. Always build all manuals and install a subset. Be explicit about the subset to reduce the clutter and to avoid getting copies of common manuals like bfd from all of the sourceware based components. Downside of being explicit is that you need to update it when a new component comes along. Build the manuals as part of the last GCC build, namely 'cc' for glibc based ones and cc_core_pass_2 for baremetal. An example of the output is at: http://people.linaro.org/~michaelh/incoming/crosstool-NG/ Signed-off-by: Michael Hope <michael.hope@linaro.org> [yann.morin.1998@anciens.enib.fr: depends on ! remove docs; gold manual install] Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2011-11-16docs: Add strategies for assembling root filesystems.Yann E. MORIN"1-9/+132
Expand the documentation for using a crosstool-NG-generated toolchain for building a root filesystem for a target device. Signed-off-by: "Trevor Woerner" <twoerner@gmail.com> yann.morin.1998@anciens.enib.fr: some eye-candy] Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2011-11-07scripts: use wget, not curlYann E. MORIN"2-6/+5
It seems wget is more popular than curl. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2011-11-14scripts: use the floating-point string option in testsYann E. MORIN"1-1/+1
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2011-11-14libc/uClibc: use the floating-point string option in testsYann E. MORIN"2-3/+10
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2011-11-14arch/sh: use the floating-point string option in testsYann E. MORIN"1-3/+8
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2011-11-17arch/x86: prescott is an i686Titus von Boxberg1-0/+1
let CT_ARCH_ARCH=prescott result in a i686 tuple prefix Signed-off-by: Titus von Boxberg <titus@v9g.de>
2011-10-16complibs/cloog: auto-reconf for 0.15.10 and laterYann E. MORIN"2-1/+10
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2011-10-16complibs/cloog: fix extractionYann E. MORIN"1-18/+9
In the early days, cloog-ppl was bizarrely packaged: the first tarball did not contain the version in the name of the extracted directory, so we had to play tricks. Nowadays, however, the first component of the path are stripped when extracting a tarball, which means that the created directory will always be properly named. So, our old tricks do no longer work, and worse, they break the build. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2011-10-16complibs/mpfr: update to 3.1.0Yann E. MORIN"1-0/+6
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2011-11-17configure: do not use '@' in version stringYann E. MORIN"1-1/+1
Using an '@' in the version string breaks the gcc/glibc/gdb manuals. Use a scheme similar to Debian, with a plus '+' instead of the '@', as suggested by Michael Hope. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
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>