aboutsummaryrefslogtreecommitdiff
path: root/scripts
Commit message (Collapse)AuthorAgeFilesLines
...
* Move do_finish from scripts/functions to its own file in ↵Yann E. MORIN"2009-03-044-52/+57
| | | | | | | | | | scipts/build/internals.sh. /trunk/scripts/build/internals.sh | 907 4 903 0 --------------------------------------------- /trunk/scripts/addToolVersion.sh | 8 4 4 0 /trunk/scripts/crosstool-NG.sh.in | 1 1 0 0 + /trunk/scripts/functions | 48 0 48 0 -- 4 files changed, 9 insertions(+), 955 deletions(-)
* Warn the user when he/she tries to save a sample that uses local patchesYann E. MORIN"2009-03-031-1/+17
| | | | | | | and/or custom Linux kernel headers. /trunk/scripts/saveSample.sh.in | 18 17 1 0 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-)
* Rename the custom header option.Yann E. MORIN"2009-03-031-6/+6
| | | | | | /trunk/scripts/build/kernel/linux.sh | 12 6 6 0 ++++++------ /trunk/config/kernel/linux.in | 4 2 2 0 ++-- 2 files changed, 8 insertions(+), 8 deletions(-)
* When using custom Linux kernel headers, allow using a tarball.Yann E. MORIN"2009-03-031-3/+16
| | | | | | /trunk/scripts/build/kernel/linux.sh | 19 16 3 0 ++++++++++++++++--- /trunk/config/kernel/linux.in | 35 26 9 0 ++++++++++++++++++++++++++--------- 2 files changed, 42 insertions(+), 12 deletions(-)
* Allow user to add a directory component in the sys-root path.Yann E. MORIN"2009-03-037-19/+17
| | | | | | | | | | | | | | | Rename CT_DEBUG_INSTALL_DIR to CT_DEBUGROOT_DIR (to match CT_SYSROOT_DIR). As a side effect, fix creating lib64->lib symlinks. /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 | 6 3 3 0 +++--- /trunk/scripts/build/debug/500-strace.sh | 2 1 1 0 +- /trunk/scripts/build/debug/200-duma.sh | 6 3 3 0 +++--- /trunk/scripts/crosstool-NG.sh.in | 16 7 9 0 +++++++--------- /trunk/scripts/functions | 2 1 1 0 +- /trunk/config/toolchain.in | 17 17 0 0 +++++++++++++++++ 8 files changed, 34 insertions(+), 19 deletions(-)
* Fix extracting tarballs.Yann E. MORIN"2009-02-191-1/+5
| | | | | /trunk/scripts/functions | 6 5 1 0 +++++- 1 file changed, 5 insertions(+), 1 deletion(-)
* On some hosts (eg. Cygwin), it's not possible to build the uClibc hostutils. ↵Yann E. MORIN"2009-02-111-27/+12
| | | | | | | | Offer an option to enable/disable the uClibc hostutils build. /trunk/scripts/build/libc/uClibc.sh | 39 12 27 0 ++++++++++++--------------------------- /trunk/config/libc/uClibc.in | 10 10 0 0 ++++++++++ 2 files changed, 22 insertions(+), 27 deletions(-)
* "chmod -R u+w" extracted tarballs, as some may have read-only files in them ↵Yann E. MORIN"2009-02-101-0/+3
| | | | | | | (ncurses-5.7 does). /trunk/scripts/functions | 3 3 0 0 +++ 1 file changed, 3 insertions(+)
* Put the uclibc munged config file in the "state" directory, so it survives a ↵Yann E. MORIN"2009-02-081-4/+4
| | | | | | | restart. /trunk/scripts/build/libc/uClibc.sh | 8 4 4 0 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
* Make MPFR build under Cygwin.Yann E. MORIN"2009-02-071-4/+20
| | | | | /trunk/scripts/build/mpfr.sh | 24 20 4 0 ++++++++++++++++++++---- 1 file changed, 20 insertions(+), 4 deletions(-)
* Don't add versions that already exist.Yann E. MORIN"2009-02-021-1/+14
| | | | | /trunk/scripts/addToolVersion.sh | 15 14 1 0 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-)
* Fix patch-renumber:Yann E. MORIN"2009-02-011-2/+7
| | | | | | | | - look at the patch directory when using svnversion, not at current directory - some code beautification. /trunk/scripts/patch-renumber.sh | 9 7 2 0 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-)
* Fix populate to correctly use tools discovered via ./configure.Yann E. MORIN"2009-02-012-5/+12
| | | | | | /trunk/scripts/functions | 11 8 3 0 ++++++++--- /trunk/scripts/populate.in | 6 4 2 0 ++++-- 2 files changed, 12 insertions(+), 5 deletions(-)
* Use tools discovered by ./configure in scripts/toolchain-config.in.Yann E. MORIN"2009-02-012-1/+2
| | | | | | /trunk/scripts/crosstool-NG.sh.in | 1 1 0 0 + /trunk/scripts/toolchain-config.in | 2 1 1 0 +- 2 files changed, 2 insertions(+), 1 deletion(-)
* Use tools discovered via ./configure in scripts/showSample.sh; make it a ↵Yann E. MORIN"2009-02-011-3/+7
| | | | | | | POSIX shell script. /trunk/scripts/showSamples.sh | 10 7 3 0 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-)
* Use tools discovered by ./configure in scripts/saveSample.shYann E. MORIN"2009-02-011-10/+13
| | | | | | /trunk/Makefile.in | 7 6 1 0 ++++++- /trunk/scripts/saveSample.sh.in | 23 13 10 0 +++++++++++++---------- 2 files changed, 19 insertions(+), 11 deletions(-)
* Fix removing directories.Yann E. MORIN"2009-02-011-3/+4
| | | | | /trunk/scripts/functions | 7 4 3 0 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-)
* Add support for powerpc64, along with an EXPERIMENTAL sample.Yann E. MORIN"2009-01-313-20/+26
| | | | | | | | | | | /trunk/scripts/build/arch/powerpc64.sh | 21 1 20 0 - /trunk/scripts/build/arch/powerpc.sh | 21 1 20 0 - /trunk/samples/powerpc64-unknown-linux-gnu/crosstool.config | 388 388 0 0 +++++++++++++++++++ /trunk/samples/powerpc64-unknown-linux-gnu/reported.by | 3 3 0 0 + /trunk/config/arch/powerpc-powerpc64.in-common | 12 4 8 0 - /trunk/config/arch/powerpc.in | 15 0 15 0 - /trunk/config/arch/powerpc64.in | 19 3 16 0 - 7 files changed, 400 insertions(+), 79 deletions(-)
* Further handle the lib64 -> lib symlinks.Yann E. MORIN"2009-01-311-2/+6
| | | | | | | It at least helps powerpc64 to build, and should innocuous to other archs. /trunk/scripts/crosstool-NG.sh.in | 8 6 2 0 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-)
* Fix downloading with CT_GetFile when no mirror is set.Yann E. MORIN"2009-01-311-3/+5
| | | | | /trunk/scripts/functions | 8 5 3 0 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-)
* Update populate:Yann E. MORIN"2009-01-292-26/+49
| | | | | | | | | - use tools found by ./configure - some POSIX and eye-candy cleanups /trunk/scripts/functions | 7 4 3 0 +++-- /trunk/scripts/populate.in | 70 46 24 0 ++++++++++++++++++++++++++++++++++------------------ 2 files changed, 50 insertions(+), 27 deletions(-)
* If compiling the Java frontend, we'll require a native gcj, but only in this ↵Yann E. MORIN"2009-01-291-1/+7
| | | | | | | case. /trunk/scripts/crosstool-NG.sh.in | 8 7 1 0 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-)
* Use the path discovered by ./configure in scripts/patch-renumber.shYann E. MORIN"2009-01-291-1/+5
| | | | | | | It now requires that "./configure && make" be run beforehand. /trunk/scripts/patch-renumber.sh | 6 5 1 0 +++++- 1 file changed, 5 insertions(+), 1 deletion(-)
* Use the path discovered by ./configure in scripts/addToolVersion.shYann E. MORIN"2009-01-291-3/+7
| | | | | | | It now requires that "./configure && make" be run beforehand. /trunk/scripts/addToolVersion.sh | 10 7 3 0 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-)
* Fix scripts/addToolVersion.sh:Yann E. MORIN"2009-01-291-59/+102
| | | | | | | | - make it a PSOX shell script (hopefully) - enhance the command line parsing /trunk/scripts/addToolVersion.sh | 161 102 59 0 +++++++++++++++++++++++++++++----------------- 1 file changed, 102 insertions(+), 59 deletions(-)
* Add a missing line continuation '\' in the gcc retrieval function.Yann E. MORIN"2009-01-281-1/+1
| | | | | | | Spotted by Doug Reiland <dreiland@hotmail.com>. /trunk/scripts/build/cc/gcc.sh | 2 1 1 0 +- 1 file changed, 1 insertion(+), 1 deletion(-)
* The gcc team seems to no longer make releases available at the ftp.gnu.org ↵Yann E. MORIN"2009-01-271-0/+1
| | | | | | | site, but only on mirrors. Add such a mirror to the list of retrieval sites. /trunk/scripts/build/cc/gcc.sh | 1 1 0 0 + 1 file changed, 1 insertion(+)
* Finally used the discovered paths from ./configure in scripts/crosstool-NG.sh:Yann E. MORIN"2009-01-261-4/+23
| | | | | | | | | | - fix Makefile to really, really not used built-in rules and variables - have scripts/crosstool-NG.sh generated from scripts/crosstool-NG.sh.in - create a bin-overide directory ( in ${CT_WORK_DIR}/bin ) that contains shell wrappers to the actual discovered tools /trunk/scripts/crosstool-NG.sh.in | 27 23 4 0 +++++++++++++++++++++--- /trunk/Makefile.in | 50 48 2 0 +++++++++++++++++++++++++++++++++++++++++++-- 2 files changed, 71 insertions(+), 6 deletions(-)
* On 20090120.2203+0100, Andy Johnson <ajohnson@aecno.com> wrote:Yann E. MORIN"2009-01-251-4/+4
| | | | | | | | | | | | | | | The glibc.sh script doesn't handle the glibc versions with an underscore very well (bash expected integer error). I have attached a small patch for that. Instead of looking for "not period" I changed the sense to look for numbers. I initially tried to make it look for either a period or an underscore, but that didn't work like I wanted (probably because I did something wrong). Original patch modified to be more robust. /trunk/scripts/build/libc/glibc.sh | 8 4 4 0 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
* On 20090115.0012+0100, "Andy Johnson" <ajohnson@aecno.com> wrote:Yann E. MORIN"2009-01-202-38/+42
| | | | | | | | | | | | | | ... I added a step after "debug" called "finish", and moved the code in crosstool.sh after the loop that processes the steps from crosstool.sh into a do_finish function in functions. Thus, it is now possible to restart after the "debug" step to re-do the final few things (clean and compress). /trunk/scripts/crosstool-NG.sh | 38 0 38 0 -------------------------------------- /trunk/scripts/functions | 42 42 0 0 ++++++++++++++++++++++++++++++++++++++++++ /trunk/steps.mk | 3 2 1 0 ++- 3 files changed, 44 insertions(+), 39 deletions(-)
* Forced-removing of a non-existing directory breaks the build.Yann E. MORIN"2009-01-201-3/+10
| | | | | | | Noticed by "Andy Johnson" <ajohnson@aecno.com>, who provided a patch that I adapted. /trunk/scripts/functions | 13 10 3 0 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-)
* Fix building ltrace on PowerPC.Yann E. MORIN"2009-01-201-0/+5
| | | | | | | | | | | | | | On 20090115.0012+0100, "Andy Johnson" <ajohnson@aecno.com> wrote: ltrace wouldn't build on PowerPC because in the sysdeps/linux-gnu directory in the ltrace source tree the powerpc directory is called ppc. I added some code in 400-ltrace.sh to create a symlink for it so it will build now. Patch slightly modified by me before applying. /trunk/scripts/build/debug/400-ltrace.sh | 5 5 0 0 +++++ 1 file changed, 5 insertions(+)
* Rename scripts/crosstool.sh to scripts/crosstool-NG.sh.Yann E. MORIN"2009-01-181-0/+0
| | | | | | | | After all, this is not crosstool, but really crosstool-NG! /trunk/steps.mk | 2 1 1 0 +- /trunk/ct-ng.in | 2 1 1 0 +- 2 files changed, 2 insertions(+), 2 deletions(-)
* Fix removing existing directories by chmod'ing them to be user-writeable.Yann E. MORIN"2009-01-122-11/+17
| | | | | | /trunk/scripts/crosstool.sh | 21 10 11 0 ++++++++++----------- /trunk/scripts/functions | 7 7 0 0 +++++++ 2 files changed, 17 insertions(+), 11 deletions(-)
* Fix initialising the workspace:Yann E. MORIN"2009-01-121-57/+43
| | | | | | | | | | - don't remove directories in the background: - it is highly dangerous - it can lead to data loss in case of frequent stop/restart with a slow disk - log actions with CT_DoExecLog as much as possible, instead of using |CT_DoLog /trunk/scripts/crosstool.sh | 100 43 57 0 ++++++++++++++++++++++----------------------------- 1 file changed, 43 insertions(+), 57 deletions(-)
* Don't print anything about LAN mirror if it is not used.Yann E. MORIN"2009-01-121-7/+9
| | | | | | | Don't re-compute a variable that has already been computed. /trunk/scripts/functions | 16 9 7 0 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-)
* The uClibc site has been overhauled lately, so the URL to retrieve sstrip ↵Yann E. MORIN"2009-01-111-3/+10
| | | | | | | | | has changed. Thanks to Thomas Monjalon <thomas@monjalon.net> and John Utz <john@utzweb.net> for spotting this. /trunk/scripts/build/tools/200-sstrip.sh | 13 10 3 0 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-)
* Add an option to forbid downloads.Yann E. MORIN"2009-01-061-0/+6
| | | | | | | | Idea and code-base from Don Elwell <don@manifoldlabs.com>, adapted by me. /trunk/scripts/functions | 6 6 0 0 ++++++ /trunk/config/global/download.in | 18 18 0 0 ++++++++++++++++++ 2 files changed, 24 insertions(+)
* Add the Eclipse Java Compiler to be able to compile Java.Yann E. MORIN"2009-01-062-1/+13
| | | | | | | | | | | | | Andy JOHNSON wrote: The Java compiler for GCC versions 4.3.0 and up requires the Eclipse compiler "ecj1" to be built as well. I added "gcj" to the list of utilities to make the initial link. /trunk/scripts/build/cc/gcc.sh | 12 12 0 0 ++++++++++++ /trunk/scripts/crosstool.sh | 2 1 1 0 +- /trunk/config/cc/gcc.in | 6 6 0 0 ++++++ 3 files changed, 19 insertions(+), 1 deletion(-)
* Message beautification when saving locally.Yann E. MORIN"2009-01-061-1/+1
| | | | | /trunk/scripts/functions | 2 1 1 0 +- 1 file changed, 1 insertion(+), 1 deletion(-)
* Split CT_ExtractAndPatch in two: CT_Extract and CT_Patch:Yann E. MORIN"2009-01-0518-70/+109
| | | | | | | | | | | | | | | | | | | | | | | | | | | | - it is unworkable to have CT_ExtactAndPAtch cope with all those silly glibc addons: - they can have 'short' (as 'ports') or 'long' (as glibc-ports-2.7) names - patches are against eithe the short or long name, but non-uniformly use one or the other - it is the reposibility of the component (glibc in this case) to handle corner cases such as those - update all components to use the new functions /trunk/scripts/build/tools/000-template.sh | 3 2 1 0 +- /trunk/scripts/build/tools/100-libelf.sh | 3 2 1 0 +- /trunk/scripts/build/tools/200-sstrip.sh | 3 2 1 0 +- /trunk/scripts/build/kernel/linux.sh | 3 2 1 0 +- /trunk/scripts/build/binutils.sh | 3 2 1 0 +- /trunk/scripts/build/cc/gcc.sh | 3 2 1 0 +- /trunk/scripts/build/debug/000-template.sh | 3 2 1 0 +- /trunk/scripts/build/debug/100-dmalloc.sh | 3 2 1 0 +- /trunk/scripts/build/debug/400-ltrace.sh | 3 2 1 0 +- /trunk/scripts/build/debug/300-gdb.sh | 9 6 3 0 +++-- /trunk/scripts/build/debug/500-strace.sh | 7 3 4 0 ++-- /trunk/scripts/build/debug/200-duma.sh | 19 8 11 0 ++++------ /trunk/scripts/build/libc/glibc.sh | 14 12 2 0 ++++++- /trunk/scripts/build/libc/uClibc.sh | 13 9 4 0 +++++-- /trunk/scripts/build/libc/eglibc.sh | 14 12 2 0 ++++++- /trunk/scripts/build/gmp.sh | 3 2 1 0 +- /trunk/scripts/build/mpfr.sh | 3 2 1 0 +- /trunk/scripts/functions | 68 36 32 0 +++++++++++++++++++----------------- 18 files changed, 108 insertions(+), 69 deletions(-)
* Fix building DUMA:Yann E. MORIN"2009-01-051-1/+2
| | | | | | | - DUMA separates its name from its version with an underscore, not with a dash. /trunk/scripts/build/debug/200-duma.sh | 3 2 1 0 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
* Fix C library addons extraction:Yann E. MORIN"2009-01-053-3/+1
| | | | | | | | | | | | | | - renaming the dircetory in CT_ExtratAndPatch is wrong: - patches against the C library addons may be build against the short *or* long name... :-( - symlink is more robust, even if less nice - renaming the directory _after_ CT_ExtractAndPatch is too late: - if patches are against the short name, and we renamed too the long name, patches don't apply - so we'll never reach the point where we rename /trunk/scripts/build/libc/glibc.sh | 1 0 1 0 - /trunk/scripts/build/libc/eglibc.sh | 1 0 1 0 - /trunk/scripts/functions | 2 1 1 0 +- 3 files changed, 1 insertion(+), 3 deletions(-)
* 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(-)