summaryrefslogtreecommitdiff
path: root/config/global
AgeCommit message (Collapse)AuthorFilesLines
2011-11-15scripts: add support for building manualsYann E. MORIN"1-0/+8
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-10-18misc: change references to point to the new websiteYann E. MORIN"1-9/+12
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-16config: use '0' for automatic number of jobsYann E. MORIN"1-3/+3
Also, make it the default. 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"1-7/+16
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2011-10-05scripts: support extra host compiler flagsYann E. MORIN"1-0/+10
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-28config: add a 'auto' value for the number of parallel jobsMichael Hope1-0/+2
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-08-02scripts: try the mirror even if downloads are forbiddenYann E. MORIN"1-31/+31
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2011-08-02scripts/functions: always prefer the mirrorYann E. MORIN"1-10/+1
Currently, the mirror can be used either: - as a fallback in case upstream is unavailable (default behavior) - as the preferred source for downloads But the most common use-case seems to provide a truely-LAN mirror to speed up downloads in big corpos', and/or provide a 'trusted' source for the tarballs. So, make the following changes; - if a mirror is specified, always try that before trying upstream Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2011-07-17misc: fix more typos here and there...Yann E. MORIN"3-11/+11
Reported-by: "Antony N. Pavlov" <antony@niisi.msk.ru> Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2011-05-31kconfig: remove useless 'default n'Benoît THÉBAUDEAU"5-17/+0
kconfig bools are disabled by default, so specifying 'default n' is useless and noisy. This patch removes all occurrences of 'default n'. Signed-off-by: "Benoît THÉBAUDEAU" <benoit.thebaudeau@advansee.com>
2011-04-27config: small help fix up for work dir defaultYann E. MORIN"1-1/+1
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2011-01-28config: add an option not to remove the destination directoryYann E. MORIN"1-0/+22
In certain circumstances, removing the destination/installation directory is a bad idea. For example, when the build environment is already taking care of sanitising the build tree, and pre-installs stuff in there, it is a very bad idea to remove the destination directory. This happens now in buildroot, as the crostool-NG backend now installs the toolchain in the common host-tools directory, and pre-install there a few host-utilities (eg. host-automake and host-gawk). Provide a config knob to turn on/off the removal of the destination directory, defaulting to 'y' (previous behavior), and forced to 'n' when used as a backend. Reported-by: Peter Korsgaard <jacmet@sunsite.dk> Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2010-12-21docs: overview.txt is gone, point to the new documentationYann E. MORIN"1-1/+1
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2010-12-18config: fix the patch fallbacks methodsYann E. MORIN"1-2/+2
Reported-by: Heiko Zuerker <heiko@zuerker.org> Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2010-11-16scripts: remove aria2c as downloader, retain only curl and wgetYann E. MORIN"1-15/+0
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2010-09-12config: change name of default build dirYann E. MORIN"1-1/+1
'targets' is not really meaningfull. 'build' means what it means. '.build' just hides it as well! :-) Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2010-08-11scripts: do not download in // by defaultYann E. MORIN"1-1/+1
Parallel downloads can be a bit harsh on the servers, and some will fail (eg. uclibc.org) in some cases. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2010-05-27scripts: add option to strip all toolchain executablesRemy Bohmer1-0/+10
To reduce filesizes of the toolchain and even improve build times of projects to be build with this toolchain it is usefull to strip the delivered toolchain executables. Since it is not likely that we will debug the toolchain executables itself we do not need the debug information inside the executables itself. Signed-off-by: Remy Bohmer <linux@bohmer.net>
2010-07-10config: no need to push the download mirror in a sub menuYann E. MORIN"1-1/+1
2010-03-29config: move backend-related options to their own fileYann E. MORIN"1-25/+0
2010-03-29config: hide arch and kernel selection when used as a backendYann E. MORIN"1-0/+16
When used as a backend, it is the responsibility of the upper-layer build system to set the target architecture and kernel.
2010-03-29config: hide options to debug crosstool-NG when a backendYann E. MORIN"1-0/+1
When used as a backend, it does not make sense to debug crosstool-NG, so hide the option.
2010-03-29config: hide more config options when a backendYann E. MORIN"1-10/+14
Hide the prompts for some behavioral options, for which the upper-layer build system is responsible for: - parallel jobs and maximum load - use pipes - use custom shell
2010-03-29config: hide paths when used as a backendYann E. MORIN"1-6/+7
When crosstool-NG is used as a backend, it is the responsibility of the upper-layer build-system to properly set paths, so we just hide the prompts in this case.
2010-03-05config: prepare for build-system backendYann E. MORIN"1-0/+9
When acting as a backend for a build-system, we should not build any application that runs on the target, that is: - no native gdb - no companion libraries - no binutils libraries - no debug tools (save for gdbserver) - ... Here, we simply prepare the (hidden) config option that will detect that we are acting as a back-end. Update doc accordingly.
2010-02-03config: re-order the log entries inthe menuconfigYann E. MORIN"1-8/+8
2010-01-31config: rename mirror prompt, update help entryYann E. MORIN"1-4/+1
The mirror is not necessarily on the /LAN/.
2010-01-31config: remove never used/implemented 'ls-lR'Yann E. MORIN"1-15/+0
Use of listing (ls-lR) was never implemented, and never used.
2010-01-29global: do not offer the renice option, let's the user handle thatYann E. MORIN"1-8/+0
It's broken anyway. Eg.: - user is already niced at 10 - user configures to renice at 5 - breaks because user is not allowed to 'boost' his/her nice value Bette let the user handle the renice with: nice -XX ct-ng 'action'
2009-12-30scripts/functions: add aria2, a powerfull downloaderYann E. MORIN"1-1/+16
aria2 is a powerfull downloader that is capable of chunking and parallel retrieval. Due to li;itations in crosstool-NG retrieval facilities, it's not possible to take fully advantage of aria2. It might happen that, in the future, those limitations get lifted away, so we can take use features such as parallel downloading from more than one server at the same time. For now, it should still speed up downloads thanks to parallel downloading of chunks.
2009-11-16config/global: enable not using patches at allYann E. MORIN"1-0/+14
It can be needed to build a toolchain with no patch at all.
2009-08-31config: move the patch choice to the extract sectionYann E. MORIN"2-80/+80
Choosing the origin of the patches to apply is best done in the 'extract' section.
2009-08-31config: add fallback to patch orderYann E. MORIN"1-0/+22
Add the possibility to fallback to either bundled or local patches if local or bundled are missing.
2009-08-31config: add the local,bundled patch orderYann E. MORIN"1-0/+9
This ordering first applies the local patches, then the bundeld ones.
2009-08-31config: make selecting the patch origin a choice rather than a boolYann E. MORIN"1-20/+38
2009-08-06config: make CONFIG_SHELL default to bashYann E. MORIN"1-6/+4
Some components (eg. GMP) will fail to correctly build if the CONFIG_SHELL is not bash (eg. ash or dash). So make bash the default CONFIG_SHELL. Keep ash as a possible selection, as future versions of those currently /broken/ tools may come fixed wrt to CONFIG_SHELL being POSIX-ly compliant.
2009-08-02[config] Warn againt using ash as CONFIG_SHELLYann E. MORIN"1-1/+5
It apears that more and more ./configure scripts and Makefiles make use of non-POSIXly correct shell constructs, that don't work with ash. For now, just warn the user against using ash, but keep it as an option in case newer versions of the /broken/ components come fixed, and we can again use ash, as it is in some cases really faster than bash.
2009-08-02[config] Allow user to specify custom CONFIG_SHELLYann E. MORIN"1-3/+18
In case the shell the user wants to use as CONFIG_SHELL is located in a weird place (eg. /opt/bash/bin/bash), or is weirdly named (eg. bash-4), let the user enter the patch to the shell.
2009-08-02[config] Add bash as a possible CONFIG_SHELLYann E. MORIN"1-0/+9
On some systems and/or for some components, it may be necessary to explicitly use bash as the shell used by ./configure and Makefiles.
2009-08-02[config] Change the way to select the CONFIG_SHELLYann E. MORIN"1-9/+39
Transform the single boolean option to a 'choice' selection with two options: "sh" and "ash". This is needed to later add "bash" as override.
2009-04-20Add a bit more explanations on the meaning of OBSOLETE and EXPERIMENTAL.Yann E. MORIN"1-9/+13
-------- diffstat follows -------- /trunk/config/global/ct-behave.in | 22 13 9 0 +++++++++++++--------- /trunk/docs/overview.txt | 8 6 2 0 ++++++-- 2 files changed, 19 insertions(+), 11 deletions(-)
2009-04-19Poit my mirror as the default.Yann E. MORIN"1-1/+1
-------- diffstat follows -------- /trunk/config/global/download.in | 2 1 1 0 +- 1 file changed, 1 insertion(+), 1 deletion(-)
2009-04-19Simplify the mirror settings.Yann E. MORIN"1-46/+14
-------- diffstat follows -------- /trunk/scripts/functions | 7 3 4 0 ++--- /trunk/config/global/download.in | 60 14 46 0 +++++++++++----------------------------------- 2 files changed, 17 insertions(+), 50 deletions(-)
2009-04-19Get rid of the proxy settings, once and for all.Yann E. MORIN"1-148/+0
They have nothing to do in here, just let the user configure his/her system appropriately. -------- diffstat follows -------- /trunk/scripts/build/libc/eglibc.sh | 1 0 1 0 - /trunk/scripts/functions | 100 0 100 0 ----------------------------- /trunk/config/global/download.in | 148 0 148 0 ------------------------------------------- 3 files changed, 249 deletions(-)
2009-01-06Add an option to forbid downloads.Yann E. MORIN"1-0/+18
Idea and code-base from Don Elwell <don@manifoldlabs.com>, adapted by me. /trunk/scripts/functions | 6 6 0 0 ++++++ /trunk/config/global/download.in | 18 18 0 0 ++++++++++++++++++ 2 files changed, 24 insertions(+)
2008-11-20Overide locale to C so as to have readable logs.Yann E. MORIN"1-0/+17
Offer a DEBUG & EXPERIMENTAL setting to not overide locale. /trunk/scripts/crosstool.sh | 10 7 3 0 +++++++--- /trunk/config/global/ct-behave.in | 17 17 0 0 +++++++++++++++++ 2 files changed, 24 insertions(+), 3 deletions(-)
2008-10-31Transform LAN_MIRROR into plain MIRROR:Yann E. MORIN"1-19/+27
- it does not have to be in the LAN - offer mirror preference over upstream - if selected, the mirror will be scanned before upstream servers - if not selected, upstream servers will be scanned before the mirror - I've set up such an internet-accessible mirror - uClibc snapshot available - MPFR releases available (the MPFR site is down from time to time) - update all samples to use my mirror as a failover /trunk/scripts/functions | 45 16 29 0 +++++-------- /trunk/samples/x86_64-unknown-linux-gnu/crosstool.config | 8 7 1 0 ++ /trunk/samples/sh4-unknown-linux-gnu/crosstool.config | 8 7 1 0 ++ /trunk/samples/armeb-unknown-linux-uclibc/crosstool.config | 8 7 1 0 ++ /trunk/samples/arm-unknown-elf/crosstool.config | 8 7 1 0 ++ /trunk/samples/arm-unknown-linux-gnueabi/crosstool.config | 8 7 1 0 ++ /trunk/samples/ia64-unknown-linux-gnu/crosstool.config | 8 7 1 0 ++ /trunk/samples/x86_64-unknown-linux-uclibc/crosstool.config | 8 7 1 0 ++ /trunk/samples/armeb-unknown-linux-gnueabi/crosstool.config | 8 7 1 0 ++ /trunk/samples/powerpc-e500v2-linux-gnuspe/crosstool.config | 8 7 1 0 ++ /trunk/samples/i686-nptl-linux-gnu/crosstool.config | 8 7 1 0 ++ /trunk/samples/powerpc-unknown-linux-gnu/crosstool.config | 8 7 1 0 ++ /trunk/samples/arm-unknown-linux-gnu/crosstool.config | 8 7 1 0 ++ /trunk/samples/mips-unknown-linux-uclibc/crosstool.config | 8 7 1 0 ++ /trunk/samples/arm-unknown-linux-uclibcgnueabi/crosstool.config | 8 7 1 0 ++ /trunk/samples/armeb-unknown-linux-gnu/crosstool.config | 8 7 1 0 ++ /trunk/samples/powerpc-unknown_nofpu-linux-gnu/crosstool.config | 8 7 1 0 ++ /trunk/samples/powerpc-unknown-linux-uclibc/crosstool.config | 8 7 1 0 ++ /trunk/samples/arm-unknown-linux-uclibc/crosstool.config | 8 7 1 0 ++ /trunk/samples/i586-geode-linux-uclibc/crosstool.config | 8 7 1 0 ++ /trunk/samples/powerpc-405-linux-gnu/crosstool.config | 8 7 1 0 ++ /trunk/samples/armeb-unknown-linux-uclibcgnueabi/crosstool.config | 8 7 1 0 ++ /trunk/samples/mipsel-unknown-linux-gnu/crosstool.config | 8 7 1 0 ++ /trunk/samples/arm-unknown-eabi/crosstool.config | 8 7 1 0 ++ /trunk/samples/alphaev56-unknown-linux-gnu/crosstool.config | 8 7 1 0 ++ /trunk/samples/powerpc-860-linux-gnu/crosstool.config | 8 7 1 0 ++ /trunk/config/global/download.in | 42 25 17 0 +++++++----- 27 files changed, 216 insertions(+), 71 deletions(-)
2008-10-31Add a "NOTE" in the proxy settings help, telling it might not cover all ↵Yann E. MORIN"1-0/+4
possible proxy configurations. /trunk/config/global/download.in | 4 4 0 0 ++++ 1 file changed, 4 insertions(+)
2008-10-09Remove CT_BROKEN.Yann E. MORIN"1-8/+0
Only one component is actually BROKEN (libelf), make it depend on EXPERIMENTAL, but state BROKEN in the prompt. ltrace (which depends on libelf) is now marked as EXPERIMENTAL, with the reference to the BROKEN libelf in the help entry. /trunk/docs/overview.txt | 6 0 6 0 ------ /trunk/config/debug/ltrace.in | 7 4 3 0 ++++--- /trunk/config/global/ct-behave.in | 8 0 8 0 -------- /trunk/config/tools/libelf.in | 5 3 2 0 +++-- 4 files changed, 7 insertions(+), 19 deletions(-)
2008-10-02extract-config.sh no longer exists, don't advertise it.Yann E. MORIN"1-3/+0
/trunk/config/global/logging.in | 3 0 3 0 --- 1 file changed, 3 deletions(-)