summaryrefslogtreecommitdiff
path: root/scripts/build/libc_uClibc.sh
AgeCommit message (Collapse)AuthorFilesLines
2008-09-14Introduce a new EXPERIMENTAL feature: BARE_METAL.Yann E. MORIN"1-313/+0
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-07-14Use CT_DoExecLog when building uClibc.Yann E. MORIN"1-8/+11
/trunk/scripts/build/libc_uClibc.sh | 19 11 8 0 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-)
2008-07-07Although working with bash, 'echo -n' is really non-portable.Yann E. MORIN"1-1/+3
Get rid of this by using printf(1) with no trailing new-line (\n). Again, thanks to Martin GUY, who pointed this issue. /trunk/kconfig/kconfig.mk | 2 1 1 0 /trunk/scripts/build/libc_uClibc.sh | 4 3 1 0 ++ /trunk/scripts/showSamples.sh | 78 39 39 0 +++++++++++++++++++++--------------------- 3 files changed, 43 insertions(+), 41 deletions(-)
2008-06-19Build a C++ friendly uClibc.Yann E. MORIN"1-2/+2
/trunk/scripts/build/libc_uClibc.sh | 4 2 2 0 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
2008-06-19When building uClibc, always build the libpthread_db.Yann E. MORIN"1-3/+5
/trunk/scripts/build/libc_uClibc.sh | 8 5 3 0 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-)
2008-05-20Get rid of all `command` (which is a bashism), and replace them with ↵Yann E. MORIN"1-2/+2
$(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-14Introduce a new option to render (or not) uClibc' build verbose.Yann E. MORIN"1-2/+4
/trunk/scripts/build/libc_uClibc.sh | 6 4 2 0 ++++-- /trunk/config/libc/uClibc.in | 23 23 0 0 +++++++++++++++++++++++ 2 files changed, 27 insertions(+), 2 deletions(-)
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-03Some people are reposrting that ftp does not work on their network, probably ↵Yann E. MORIN"1-1/+1
due to proxies, while http does work. Some (most) of the sites we use toretrieve tarballs have http equivallent for the ftp service. Use http as a failover. There's no solution for those sites that do not have such an http equivalent. /trunk/scripts/build/binutils.sh | 5 2 3 0 ++--- /trunk/scripts/build/libc_glibc.sh | 4 2 2 0 ++-- /trunk/scripts/build/libc_uClibc.sh | 2 1 1 0 +- /trunk/scripts/build/debug/400-ltrace.sh | 2 1 1 0 +- /trunk/scripts/build/debug/300-gdb.sh | 8 3 5 0 +++----- /trunk/scripts/build/kernel_linux.sh | 7 2 5 0 ++----- /trunk/scripts/build/cc_gcc.sh | 6 2 4 0 ++---- /trunk/scripts/build/gmp.sh | 4 1 3 0 +--- 8 files changed, 14 insertions(+), 24 deletions(-)
2007-09-16ARM EABI is now working for little endian ARM targets.Yann E. MORIN"1-1/+15
Big endian is still missing, though...
2007-09-14Fix setting floating point in uClibc (thanks to Szilveszter Ordog ↵Yann E. MORIN"1-2/+2
<ordog@mail.thot-soft.com>)
2007-08-15Get rid of the core cc selection. It is now the same as the final compiler.Yann E. MORIN"1-1/+1
2007-07-28Tidy up a bit the uClibc config munging.Yann E. MORIN"1-16/+18
2007-07-07More uClibc parrallel compilation cleanup.Yann E. MORIN"1-3/+2
2007-07-07Parrallel compilation is broken for uClibc (I don't know if any of my ↵Yann E. MORIN"1-2/+1
patches is doing it, or if mainline is already broken).
2007-06-16Fix printing components' file names.Yann E. MORIN"1-1/+1
2007-06-16Add a function to print each component's filename: this eases building the ↵Yann E. MORIN"1-2/+8
tarball of the generated toolchain. Hard-link the libfloat tarball instead of soft-link: this also eases building the afore-mentioned tarball.
2007-05-27Merge the NPTL stuff.Yann E. MORIN"1-0/+5
That still leaves the linuxthreads stuff broken, but it was just before. I don't care anyway. Time to fix that later...
2007-05-21Move the config script for the build dir to the source dir.Yann E. MORIN"1-4/+4
That will be useful when we have the restart functionality.
2007-05-19Add uClibc-0.9.29:Yann E. MORIN"1-5/+29
- associated patch set - update the munging function to accomodate the new config variables libfloat version was missing from the previous commit... :-( Better handle the case where the sample directory already exist but isn't under revision control, and in case the destination file doesn't exist in the sample directory.
2007-05-08Huge fixes to glibc build, so that we can build at least (and at last):Yann E. MORIN"1-10/+7
- use ports addon even when installing headers, - use optimisation (-O) when installing headers, to avoid unnecessary warnings (thanks Robert P. J. DAY for pointing this out!), - lowest kernel version to use is only X.Y.Z, not X.Y.Z.T, - a bit of preparations for NPTL (RSN I hope), - fix fixing the linker scripts (changing the backup file is kind of useless and stupid); Shut uClibc finish step: there really is nothing to do; Add a patch for glibc-2.3.6 weak aliases handling on some archs (ARM and ALPHA at least); Did not catch the make errors: fixed the pattern matching in scripts/functions; Introduce a new log level, ALL: - send components' build messages there, - DEBUG log level is destined only for crosstool-NG debug messages, - migrate sub-actions to use appropriate log levels; Update the armeb-unknown-linux-gnu sample: - it builds! - uses gcc-4.0.4 and glibc-2.3.6, - updated to latest config options set.
2007-05-07Fix glibc and uClibc downloading and extracting.Yann E. MORIN"1-0/+4
Although we no longer need the kernel config file, we now need to specify the kernel source directory when installing headers. Re-order components downloading to match build order. Fix the saveSample.sh script in case the referenced files are the same as the destination files.
2007-05-07Merge the save-sample branch to trunk:Yann E. MORIN"1-0/+19
- reorder most of the environment setup, - geting, extracting and patching are now components' sub-actions, - save the current config as a sample to be used as a pre-configured target.
2007-02-24Add the full crosstool-NG sources to the new repository of its own.Yann E. MORIN"1-0/+235
You might just say: 'Yeah! crosstool-NG's got its own repo!". Unfortunately, that's because the previous repo got damaged beyond repair and I had no backup. That means I'm putting backups in place in the afternoon. That also means we've lost history... :-(