summaryrefslogtreecommitdiff
path: root/config
AgeCommit message (Collapse)AuthorFilesLines
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-08debug/gdb: new option to enable/disable use of pythonYann E. MORIN"1-0/+16
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-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-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 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-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-22kernel/linux: use a custom kernel source directoryYann E. MORIN"1-5/+6
Allows using either a tarball or a directory as the custom kernel source location. Signed-off-by: Vincent BENOIT <sinseman44@gmail.com> [yann.morin.1998@anciens.enib.fr: fix space damage, detailed commit message] Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2011-09-17gcc: add support for the PowerPC EABIYann E. MORIN"1-2/+28
Signed-off-by: Mircea Gherzan <mgherzan@gmail.com> [yann.morin.1998@anciens.enib.fr: rm trailing space] Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2011-09-12libc/uClibc: enable NPTL choice for uClibc >= 0.9.32Yann E. MORIN"1-1/+6
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2011-09-11binutils/binutils: add latest versionYann E. MORIN"1-0/+6
Add patches used by buildroot. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2011-09-11binutils/binutils: fixup version stringsYann E. MORIN"1-15/+15
Recently, all binutils versions have been renamed after a GPL compliance issue was found and fixed in binutils; http://sourceware.org/ml/binutils/2011-08/msg00198.html Although legacy symlinks have been put in place, we should now use the new, real version strings. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2011-09-11binutils/binutils: fixup version stringsYann E. MORIN"1-19/+0
Recently, all binutils versions have been renamed after a GPL compliance issue was found and fixed in binutils; http://sourceware.org/ml/binutils/2011-08/msg00198.html 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" <yann.morin.1998@anciens.enib.fr>
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: http://sourceware.org/ml/gdb/2011-09/msg00002.html Reported-by: ManuelStahl <manuel.stahl@iis.fraunhofer.de> Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
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" <yann.morin.1998@anciens.enib.fr>
2011-08-30complibs/gmp: bump versionYann E. MORIN"1-0/+6
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2011-08-30kconfig: print version in .configYann E. MORIN"1-1/+0
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" <yann.morin.1998@anciens.enib.fr>
2011-08-30kernel/linux: fix typoesYann E. MORIN"1-3/+3
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2011-08-30kernel/linux: bump versionsYann E. MORIN"1-6/+11
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2011-08-28libc/newlib: add a config option allowing to disable builtin syscallsKévin PETIT1-0/+10
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 <kpet@free.fr>
2011-08-21libc/glibc: change default of "forced unwind" to 'y'Yann E. MORIN"1-1/+3
Virtually all our targets do support stack unwinding. For some of them, ./configure can't detect that, and the build fails later on. So, default to force unwind, and let the user disable it if it breaks in his/her case. The previous changeset (f44286235a07) was empty, as spotted by Benoît. Reported-by: Benoît THÉBAUDEAU <benoit.thebaudeau@advansee.com> Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2011-08-18debug/gdb: update GDB revisionsBenoît THÉBAUDEAU"1-0/+14
Update GDB with the latest available revisions. Signed-off-by: "Benoît THÉBAUDEAU" <benoit.thebaudeau@advansee.com>
2011-08-18cc/gcc: update Linaro GCC revisionsBenoî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-08-17kernel/linux: add latest versionsYann E. MORIN"1-6/+16
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2011-08-14kernel/linux: simplify custom tarball handlingYann E. MORIN"2-8/+5
Simplify the way the custom tarball is handled: - fake version="custom" - at download, simply link the custom tarball to: "linux-custom.${custom_extension}" - at extract, the above allows to simply extract "linux-${LINUX_VERSION}" where LINUX_VERISON is set to the fake version="custom" Not that much convoluted, in fact... :-/ Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2011-08-14kernel/linux: deprecate copying headers from pre-instaleld headersYann E. MORIN"1-15/+7
No-one ever inquired about this feature. Due to the way it works, it is rather unlikely that every user used a properly-formatted tarball, or a properly structured directory as imput. Beside, it is not really easy to maintain: I just spent one full day remembering how it worked... Sigh... :-( Just deprecate this, until next release, or until someone complains. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2011-08-08kerenl/linux: update to latest versionsYann E. MORIN"1-27/+21
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
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-08-01configure: do not require svnYann E. MORIN"1-0/+12
svn is needed to download eglibc from the upstream repository. In some situations, though, it can happen that: - the developpers' machines do not have svn - a LAN mirror has been set-up with pre-downloaded eglibc tarballs In this case, it makes sense not to hard-depend on svn. So, if svn is missing, just say so, and add a comment in the menuconfig. Reported-by: ANDY KENNEDY <ANDY.KENNEDY@adtran.com> Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2011-07-29libc/glibc: add partial support for localesBenoît THÉBAUDEAU"1-0/+9
This patch adds partial support for glibc locales. For now, it only generates the appropriate locales when the host and the target have the same endianness and uint32_t alignment. Signed-off-by: "Benoît THÉBAUDEAU" <benoit.thebaudeau@advansee.com>
2011-07-29libc: create an infrastructure to build and install the libc localesBenoît THÉBAUDEAU"1-0/+7
This patch adds a common glibc/eglibc infrastructure to build and install the libc locales. Signed-off-by: "Benoît THÉBAUDEAU" <benoit.thebaudeau@advansee.com>
2011-07-31cc/gcc: fortran requires GMP and MPFRYann E. MORIN"1-0/+4
Even if gcc itself does not require GMP or MPFR (eg. gcc-4.2 and before don't), building the fortran frontend always required those companion libraries. Select them if the Fortran language is selected. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2011-07-29debug/gdb: don;t install sample gdbinit for old versionsYann E. MORIN"1-0/+4
Only starting with gdb-7 does installing the gdbinit sample makes senses. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2011-07-28cc/gcc: bump Linaro GCC revisions to 2011.07Benoît THÉBAUDEAU"1-6/+6
This patch bumps the Linaro GCC revisions to 2011.07 when applicable. Note that the `-0' suffix has been removed from the Linaro versioning scheme beginning with this version. Signed-off-by: "Benoît THÉBAUDEAU" <benoit.thebaudeau@advansee.com>
2011-07-22kernel/linux: add 3.0 Woohoo! \o/Yann E. MORIN"1-0/+5
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2011-07-21kernel/linux: add latest versionsYann E. MORIN"1-6/+11
Still waiting for 3.0, though... ;-) Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2011-07-17misc: fix more typos here and there...Yann E. MORIN"8-22/+22
Reported-by: "Antony N. Pavlov" <antony@niisi.msk.ru> Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2011-07-06libc/newlib: add latest versionYann E. MORIN"1-0/+6
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2011-07-03config: move multi-line shell commands from Makefile to scriptYann E. MORIN"1-118/+17
Maintaining thos multi-line shell commands in a Makefile rule is a real PITA. Move the two affected rules (build_gen_choice_in and build_gen_menu_in to a shell script. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2011-07-03libc/glibc: add 2.14Yann E. MORIN"1-0/+6
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2011-07-04configure: do not require cvsYann E. MORIN"1-0/+1
cvs is used to get newlib directly from its repository. Missing cvs will only allow getting newlib from the released tarballs. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2011-07-03config/config.mk: call sed in the Right WayTitus von Boxberg1-6/+6
calling sed as sed destroys portability. call sed as $(sed) in makefiles before the build process is started.
2011-06-27configure: disable static linking on DarwinYann E. MORIN"3-0/+3
Static liunking is not supported on Darwin, so hide the corresponding options when the build machine is Darwin. Reported-by: Andrea Franceschini <therealmorpheu5@gmail.com> Reported-by: Bryan Hundven <bryanhundven@gmail.com> Reported-by: "Titus von Boxberg" <titus@v9g.de> Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2011-06-27cc/gcc: add MIPS spercific configure optionsYann E. MORIN"2-0/+46
Add the following MIPS specific options when configuring gcc: --with(out)-llsc --with(out)-synci --with(out)-mips-plt --with-divide=type Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2011-06-27cc/gcc: add option for linker hash styleYann E. MORIN"2-0/+43
Add an option to specify the hash type that gcc will ask the linker to use. It is a provision for the upcoming 4.7, as no version currently supports it. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2011-06-27cc/gcc: add build-id optionYann E. MORIN"2-0/+18
Add an option to configure gcc with --enable-linker-build-id. Reported-by: Bryan Hundven <bryanhundven@gmail.com> Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2011-06-30libc/eglibc: Add option that allows for getting svn over http://Yann E. MORIN"1-0/+10
Instead of getting eglibc over standard svn://svn.eglibc.org Add an option that allows the user to get source from http://www.eglibc.org/svn This is useful if you are behind a firewall or proxy. If you are behind a proxy, don't forget to configure ${HOME}/.subversion/servers In the [global] section setup your proxy configuration. Signed-off-by: Bryan Hundven <bryanhundven@gmail.com> [yann.morin.1998@anciens.enib.fr: removed useless 'default n'] Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>