summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2009-01-04Get rid of CT_GMP_FILE and CT_MPFR_FILE.Yann E. MORIN"3-37/+35
/trunk/scripts/build/gmp.sh | 32 16 16 0 ++++++++++++++++---------------- /trunk/scripts/build/mpfr.sh | 38 19 19 0 +++++++++++++++++++------------------- /trunk/scripts/crosstool.sh | 2 0 2 0 -- 3 files changed, 35 insertions(+), 37 deletions(-)
2009-01-04A small layout enhancement in the Linux kernel build script.Yann E. MORIN"1-1/+2
/trunk/scripts/build/kernel/linux.sh | 3 2 1 0 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
2009-01-04Get rid of CT_BINUTILS_FILE.Yann E. MORIN"2-29/+28
/trunk/scripts/build/binutils.sh | 56 28 28 0 +++++++++++++++++++++++----------------------- /trunk/scripts/crosstool.sh | 1 0 1 0 - 2 files changed, 28 insertions(+), 29 deletions(-)
2009-01-04Get rid off CT_KERNEL_FILE.Yann E. MORIN"2-16/+15
/trunk/scripts/build/kernel/linux.sh | 30 15 15 0 +++++++++++++++--------------- /trunk/scripts/crosstool.sh | 1 0 1 0 - 2 files changed, 15 insertions(+), 16 deletions(-)
2009-01-04Add an experimental iPhone toolchain found on the net.Yann E. MORIN"2-0/+335
/trunk/samples/arm-iphone-linux-gnueabi/crosstool.config | 332 332 0 0 ++++++++++++++++++++++ /trunk/samples/arm-iphone-linux-gnueabi/reported.by | 3 3 0 0 + 2 files changed, 335 insertions(+)
2009-01-04Enable using glibc post 2.8:Yann E. MORIN"2-11/+88
- retrieve tarballs from FTP/HTTP for glibc 2.7 and older - checkout from CVS for glibc 2.8 and later - add config options for glibc-2_8 and glibc-2_9 /trunk/scripts/build/libc/glibc.sh | 50 39 11 0 ++++++++++++++++++++++++++++++++++---------- /trunk/config/libc/glibc.in | 49 49 0 0 +++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 88 insertions(+), 11 deletions(-)
2009-01-04Add new wrapper fucntions:Yann E. MORIN"1-35/+91
- retrieve from local storage (CT_GetLocal) - save to local storage (CT_SaveLocal) - retrieve from CVS (CT_GetCVS) - make CT_GetFile and CT_GetCVS use CT_GetLocal and CT_SaveLocal /trunk/scripts/functions | 126 91 35 0 +++++++++++++++++++++++++++++++++++++++++++++----------------- 1 file changed, 91 insertions(+), 35 deletions(-)
2009-01-03Get rid of all stuff related to building a /delivery' traball:Yann E. MORIN"21-230/+1
- building a delivery tarball has long been broken (since crostool-Ng is installable) - get rid of implied do_print_filename, that can be mis-leading now tarballs can not be built /trunk/scripts/build/kernel/bare-metal.sh | 4 0 4 0 ---- /trunk/scripts/build/kernel/linux.sh | 4 0 4 0 ---- /trunk/scripts/build/tools/000-template.sh | 11 0 11 0 ----------- /trunk/scripts/build/tools/100-libelf.sh | 4 0 4 0 ---- /trunk/scripts/build/tools/200-sstrip.sh | 11 1 10 0 +---------- /trunk/scripts/build/binutils.sh | 4 0 4 0 ---- /trunk/scripts/build/cc/gcc.sh | 5 0 5 0 ----- /trunk/scripts/build/debug/000-template.sh | 11 0 11 0 ----------- /trunk/scripts/build/debug/100-dmalloc.sh | 4 0 4 0 ---- /trunk/scripts/build/debug/400-ltrace.sh | 4 0 4 0 ---- /trunk/scripts/build/debug/300-gdb.sh | 7 0 7 0 ------- /trunk/scripts/build/debug/500-strace.sh | 4 0 4 0 ---- /trunk/scripts/build/debug/200-duma.sh | 4 0 4 0 ---- /trunk/scripts/build/libc/none.sh | 5 0 5 0 ----- /trunk/scripts/build/libc/glibc.sh | 10 0 10 0 ---------- /trunk/scripts/build/libc/uClibc.sh | 6 0 6 0 ------ /trunk/scripts/build/libc/eglibc.sh | 10 0 10 0 ---------- /trunk/scripts/build/gmp.sh | 6 0 6 0 ------ /trunk/scripts/build/mpfr.sh | 6 0 6 0 ------ /trunk/docs/overview.txt | 9 0 9 0 --------- 20 files changed, 1 insertion(+), 128 deletions(-)
2009-01-03Remove spurious line in gcc script (probably a bad copy-paste with the ↵Yann E. MORIN"1-1/+0
mouse...). /trunk/scripts/build/cc/gcc.sh | 1 0 1 0 - 1 file changed, 1 deletion(-)
2009-01-03Remove an obsolete, mis-leading comment in the glibc/eglibc common options.Yann E. MORIN"1-6/+0
/trunk/config/libc/glibc-eglibc.in-common | 6 0 6 0 ------ 1 file changed, 6 deletions(-)
2008-12-28Small Makefile fixes.Yann E. MORIN"1-12/+17
/trunk/Makefile.in | 29 17 12 0 +++++++++++++++++------------ 1 file changed, 17 insertions(+), 12 deletions(-)
2008-12-28Add latest Linux kernel versions:Yann E. MORIN"1-0/+25
- 2.6.27.{7,8,9,10} - 2.6.28 /trunk/config/kernel/linux.in | 25 25 0 0 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+)
2008-12-24Enable C++ for baremetal.Yann E. MORIN"2-8/+7
/trunk/scripts/build/cc/gcc.sh | 7 5 2 0 +++++-- /trunk/config/cc.in | 8 2 6 0 ++------ 2 files changed, 7 insertions(+), 8 deletions(-)
2008-12-23Further enhance the check for needed tools:Yann E. MORIN"1-62/+111
- update the tool_pattern to use ' || ' as a pattern separator - which allows using | in regexp - add checks for cut and xargs - manually check for grep and sed because they are needed when checking for tools - print why a test failed, with each tested tool and regexp - move tools checks before options parsing - apply conttibutions before computing the version string - inform user to run make && make install /trunk/configure | 173 111 62 0 ++++++++++++++++++++++++++++++++++++++++---------------------- 1 file changed, 111 insertions(+), 62 deletions(-)
2008-12-22Rationalise ./configureYann E. MORIN"1-116/+127
- borrow a lot of ideas from Michael ABBOTT ( http://sourceware.org/ml/crossgcc/2008-12/msg00030.html ) - should be conforming to POSIX 1003.1-2008, non compliance due to bashsims is to be considered a bug - as a result, it now works with dash - make a little easier to read in some places - enforce 4-space indentation - get rid of futile 'return $?' - quote all variables assignments - save and restore IFS prior to and after using alternate values - simplify the TOOLS_TO_CHECK listing What's left: - provide a mean to actually _compare_ version numbers - change the TOOLS_TO_CHECK pattern style to be able to use '|' in regexp /trunk/configure | 243 127 116 0 ++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 127 insertions(+), 116 deletions(-)
2008-12-21Make it clear that, if the second argument of CT_GetFile starts with a dot, ↵Yann E. MORIN"1-1/+1
it is considered to be the preferred extension. /trunk/scripts/functions | 2 1 1 0 +- 1 file changed, 1 insertion(+), 1 deletion(-)
2008-12-19Fix testing the automake version:Yann E. MORIN"1-2/+2
- previously, only version with a more-than-two-digits minor would match - make versions starting with major in [2-9] also match /trunk/configure | 4 2 2 0 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
2008-12-16Get rid of the tols/ directory:Yann E. MORIN"6-30/+28
- move config.guess and config.sub from tools/ into scripts/ - update the scripts and makefile fragments accordingly /trunk/Makefile.in | 10 5 5 0 +++++----- /trunk/scripts/functions | 16 8 8 0 ++++++++-------- /trunk/scripts/scripts.mk | 28 13 15 0 +++++++++++++--------------- /trunk/ct-ng.in | 4 2 2 0 ++-- 4 files changed, 28 insertions(+), 30 deletions(-)
2008-12-16Better check for automake, check for either curl or wget:Yann E. MORIN"1-3/+4
- automake must be at least 1.10 to correctly setup MPFR - either one of curl or wget is needed to retrieve the tarballs /trunk/configure | 7 4 3 0 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-)
2008-12-15Move patch-renumber.sh from tools/ to scripts/Yann E. MORIN"1-0/+0
2008-12-11Move toolchain-config.in from tools/ to scripts/Yann E. MORIN"3-1/+2
Small documentation fix. /trunk/scripts/crosstool.sh | 2 1 1 0 +- /trunk/docs/overview.txt | 1 1 0 0 + 2 files changed, 2 insertions(+), 1 deletion(-)
2008-12-11Move populate.in from tools/ to scripts/Yann E. MORIN"2-1/+1
/trunk/scripts/crosstool.sh | 2 1 1 0 +- 1 file changed, 1 insertion(+), 1 deletion(-)
2008-12-11Update config.guess and config.sub with the latest versions from upstream.Yann E. MORIN"2-6/+23
/trunk/tools/config.guess | 19 17 2 0 +++++++++++++++++-- /trunk/tools/config.sub | 10 6 4 0 ++++++---- 2 files changed, 23 insertions(+), 6 deletions(-)
2008-12-11Move addToolsVersion.sh from tools/ to scripts/Yann E. MORIN"2-1/+1
/trunk/docs/overview.txt | 2 1 1 0 +- 1 file changed, 1 insertion(+), 1 deletion(-)
2008-12-09Sanity-check CT_TARGET_VENDOR, CT_TARGET_ALIAS and CT_TARGET_ALIAS_SED_EXPR:Yann E. MORIN"2-1/+17
- vendor and alias must not contain spaces - vendor must not contain dashes '-' - sed_expr must not generate an alias with a space in it /trunk/scripts/functions | 17 16 1 0 ++++++++++++++++- /trunk/config/toolchain.in | 1 1 0 0 + 2 files changed, 17 insertions(+), 1 deletion(-)
2008-12-09.config is in CT_TOP_DIR, and we *are* in CT_TOP_DIR.Yann E. MORIN"1-1/+1
/trunk/scripts/crosstool.sh | 2 1 1 0 +- 1 file changed, 1 insertion(+), 1 deletion(-)
2008-12-03Use the dedicated function CT_DoConfigSub rather than invoking config.sub ↵Yann E. MORIN"1-2/+2
directly. /trunk/scripts/crosstool.sh | 4 2 2 0 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
2008-12-01Ignore more in kconfig/:Yann E. MORIN"0-0/+0
- on Cygwin, the executables are appended .exe, thus ignore mconf.exe and conf.exe
2008-11-30Make the kconfig stuff build under Cygwin.Yann E. MORIN"2-25/+26
/trunk/kconfig/kconfig.mk | 7 5 2 0 ++++-- /trunk/kconfig/lxdialog/check-lxdialog.sh | 44 21 23 0 ++++++++++++++++++------------------- 2 files changed, 26 insertions(+), 25 deletions(-)
2008-11-30Don't use /bin/ash in samples.Yann E. MORIN"2-6/+6
/trunk/samples/armeb-unknown-eabi/crosstool.config | 6 3 3 0 +++--- /trunk/samples/mips-unknown-elf/crosstool.config | 6 3 3 0 +++--- 2 files changed, 6 insertions(+), 6 deletions(-)
2008-11-28Minor POSIX compliance, and typo.Yann E. MORIN"2-4/+4
/trunk/scripts/crosstool.sh | 5 2 3 0 ++--- /trunk/scripts/functions | 3 2 1 0 ++- 2 files changed, 4 insertions(+), 4 deletions(-)
2008-11-28Canonicalise CT_BUILD and CT_HOST:Yann E. MORIN"1-22/+7
- Not only will it give us full-qualified tuples, but it will also ensure that they are valid tuples (in case of typo with user-provided tuples) That's way better than trying to rewrite config.sub ourselves... - use CT_BUILD_PREFIX and CT_BUILD_SUFFIX to call "gcc -dumpmachine" /trunk/scripts/crosstool.sh | 29 7 22 0 +++++++---------------------- 1 file changed, 7 insertions(+), 22 deletions(-)
2008-11-28Make it easy to use \nYann E. MORIN"1-1/+4
/trunk/scripts/functions | 5 4 1 0 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)
2008-11-25Update all these samples.Yann E. MORIN"26-107/+126
/trunk/samples/x86_64-unknown-linux-gnu/crosstool.config | 9 5 4 0 +++++---- /trunk/samples/sh4-unknown-linux-gnu/crosstool.config | 11 6 5 0 ++++++----- /trunk/samples/armeb-unknown-linux-uclibc/crosstool.config | 9 5 4 0 +++++---- /trunk/samples/arm-unknown-elf/crosstool.config | 9 5 4 0 +++++---- /trunk/samples/arm-unknown-linux-gnueabi/crosstool.config | 9 5 4 0 +++++---- /trunk/samples/armeb-unknown-eabi/crosstool.config | 9 5 4 0 +++++---- /trunk/samples/ia64-unknown-linux-gnu/crosstool.config | 11 6 5 0 ++++++----- /trunk/samples/x86_64-unknown-linux-uclibc/crosstool.config | 9 5 4 0 +++++---- /trunk/samples/armeb-unknown-linux-gnueabi/crosstool.config | 9 5 4 0 +++++---- /trunk/samples/powerpc-e500v2-linux-gnuspe/crosstool.config | 9 5 4 0 +++++---- /trunk/samples/powerpc-e500v2-linux-gnuspe/reported.by | 7 1 6 0 +------ /trunk/samples/i686-nptl-linux-gnu/crosstool.config | 9 5 4 0 +++++---- /trunk/samples/powerpc-unknown-linux-gnu/crosstool.config | 9 5 4 0 +++++---- /trunk/samples/arm-unknown-linux-gnu/crosstool.config | 9 5 4 0 +++++---- /trunk/samples/mips-unknown-linux-uclibc/crosstool.config | 9 5 4 0 +++++---- /trunk/samples/arm-unknown-linux-uclibcgnueabi/crosstool.config | 9 5 4 0 +++++---- /trunk/samples/armeb-unknown-linux-gnu/crosstool.config | 9 5 4 0 +++++---- /trunk/samples/powerpc-unknown_nofpu-linux-gnu/crosstool.config | 9 5 4 0 +++++---- /trunk/samples/powerpc-unknown-linux-uclibc/crosstool.config | 9 5 4 0 +++++---- /trunk/samples/arm-unknown-linux-uclibc/crosstool.config | 9 5 4 0 +++++---- /trunk/samples/i586-geode-linux-uclibc/crosstool.config | 9 5 4 0 +++++---- /trunk/samples/powerpc-405-linux-gnu/crosstool.config | 9 5 4 0 +++++---- /trunk/samples/mips-unknown-elf/crosstool.config | 11 6 5 0 ++++++----- /trunk/samples/mipsel-unknown-linux-gnu/crosstool.config | 11 6 5 0 ++++++----- /trunk/samples/arm-unknown-eabi/crosstool.config | 9 5 4 0 +++++---- /trunk/samples/powerpc-860-linux-gnu/crosstool.config | 2 1 1 0 +- 26 files changed, 126 insertions(+), 107 deletions(-)
2008-11-25Remove the version number from .version in /trunk.Yann E. MORIN"1-1/+1
/trunk/.version | 2 1 1 0 +- 1 file changed, 1 insertion(+), 1 deletion(-)
2008-11-24Build dmalloc with -fPIC to sucessfully build the shared library with newer ↵Yann E. MORIN"1-0/+1
binutils. /trunk/scripts/build/debug/100-dmalloc.sh | 1 1 0 0 + 1 file changed, 1 insertion(+)
2008-11-24Remove a patch for binutils-2.19 that makes the cross MIPS case fail.Yann E. MORIN"3-16/+0
- it is not necessary to use the gnu_hash section by default. - renumber following patches /trunk/patches/binutils/2.19/170-use-relro.patch | 14 14 0 0 ++++++++++++++ /trunk/patches/binutils/2.19/180-libiberty-pic.patch | 14 14 0 0 ++++++++++++++ 2 files changed, 28 insertions(+)
2008-11-23Update this Alpha sample to use binutils-2.19.Yann E. MORIN"1-4/+5
/trunk/samples/alphaev56-unknown-linux-gnu/crosstool.config | 9 5 4 0 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-)
2008-11-23Update this sample.Yann E. MORIN"1-11/+6
/trunk/samples/powerpc-860-linux-gnu/crosstool.config | 17 6 11 0 ++++++----------- 1 file changed, 6 insertions(+), 11 deletions(-)
2008-11-23Update this sample to use binutils-2.19.Yann E. MORIN"1-4/+5
/trunk/samples/armeb-unknown-linux-uclibcgnueabi/crosstool.config | 9 5 4 0 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-)
2008-11-23Add binutils-2.19 and associated patchset (vampirised from Gentoo).Yann E. MORIN"11-0/+480
/trunk/patches/binutils/2.19/120-sh-targets.patch | 52 52 0 0 ++++ /trunk/patches/binutils/2.19/180-use-relro.patch | 14 14 0 0 + /trunk/patches/binutils/2.19/160-use-new-ld-dtags.patch | 14 14 0 0 + /trunk/patches/binutils/2.19/100-ppc64-pie.patch | 20 20 0 0 + /trunk/patches/binutils/2.19/190-libiberty-pic.patch | 14 14 0 0 + /trunk/patches/binutils/2.19/170-generate-gnu-hash.patch | 16 16 0 0 + /trunk/patches/binutils/2.19/110-RPATH_ENVVAR-smack.patch | 17 17 0 0 + /trunk/patches/binutils/2.19/140-pt-pax-flags-20081101.patch | 249 249 0 0 +++++++++++++++++ /trunk/patches/binutils/2.19/150-warn-textrel.patch | 48 48 0 0 +++ /trunk/patches/binutils/2.19/130-check_ldrunpath_length.patch | 31 31 0 0 ++ /trunk/config/binutils.in | 5 5 0 0 + 11 files changed, 480 insertions(+)
2008-11-21Update the two x86_64 samples.Yann E. MORIN"3-50/+77
/trunk/samples/x86_64-unknown-linux-gnu/crosstool.config | 38 22 16 0 +- /trunk/samples/x86_64-unknown-linux-uclibc/uClibc-0.9.30.config | 245 245 0 0 +++++++++++++++ /trunk/samples/x86_64-unknown-linux-uclibc/crosstool.config | 40 24 16 0 +- 3 files changed, 291 insertions(+), 32 deletions(-)
2008-11-21Be less verbose when a sample is directly built with build-sample-name.Yann E. MORIN"1-4/+3
/trunk/samples/samples.mk | 7 3 4 0 +++---- 1 file changed, 3 insertions(+), 4 deletions(-)
2008-11-21Update the PowerPC samples.Yann E. MORIN"6-65/+165
/trunk/samples/powerpc-e500v2-linux-gnuspe/crosstool.config | 43 26 17 0 +- /trunk/samples/powerpc-unknown-linux-gnu/crosstool.config | 24 17 7 0 + /trunk/samples/powerpc-unknown_nofpu-linux-gnu/crosstool.config | 24 17 7 0 + /trunk/samples/powerpc-unknown-linux-uclibc/uClibc-0.9.30.config | 248 248 0 0 ++++++++++++++ /trunk/samples/powerpc-unknown-linux-uclibc/crosstool.config | 28 20 8 0 +- /trunk/samples/powerpc-860-linux-gnu/crosstool.config | 30 19 11 0 +- 6 files changed, 347 insertions(+), 50 deletions(-)
2008-11-20Update this sample.Yann E. MORIN"1-7/+17
/trunk/samples/powerpc-405-linux-gnu/crosstool.config | 24 17 7 0 +++++++++++++++++------- 1 file changed, 17 insertions(+), 7 deletions(-)
2008-11-20Overide locale to C so as to have readable logs.Yann E. MORIN"2-3/+24
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-11-20MPFR: correctly re-install config.{guess,sub} with autotools >=2.0.0.Yann E. MORIN"1-1/+13
/trunk/scripts/build/mpfr.sh | 14 13 1 0 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-)
2008-11-19Do not mangle Cygwin tuples.Yann E. MORIN"1-0/+5
/trunk/scripts/crosstool.sh | 5 5 0 0 +++++ 1 file changed, 5 insertions(+)
2008-11-18Update this sample.Yann E. MORIN"1-8/+19
/trunk/samples/sh4-unknown-linux-gnu/crosstool.config | 27 19 8 0 ++++++++++++++++++------- 1 file changed, 19 insertions(+), 8 deletions(-)
2008-11-18Update this sample.Yann E. MORIN"1-4/+10
/trunk/samples/mips-unknown-elf/crosstool.config | 14 10 4 0 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-)