summaryrefslogtreecommitdiff
path: root/scripts/functions
AgeCommit message (Collapse)AuthorFilesLines
2008-10-12Use ERROR level for make errors.Yann E. MORIN"1-3/+7
Rename the C library addons directories rather than symlinking. /trunk/scripts/functions | 10 7 3 0 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-)
2008-09-14Introduce a new EXPERIMENTAL feature: BARE_METAL.Yann E. MORIN"1-2/+4
This should ultimately llow to build bare-metal compilers, for targets that have no kernel and no C library. Move the C library build script to their own sub-directory; introduce an empty build script for bare-metal. Move the compiler build script to its own sub-directory. Move the kernel build script to its own sub-directory; introduce an empty build script for bare-metal. Update the ARM target tuples to enable bare-metal targets. Add two ARM bare-metal samples. Add latest Linux kernel versions. /trunk/scripts/build/kernel/none.sh | 77 6 71 0 +---- /trunk/scripts/build/cc/gcc.sh | 58 41 17 0 ++- /trunk/scripts/build/libc/none.sh | 513 9 504 0 +----------------------------- /trunk/scripts/crosstool.sh | 17 9 8 0 + /trunk/scripts/functions | 6 4 2 0 + /trunk/scripts/showSamples.sh | 6 3 3 0 /trunk/samples/arm-unknown-elf/crosstool.config | 225 225 0 0 +++++++++++++ /trunk/samples/arm-unknown-eabi/crosstool.config | 223 223 0 0 +++++++++++++ /trunk/config/kernel/linux_headers_install.in | 64 27 37 0 ++-- /trunk/config/kernel.in | 9 8 1 0 + /trunk/config/toolchain.in | 1 1 0 0 + /trunk/config/cc/gcc.in | 3 3 0 0 + /trunk/config/debug/dmalloc.in | 1 1 0 0 + /trunk/config/debug/gdb.in | 4 3 1 0 + /trunk/config/debug/strace.in | 1 1 0 0 + /trunk/config/debug/duma.in | 1 1 0 0 + /trunk/config/cc.in | 8 8 0 0 + /trunk/config/target.in | 13 13 0 0 + /trunk/config/binutils.in | 1 1 0 0 + /trunk/config/gmp_mpfr.in | 1 1 0 0 + /trunk/config/libc.in | 17 11 6 0 + /trunk/arch/arm/functions | 3 1 2 0 - 22 files changed, 600 insertions(+), 652 deletions(-)
2008-08-17Log retrieved file emssages to DEBUG level, not EXTRA.Yann E. MORIN"1-3/+3
/trunk/scripts/build/libc_eglibc.sh | 2 1 1 0 +- /trunk/scripts/functions | 6 3 3 0 +++--- 2 files changed, 4 insertions(+), 4 deletions(-)
2008-08-12Be a little less verbose when retrieving files if they are already present.Yann E. MORIN"1-5/+2
Be a little less verbose when extracting (and patching) files. /trunk/scripts/functions | 7 2 5 0 ++----- 1 file changed, 2 insertions(+), 5 deletions(-)
2008-08-11Merge the branches/eglibc stuff:Yann E. MORIN"1-2/+4
- Add support for eglibc /trunk/scripts/functions | 6 4 2 0 ++++-- /trunk/docs/CREDITS | 1 1 0 0 + /trunk/config/libc.in | 12 12 0 0 ++++++++++++ /trunk/arch/arm/functions | 4 2 2 0 ++-- 4 files changed, 19 insertions(+), 4 deletions(-)
2008-08-11Move two log messages around, so that output looks better.Yann E. MORIN"1-2/+2
/trunk/scripts/functions | 4 2 2 0 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
2008-08-09Do not unset http_proxy, ftp_proxy and https_proxy in case of using a socks ↵Yann E. MORIN"1-4/+2
proxy. Add a log message. /trunk/scripts/functions | 6 2 4 0 ++---- 1 file changed, 2 insertions(+), 4 deletions(-)
2008-08-09Merge #920 from branches/eglibc:Yann E. MORIN"1-8/+6
Fix saving tarballs locally in case downloads are forced. /trunk/scripts/functions | 14 6 8 0 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-)
2008-08-09Merge #916 from branches/eglibc:Yann E. MORIN"1-17/+18
Use a little bit more of CT_DoExecLog. /trunk/scripts/functions | 35 18 17 0 ++++++++++++++++++----------------- 1 file changed, 18 insertions(+), 17 deletions(-)
2008-08-09Merge #914 from branches/eglibc:Yann E. MORIN"1-2/+3
Fix setting the proxy. /trunk/scripts/functions | 5 3 2 0 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)
2008-08-09Merge #911 from banches/eglibc:Yann E. MORIN"1-1/+1
Fix testing for tool's presence. /trunk/scripts/functions | 2 1 1 0 +- 1 file changed, 1 insertion(+), 1 deletion(-)
2008-08-07Introduce four new ARCH specific variables that CT_DoArchValues can set if ↵Yann E. MORIN"1-2/+2
they want: - CT_ARCH_CC_CORE_EXTRA_CONFIG - CT_ARCH_CC_EXTRA_CONFIG - CT_ARCH_TARGET_CLFAGS - CT_ARCH_TARGET_LDFLAGS This will hopefully enable architectures to specify specific flags. PowerPC will need them to introduce SPE (coming RSN). /trunk/scripts/crosstool.sh | 2 2 0 0 ++ /trunk/scripts/functions | 4 2 2 0 ++-- /trunk/docs/overview.txt | 45 22 23 0 ++++++++++++++++++++++----------------------- /trunk/config/target.in | 10 10 0 0 ++++++++++ 4 files changed, 36 insertions(+), 25 deletions(-)
2008-08-01Rework a little bit of the LAN mirror and proxy settings.Yann E. MORIN"1-22/+129
/trunk/scripts/crosstool.sh | 105 4 101 0 +------------------------ /trunk/scripts/functions | 151 129 22 0 +++++++++++++++++++++++++++++++----- /trunk/config/global/download.in | 193 99 94 0 ++++++++++++++++++++++++---------------------- 3 files changed, 232 insertions(+), 217 deletions(-)
2008-07-27Re-enable the restart functionality by removing some variables from the ↵Yann E. MORIN"1-6/+10
saved environment. /trunk/scripts/functions | 16 10 6 0 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-)
2008-07-26In case of error, the error message would be printing in subshells, thus ↵Yann E. MORIN"1-0/+2
printing as many error message as there were subshells. Limit printing this message only in the top-level shell. /trunk/scripts/functions | 2 2 0 0 ++ 1 file changed, 2 insertions(+)
2008-07-25While retrieving files, propagate the preferred extension down to sub-functions.Yann E. MORIN"1-3/+5
/trunk/scripts/functions | 8 5 3 0 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-)
2008-07-24When retrieving a file, allow preferred extension to be whatever starts with ↵Yann E. MORIN"1-2/+3
a dot, and not only one of .tar.bz2 .tar.gz .tgz or .tar. /trunk/scripts/functions | 5 3 2 0 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)
2008-07-19Introduce using a LAN mirror for retrieving tarballs.Yann E. MORIN"1-4/+36
/trunk/scripts/functions | 40 36 4 0 ++++++++++++- /trunk/config/global/download.in | 146 115 31 0 ++++++++++++++++++++++++++++++++++++---------- 2 files changed, 151 insertions(+), 35 deletions(-)
2008-07-14Catching a double fault is doomed... Don't take action.Yann E. MORIN"1-4/+1
Simplify CT_DoExecLog: it does not support affectations prior to the command, anyway. /trunk/scripts/functions | 5 1 4 0 +---- 1 file changed, 1 insertion(+), 4 deletions(-)
2008-07-14Don't print double-faults.Yann E. MORIN"1-0/+3
/trunk/scripts/functions | 3 3 0 0 +++ 1 file changed, 3 insertions(+)
2008-07-14Log the command being run when calling CT_DoExecLog, which is kinda the ↵Yann E. MORIN"1-1/+1
point of CT_DoExecLog, anyway... /trunk/scripts/functions | 2 1 1 0 +- 1 file changed, 1 insertion(+), 1 deletion(-)
2008-07-13Also log the command being executed when calling CT_DoExecLog (no user yet).Yann E. MORIN"1-2/+3
/trunk/scripts/functions | 5 3 2 0 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)
2008-06-20Print "Build completed" only if not in error, not the other way around.Yann E. MORIN"1-1/+1
/trunk/scripts/functions | 2 1 1 0 +- 1 file changed, 1 insertion(+), 1 deletion(-)
2008-06-19Only print "Build completed" if build was successful.Yann E. MORIN"1-2/+5
Print the time at which at step was finished (along with the time it took to complete). /trunk/scripts/functions | 7 5 2 0 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-)
2008-05-25Add a new helper function: CT_DoExecLog.Yann E. MORIN"1-0/+8
It is similar to CT_DoLog, but instead of printing its arguments, it uses them as a command, and logs the output of that command. /trunk/scripts/functions | 8 8 0 0 ++++++++ 1 file changed, 8 insertions(+)
2008-05-21Introduce target-specific LDFLAGS, the same way we have CFLAGS for the target.Yann E. MORIN"1-2/+7
It seems to be helping gcc somewhat into telling the correct endianness to ld that sticks with little endian even when the target is big (eg armeb-unknown-linux-uclibcgnueabi). There's still work to do, especially finish the gcc part that is not in this commit. /trunk/scripts/functions | 9 7 2 0 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-)
2008-05-20Get rid of all `command` (which is a bashism), and replace them with ↵Yann E. MORIN"1-64/+64
$(command), which is POSIX. Get rid of all remaining \"text\" in log messages and replace them with 'text'. Optimise the progress bar, should go un-noticed at log level DEBUG and below. /trunk/scripts/build/tools/200-sstrip.sh | 16 8 8 0 ++-- /trunk/scripts/build/libc_glibc.sh | 50 25 25 0 +++++++------- /trunk/scripts/build/libc_uClibc.sh | 4 2 2 0 /trunk/scripts/build/debug/100-dmalloc.sh | 2 1 1 0 /trunk/scripts/build/debug/400-ltrace.sh | 2 1 1 0 /trunk/scripts/build/debug/300-gdb.sh | 8 4 4 0 +- /trunk/scripts/build/debug/200-duma.sh | 6 3 3 0 +- /trunk/scripts/build/kernel_linux.sh | 30 15 15 0 ++++---- /trunk/scripts/build/cc_gcc.sh | 14 7 7 0 ++-- /trunk/scripts/crosstool.sh | 54 27 27 0 ++++++++-------- /trunk/scripts/functions | 128 64 64 0 ++++++++++++++++++------------------ /trunk/scripts/saveSample.sh | 4 2 2 0 /trunk/scripts/tarball.sh.broken | 20 10 10 0 +++--- /trunk/tools/addToolVersion.sh | 8 4 4 0 +- /trunk/tools/populate.in | 18 9 9 0 ++-- 15 files changed, 182 insertions(+), 182 deletions(-)
2008-05-15Introduce a new option to overide components' config.{gues,sub} with the one ↵Yann E. MORIN"1-2/+11
provided with crosstool-NG. Fix typoes in a comment. /trunk/scripts/functions | 13 11 2 0 +++++++++++-- /trunk/config/global/download_extract.in | 20 20 0 0 ++++++++++++++++++++ 2 files changed, 31 insertions(+), 2 deletions(-)
2008-05-14Export endianness CFLAGS.Yann E. MORIN"1-0/+1
Fix endianness CFLAGS for MIPS. /trunk/scripts/functions | 1 1 0 0 + /trunk/arch/mips/functions | 6 6 0 0 ++++++ 2 files changed, 7 insertions(+)
2008-05-14Fix building uClibc-based, soft-float toolchains by correctly setting float ↵Yann E. MORIN"1-2/+2
support in the uClibc config file. Correctly unset float CFLAGS and configure arguments before setting them. /trunk/scripts/build/libc_uClibc.sh | 4 2 2 0 ++-- /trunk/scripts/functions | 4 2 2 0 ++-- 2 files changed, 4 insertions(+), 4 deletions(-)
2008-05-06Add a new option to set connection timeout while downloading.Yann E. MORIN"1-8/+8
/trunk/scripts/functions | 16 8 8 0 ++++++++-------- /trunk/config/global/download_extract.in | 25 25 0 0 +++++++++++++++++++++++++ 2 files changed, 33 insertions(+), 8 deletions(-)
2008-04-13Fix a comment.Yann E. MORIN"1-3/+3
functions | 6 3 3 0 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
2008-04-13Matthias Kaehlcke <matthias@kaehlcke.net> reported hanged downloads on hisYann E. MORIN"1-5/+12
network, most probably due to proxies. Have downloaders (wget and curl) timeout on too slow connections (they don't by default). scripts/functions | 17 12 5 0 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-)
2008-02-14Robet P. J. DAY: typoes.Yann E. MORIN"1-1/+1
2008-01-16Fix a long standing bug when setting compiler flags.Yann E. MORIN"1-1/+1
2007-10-30Fix by "Arvid Brodin" <Arvid.Brodin@enea.com> to CFLAGS coming from ↵Yann E. MORIN"1-1/+1
CT_ARCH_TUNE. Thanks for spotting this one! ;-)
2007-09-16ARM EABI is now working for little endian ARM targets.Yann E. MORIN"1-6/+6
Big endian is still missing, though...
2007-09-15Further improve the architecture-specific framework.Yann E. MORIN"1-2/+21
Apply this framework into building of glibc and gcc. (Whoo! 500th commit! Yeah!)
2007-09-14Further expand the architecture-specific function: add CT_KERNEL_ARCH building.Yann E. MORIN"1-0/+3
2007-09-14Migrate all supported architectures to use the architecture-specific framework.Yann E. MORIN"1-31/+21
2007-09-11Merge from branches/ia64@476 : add ia64 preliminary support.Yann E. MORIN"1-0/+1
2007-09-08Use symlinks to the localy stored tarballs rather than copying them.Yann E. MORIN"1-3/+4
If saving tarballs to local storage is selected, move newly downloaded tarballs there and symlink.
2007-09-06Add a patch to enqable NPTL build on ARM OABI with glibc-2.6.1.Yann E. MORIN"1-1/+1
Fix a comment.
2007-08-16Fix restoring the environment.Yann E. MORIN"1-1/+1
2007-08-15Change "triplet" (target triplet) to "tuple". That sounds better!Yann E. MORIN"1-4/+4
Document overriding the number of // jobs. Some small documentation fixes.
2007-08-12Fix a small typo when extracting non-compressed steps.Yann E. MORIN"1-10/+10
Have a go for a sane handlign of tar options and extensions.
2007-08-12Fix saving the environment. Thanks to Mark Vels <Mark.Vels@fundem.net> for ↵Yann E. MORIN"1-4/+2
pointed it out!
2007-07-30Remove any reference to libfloat. That has gone once and for all.Yann E. MORIN"1-1/+1
Rationale: Most of the time, soft-float problems are caused by this sucker of gcc: it has support for soft float for all of the targets I've tried so far, but does not activate this code until you dwelve into half a dozen of files to make it accept to build and link the support code... So, yes: gcc has soft-float support. And again, yes: gcc is a sucker.
2007-07-15Add an option to save downloaded tarballs to local tarballs directory.Yann E. MORIN"1-8/+15
Sanitise CT_GetFile. Change some messages (Copying -> Retrieving).
2007-07-12Get rid of the legacy local variable got_it.Yann E. MORIN"1-9/+12
Allow to download files without extension. Allow to specify a preffered extension when downloading a file.