aboutsummaryrefslogtreecommitdiff
path: root/scripts
Commit message (Collapse)AuthorAgeFilesLines
...
* Get rid of CT_LIBC_FILE, remove useless CT_MakeAbsolutePath.Yann E. MORIN"2009-01-046-131/+84
| | | | | | | | | | | | | | | | | | | | | | | | | | | | CT_LIBC_FILE: - that one was not easy, as it had sneaked into CT_ExtractAndPatch - which in turn made CT_ExtractAndPatch have references to C library addons - which in turn relieved the C library _extract functions from doing their own job - which in turn imposed some nasty tricks in CT_ExtractAndPatch - which in turn made life easier for the DUMA _get and _extract functions - which unveiled some bizare behavior for pushd and popd: - if using smthg ike: 'pushd foo |bar': - the directory is *neither* changed - *nor* is it pushed onto the stack - which made popd fail CT_MakeAbsolutePath: - used only to make CT_LOCAL_TARBALLS_DIR canonical - which is ((almost) useless: - hopefully, the user entered a full path already - if it's not the case, too bad... /trunk/scripts/build/debug/200-duma.sh | 5 1 4 0 +-- /trunk/scripts/build/libc/glibc.sh | 61 32 29 0 +++++++++++++++++--------------- /trunk/scripts/build/libc/uClibc.sh | 16 10 6 0 +++++--- /trunk/scripts/build/libc/eglibc.sh | 48 26 22 0 ++++++++++++++----------- /trunk/scripts/crosstool.sh | 8 0 8 0 ---- /trunk/scripts/functions | 77 15 62 0 ++++++++-------------------------------- 6 files changed, 84 insertions(+), 131 deletions(-)
* Get rid of CT_CC_FILE.Yann E. MORIN"2009-01-042-27/+26
| | | | | | /trunk/scripts/build/cc/gcc.sh | 52 26 26 0 ++++++++++++++++++++++++------------------------ /trunk/scripts/crosstool.sh | 1 0 1 0 - 2 files changed, 26 insertions(+), 27 deletions(-)
* Remove support for gcc-2.95.3, it has never ever been tested.Yann E. MORIN"2009-01-042-8/+0
| | | | | | | /trunk/config/cc/gcc.in | 6 0 6 0 ------ /trunk/scripts/build/libc/glibc.sh | 4 0 4 0 ---- /trunk/scripts/build/libc/uClibc.sh | 4 0 4 0 ---- 3 files changed, 14 deletions(-)
* Fix aborting when neither wget nor curl are present.Yann E. MORIN"2009-01-041-1/+1
| | | | | /trunk/scripts/functions | 2 1 1 0 +- 1 file changed, 1 insertion(+), 1 deletion(-)
* Get rid of CT_GMP_FILE and CT_MPFR_FILE.Yann E. MORIN"2009-01-043-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(-)
* A small layout enhancement in the Linux kernel build script.Yann E. MORIN"2009-01-041-1/+2
| | | | | /trunk/scripts/build/kernel/linux.sh | 3 2 1 0 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
* Get rid of CT_BINUTILS_FILE.Yann E. MORIN"2009-01-042-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(-)
* Get rid off CT_KERNEL_FILE.Yann E. MORIN"2009-01-042-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(-)
* Enable using glibc post 2.8:Yann E. MORIN"2009-01-041-11/+39
| | | | | | | | | | - 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(-)
* Add new wrapper fucntions:Yann E. MORIN"2009-01-041-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(-)
* Get rid of all stuff related to building a /delivery' traball:Yann E. MORIN"2009-01-0320-221/+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(-)
* Remove spurious line in gcc script (probably a bad copy-paste with the ↵Yann E. MORIN"2009-01-031-1/+0
| | | | | | | mouse...). /trunk/scripts/build/cc/gcc.sh | 1 0 1 0 - 1 file changed, 1 deletion(-)
* Enable C++ for baremetal.Yann E. MORIN"2008-12-241-2/+5
| | | | | | /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(-)
* Make it clear that, if the second argument of CT_GetFile starts with a dot, ↵Yann E. MORIN"2008-12-211-1/+1
| | | | | | | it is considered to be the preferred extension. /trunk/scripts/functions | 2 1 1 0 +- 1 file changed, 1 insertion(+), 1 deletion(-)
* Get rid of the tols/ directory:Yann E. MORIN"2008-12-164-8/+3286
| | | | | | | | | | | - 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(-)
* Move patch-renumber.sh from tools/ to scripts/Yann E. MORIN"2008-12-151-0/+32
|
* Move toolchain-config.in from tools/ to scripts/Yann E. MORIN"2008-12-112-1/+9
| | | | | | | | 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(-)
* Move populate.in from tools/ to scripts/Yann E. MORIN"2008-12-112-1/+201
| | | | | /trunk/scripts/crosstool.sh | 2 1 1 0 +- 1 file changed, 1 insertion(+), 1 deletion(-)
* Move addToolsVersion.sh from tools/ to scripts/Yann E. MORIN"2008-12-111-0/+93
| | | | | /trunk/docs/overview.txt | 2 1 1 0 +- 1 file changed, 1 insertion(+), 1 deletion(-)
* Sanity-check CT_TARGET_VENDOR, CT_TARGET_ALIAS and CT_TARGET_ALIAS_SED_EXPR:Yann E. MORIN"2008-12-091-1/+16
| | | | | | | | | | - 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(-)
* .config is in CT_TOP_DIR, and we *are* in CT_TOP_DIR.Yann E. MORIN"2008-12-091-1/+1
| | | | | /trunk/scripts/crosstool.sh | 2 1 1 0 +- 1 file changed, 1 insertion(+), 1 deletion(-)
* Use the dedicated function CT_DoConfigSub rather than invoking config.sub ↵Yann E. MORIN"2008-12-031-2/+2
| | | | | | | directly. /trunk/scripts/crosstool.sh | 4 2 2 0 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
* Minor POSIX compliance, and typo.Yann E. MORIN"2008-11-282-4/+4
| | | | | | /trunk/scripts/crosstool.sh | 5 2 3 0 ++--- /trunk/scripts/functions | 3 2 1 0 ++- 2 files changed, 4 insertions(+), 4 deletions(-)
* Canonicalise CT_BUILD and CT_HOST:Yann E. MORIN"2008-11-281-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(-)
* Make it easy to use \nYann E. MORIN"2008-11-281-1/+4
| | | | | /trunk/scripts/functions | 5 4 1 0 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)
* Build dmalloc with -fPIC to sucessfully build the shared library with newer ↵Yann E. MORIN"2008-11-241-0/+1
| | | | | | | binutils. /trunk/scripts/build/debug/100-dmalloc.sh | 1 1 0 0 + 1 file changed, 1 insertion(+)
* Overide locale to C so as to have readable logs.Yann E. MORIN"2008-11-201-3/+7
| | | | | | | | 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(-)
* MPFR: correctly re-install config.{guess,sub} with autotools >=2.0.0.Yann E. MORIN"2008-11-201-1/+13
| | | | | /trunk/scripts/build/mpfr.sh | 14 13 1 0 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-)
* Do not mangle Cygwin tuples.Yann E. MORIN"2008-11-191-0/+5
| | | | | /trunk/scripts/crosstool.sh | 5 5 0 0 +++++ 1 file changed, 5 insertions(+)
* Build and install a uClibc cross-ldd.Yann E. MORIN"2008-11-171-1/+27
| | | | | | | Based on a patch by Joachim NILSSON: http://sourceware.org/ml/crossgcc/2008-11/msg00025.html /trunk/scripts/build/libc/uClibc.sh | 28 27 1 0 +++++++++++++++++++++++++++- 1 file changed, 27 insertions(+), 1 deletion(-)
* Add a fast Linux kernel mirror.Yann E. MORIN"2008-11-141-1/+1
| | | | | /trunk/scripts/build/kernel/linux.sh | 2 1 1 0 +- 1 file changed, 1 insertion(+), 1 deletion(-)
* Merge #1195, #1196 and #1203 from /devel/YEM-build_host_target_cleanup:Yann E. MORIN"2008-11-137-74/+131
| | | | | | | | | | | | | | | | - Get rid of CT_CC_NATIVE - Get rid of CT_CANADIAN_OPT - Sanitise CT_BUILD vs. CT_HOST /trunk/scripts/build/tools/200-sstrip.sh | 4 2 2 0 /trunk/scripts/build/binutils.sh | 1 0 1 0 - /trunk/scripts/build/cc/gcc.sh | 11 6 5 0 +- /trunk/scripts/build/debug/200-duma.sh | 3 1 2 0 - /trunk/scripts/build/libc/glibc.sh | 10 5 5 0 +- /trunk/scripts/build/libc/eglibc.sh | 8 4 4 0 +- /trunk/scripts/crosstool.sh | 168 113 55 0 ++++++++++++++++++++++++++------------ /trunk/config/toolchain.in | 160 137 23 0 +++++++++++++++++++++++++++++++----- 8 files changed, 268 insertions(+), 97 deletions(-)
* Do not autodetect 64-bit archs, have them tell be 'select'-ing ARCH_64 in ↵Yann E. MORIN"2008-11-071-7/+5
| | | | | | | | | | | the configuration. /trunk/scripts/crosstool.sh | 12 5 7 0 +++++------- /trunk/docs/overview.txt | 6 6 0 0 ++++++ /trunk/config/target.in | 4 4 0 0 ++++ /trunk/config/arch/x86_64.in | 1 1 0 0 + /trunk/config/arch/ia64.in | 1 1 0 0 + 5 files changed, 17 insertions(+), 7 deletions(-)
* Do not take lib64/ in account when fixing the glibc linker scripts:Yann E. MORIN"2008-11-071-1/+3
| | | | | | | - lib64 dirs are symlinks to the corresponding lib/ dirs. /trunk/scripts/build/libc/glibc.sh | 4 3 1 0 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
* Use target GMP and MPFR when building target binutils:Yann E. MORIN"2008-11-041-0/+7
| | | | | | | | - this is not really used yet, as only the iberty and bfd libraries are built - if we ever are to build the full binutils for the target, then it is already configured to use the target GMP and MPFR. /trunk/scripts/build/binutils.sh | 7 7 0 0 +++++++ 1 file changed, 7 insertions(+)
* Merge #1190 from /devel/YEM-build_host_target_cleanup:Yann E. MORIN"2008-11-041-6/+14
| | | | | | | - Use shell wrappers to point to the build tools, rather than symlinks. /trunk/scripts/crosstool.sh | 20 14 6 0 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-)
* Enable uClibc parallel build for those versions supporting it.Yann E. MORIN"2008-11-011-5/+7
| | | | | | /trunk/scripts/build/libc/uClibc.sh | 12 7 5 0 +++++++----- /trunk/config/libc/uClibc.in | 9 9 0 0 +++++++++ 2 files changed, 16 insertions(+), 5 deletions(-)
* Enablelocales when requested to do so.Yann E. MORIN"2008-11-011-1/+9
| | | | | | | Original patch by Thomas PETAZZONI, with soe improvement by myself. /trunk/scripts/build/libc/uClibc.sh | 10 9 1 0 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-)
* Only install headers when installing uClibc headers.Yann E. MORIN"2008-11-011-5/+5
| | | | | /trunk/scripts/build/libc/uClibc.sh | 10 5 5 0 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-)
* Eyecandy in the WiKi table.Yann E. MORIN"2008-11-011-8/+12
| | | | | /trunk/scripts/showSamples.sh | 20 12 8 0 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-)
* Indent the samples list.Yann E. MORIN"2008-10-311-1/+1
| | | | | /trunk/scripts/showSamples.sh | 2 1 1 0 +- 1 file changed, 1 insertion(+), 1 deletion(-)
* Transform LAN_MIRROR into plain MIRROR:Yann E. MORIN"2008-10-311-29/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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(-)
* Use 'gawk', not plain 'awk'.Yann E. MORIN"2008-10-293-11/+11
| | | | | | | | | | | We need GNU Awk? Then check for, and use 'gawk', not plain 'awk'. Be a little mre verbose if a tool was not found. /trunk/configure | 7 4 3 0 ++++--- /trunk/scripts/build/kernel/linux.sh | 2 1 1 0 +- /trunk/scripts/functions | 16 8 8 0 ++++++++-------- /trunk/scripts/saveSample.sh | 4 2 2 0 ++-- 4 files changed, 15 insertions(+), 14 deletions(-)
* Finally enable the PPC-8xx memset workaround, by Nye Liu.Yann E. MORIN"2008-10-291-0/+9
| | | | | | | | | | http://sourceware.org/ml/crossgcc/2008-10/msg00094.html /trunk/scripts/build/libc/glibc.sh | 9 9 0 0 + /trunk/patches/glibc/2.7/290-powerpc-8xx-CPU15-errata.patch | 22 19 3 0 + /trunk/samples/powerpc-860-linux-gnu/crosstool.config | 344 344 0 0 +++++++++++++++++++ /trunk/samples/powerpc-860-linux-gnu/reported.by | 3 3 0 0 + 4 files changed, 375 insertions(+), 3 deletions(-)
* Make a relative symlink from ${CT_TARGET}-cc to ${CT_TARGET}-gcc.Yann E. MORIN"2008-10-281-1/+1
| | | | | | | | This helps those who want to relocate their toolchains later. Reported by Nye Liu: http://sourceware.org/ml/crossgcc/2008-10/msg00093.html /trunk/scripts/build/cc/gcc.sh | 2 1 1 0 +- 1 file changed, 1 insertion(+), 1 deletion(-)
* Typo.Yann E. MORIN"2008-10-271-1/+1
| | | | | /trunk/scripts/showSamples.sh | 2 1 1 0 +- 1 file changed, 1 insertion(+), 1 deletion(-)
* ltrace: remove lingering ".Yann E. MORIN"2008-10-261-1/+1
| | | | | /trunk/scripts/build/debug/400-ltrace.sh | 2 1 1 0 +- 1 file changed, 1 insertion(+), 1 deletion(-)
* ltrace does not build out-of-tree: use copied sources to configure.Yann E. MORIN"2008-10-261-4/+4
| | | | | /trunk/scripts/build/debug/400-ltrace.sh | 8 4 4 0 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
* Make ltrace finally build:Yann E. MORIN"2008-10-241-2/+3
| | | | | | | | | | | - copy sources to build directory, as it does not build out-of-tree - add a patch to make it build for non *-linux-gnu host tuples - add a patch to make it cross-build correctly /trunk/patches/ltrace/0.4/100-fix-build-with-exotic-linux-host-OS.patch | 26 26 0 0 +++ /trunk/patches/ltrace/0.4/110-allow-cross-compile.patch | 89 89 0 0 ++++++++++ /trunk/scripts/build/debug/400-ltrace.sh | 5 3 2 0 + 3 files changed, 118 insertions(+), 2 deletions(-)
* Fix saving samples, by Nye Liu:Yann E. MORIN"2008-10-231-1/+2
| | | | | | | http://sourceware.org/ml/crossgcc/2008-10/msg00070.html /trunk/scripts/saveSample.sh | 3 2 1 0 ++- 1 file changed, 2 insertions(+), 1 deletion(-)