aboutsummaryrefslogtreecommitdiff
path: root/scripts
Commit message (Collapse)AuthorAgeFilesLines
...
* There's no longer any reason to require GNU awk:Yann E. MORIN"2009-04-205-7/+6
| | | | | | | | | | | | | | | - the only part that required it (socks proxy settings) is gone, - all remaining awk scripts are POSIXly correct (or should be). -------- diffstat follows -------- /trunk/configure | 5 2 3 0 ++--- /trunk/Makefile.in | 2 0 2 0 -- /trunk/scripts/build/kernel/linux.sh | 2 1 1 0 +- /trunk/scripts/build/internals.sh | 1 0 1 0 - /trunk/scripts/build/mpfr.sh | 2 1 1 0 +- /trunk/scripts/functions | 4 2 2 0 ++-- /trunk/scripts/saveSample.sh.in | 4 2 2 0 ++-- 7 files changed, 8 insertions(+), 12 deletions(-)
* Set the execute bit on generated script at build time, not install time.Yann E. MORIN"2009-04-201-0/+0
| | | | | | | | | Do not advertise "make install" when ./configure-d with "--local". -------- diffstat follows -------- /trunk/configure | 8 5 3 0 +++++--- /trunk/Makefile.in | 10 3 7 0 +++------- 2 files changed, 8 insertions(+), 10 deletions(-)
* Simplify the mirror settings.Yann E. MORIN"2009-04-191-4/+3
| | | | | | | -------- diffstat follows -------- /trunk/scripts/functions | 7 3 4 0 ++--- /trunk/config/global/download.in | 60 14 46 0 +++++++++++----------------------------------- 2 files changed, 17 insertions(+), 50 deletions(-)
* Get rid of the proxy settings, once and for all.Yann E. MORIN"2009-04-192-101/+0
| | | | | | | | | | | They have nothing to do in here, just let the user configure his/her system appropriately. -------- diffstat follows -------- /trunk/scripts/build/libc/eglibc.sh | 1 0 1 0 - /trunk/scripts/functions | 100 0 100 0 ----------------------------- /trunk/config/global/download.in | 148 0 148 0 ------------------------------------------- 3 files changed, 249 deletions(-)
* Use "${awk}", not gawk.Yann E. MORIN"2009-04-063-4/+4
| | | | | | | /trunk/scripts/build/kernel/linux.sh | 2 1 1 0 +- /trunk/scripts/build/mpfr.sh | 2 1 1 0 +- /trunk/scripts/functions | 4 2 2 0 ++-- 3 files changed, 4 insertions(+), 4 deletions(-)
* Cleanup the tic build used for native ncurses build, itself needed for ↵Yann E. MORIN"2009-03-302-13/+12
| | | | | | | | native gdb build. /trunk/scripts/build/debug/300-gdb.sh | 24 12 12 0 ++++++++++++------------ /trunk/scripts/build/internals.sh | 1 0 1 0 - 2 files changed, 12 insertions(+), 13 deletions(-)
* Remove test files.Yann E. MORIN"2009-03-291-2/+4
| | | | | /trunk/scripts/crosstool-NG.sh.in | 6 4 2 0 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-)
* Only create the state dir if asked for a restartable build:Yann E. MORIN"2009-03-273-8/+22
| | | | | | | | | | | | | | - introduce the config dir, where components can store their config files - move the munged uClibc config file to the config dir - now, the state dir really is an indication that a build can be restarted Thanks to Groleo Marius <groleo@gmail.com> for spotting the inconsistency of the state dir usage, and suggesting this change. /trunk/scripts/build/libc/uClibc.sh | 6 3 3 0 +++--- /trunk/scripts/crosstool-NG.sh.in | 9 7 2 0 +++++++-- /trunk/scripts/functions | 15 12 3 0 ++++++++++++--- 3 files changed, 22 insertions(+), 8 deletions(-)
* Detect and abort on partially patched component.Yann E. MORIN"2009-03-271-3/+15
| | | | | /trunk/scripts/functions | 18 15 3 0 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-)
* Refuse to build/install on file systems that are *not* case-sensitive.Yann E. MORIN"2009-03-271-0/+9
| | | | | /trunk/scripts/crosstool-NG.sh.in | 9 9 0 0 +++++++++ 1 file changed, 9 insertions(+)
* Merge r1432:1437 from /branches/newlib into /trunk :Yann E. MORIN"2009-03-261-0/+4
| | | | | | | | | | | | | | | | | | | - under bare-metal, the user is responsible for providing a gdbserver stub (r1433) - install a CT_TARGET-cc -> CT_TARGET-gcc symlink for the core gcc (r1434) - allow broader dependency in generated config files (r1435, r1436) - prepare C library menuconfig for using a C library under bare-metal (r1437) /trunk/scripts/build/cc/gcc.sh | 4 4 0 0 ++++ /trunk/config/debug/gdb.in | 5 5 0 0 +++++ /trunk/config/libc/glibc.in | 1 1 0 0 + /trunk/config/libc/uClibc.in | 1 1 0 0 + /trunk/config/libc/eglibc.in | 2 1 1 0 +- /trunk/config/config.mk | 20 8 12 0 ++++++++------------ /trunk/config/arch/sh.in | 2 1 1 0 +- /trunk/config/arch/ia64.in | 2 1 1 0 +- /trunk/config/arch/powerpc64.in | 2 1 1 0 +- /trunk/config/libc.in | 4 0 4 0 ---- 10 files changed, 23 insertions(+), 20 deletions(-)
* Add support for building toolchains with gcc-4.4 snapshots.Yann E. MORIN"2009-03-261-12/+22
| | | | | | | | | | | | | | | | | | | Initial patch by Dmitry PLOTNIKOV: http://sourceware.org/ml/crossgcc/2009-03/msg00053.html It [the toolchain] uses current ct-ng (nightly snapshot 20090324, latest release 1.3.2 work also), glibc 2.9 (from CVS), binutils 2.19 and latest snapshot of GCC 4.4.0 (as of March 20, 2009). We have successfully built linux kernel 2.6.29 and a lot of other stuff with this toolchain. Here's the patch that adds GCC 4.4.0 to the ct-ng menu and enables it to download a 4.4.0 snapshot from ftp. Patch was adpated by me, mostly to better fit the configuration layout. /trunk/scripts/build/cc/gcc.sh | 34 22 12 0 ++++++++++++++++++++++------------ /trunk/config/cc/gcc.in | 35 30 5 0 ++++++++++++++++++++++++++++++----- 2 files changed, 52 insertions(+), 17 deletions(-)
* Finally make ncurses-5.7 corctly build:Yann E. MORIN"2009-03-241-3/+7
| | | | | | | | | - find the executables extension (needed under some OS, like Winblows) - build tic in // - simplify the make and install command lines /trunk/scripts/build/debug/300-gdb.sh | 10 7 3 0 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-)
* Log the save/restore messages at a level that is always visible.Yann E. MORIN"2009-03-241-2/+5
| | | | | /trunk/scripts/functions | 7 5 2 0 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-)
* Final touch to the ncurses build step:Yann E. MORIN"2009-03-231-3/+6
| | | | | | | - use build tools to build tic, instead of native ones. /trunk/scripts/build/debug/300-gdb.sh | 9 6 3 0 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-)
* xlcwu <xlcwu.taiwan@gmail.com> wrote:Yann E. MORIN"2009-03-232-2/+34
| | | | | | | | | | | | | | | | | | | Seems ncurses 5.7 need build host stage for tic step; if use host tic (ubuntu) the build process hang in the below step. So I guess need to build ncurses host stage to build new tic and provided a patch to that efect. And in fact, we do need "tic" to run on the _build_ system to properly generate the terminfo database. Note: this is fully functional, but still requires a litle bit of tweaking so that ${CT_BUILD}-gcc gets used instead of plain gcc. But that's a minor problem for now... /trunk/scripts/build/debug/300-gdb.sh | 35 33 2 0 +++++++++++++++++++++++++++++++++-- /trunk/scripts/build/internals.sh | 1 1 0 0 + 2 files changed, 34 insertions(+), 2 deletions(-)
* Update the config.{guess,sub} files.Yann E. MORIN"2009-03-152-7/+24
| | | | | | /trunk/scripts/config.guess | 21 16 5 0 ++++++++++++++++----- /trunk/scripts/config.sub | 10 8 2 0 ++++++++-- 2 files changed, 24 insertions(+), 7 deletions(-)
* Sanitise using glibc cvs exports:Yann E. MORIN"2009-03-151-59/+76
| | | | | | | | | - recently, tarballs for glibc 2.8 and 2.9 have appeared on the GNU ftp site - always use a dot in version strings (eg. 2.9, not 2_9) /trunk/scripts/build/libc/glibc.sh | 135 76 59 0 +++++++++++++++++++++++++------------------- /trunk/config/libc/glibc.in | 71 45 26 0 +++++++++++++++-------- 2 files changed, 121 insertions(+), 85 deletions(-)
* Do not copy ecj.jar when it's not required.Yann E. MORIN"2009-03-151-1/+3
| | | | | /trunk/scripts/build/cc/gcc.sh | 4 3 1 0 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
* When patching, always assume the package has been previously extraacted ↵Yann E. MORIN"2009-03-151-8/+3
| | | | | | | | | (don't check). "chmod u+w" the full src tree: because of nochdir and cvs snapshots, we can't reliably know were we are... /trunk/scripts/functions | 11 3 8 0 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-)
* Correctly use CT_DoExecLog with wget and curl.Yann E. MORIN"2009-03-131-8/+8
| | | | | /trunk/scripts/functions | 16 8 8 0 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-)
* Fix building MPFR >= 2.4.0.Yann E. MORIN"2009-03-081-22/+29
| | | | | /trunk/scripts/build/mpfr.sh | 51 29 22 0 ++++++++++++++++++++++++++++---------------------- 1 file changed, 29 insertions(+), 22 deletions(-)
* Use "grep -E" instead of the deprecated "egrep".Yann E. MORIN"2009-03-083-4/+4
| | | | | | | /trunk/scripts/build/debug/200-duma.sh | 2 1 1 0 +- /trunk/scripts/build/libc/uClibc.sh | 2 1 1 0 +- /trunk/scripts/crosstool-NG.sh.in | 4 2 2 0 ++-- 3 files changed, 4 insertions(+), 4 deletions(-)
* Use the common functions (CT_GetSVN, CT_Extract and CT_Patch) to retrieve,Yann E. MORIN"2009-03-081-13/+3
| | | | | | | extract and patch sstrip from buildroot. /trunk/scripts/build/tools/200-sstrip.sh | 16 3 13 0 +++------------- 1 file changed, 3 insertions(+), 13 deletions(-)
* Add CT_GetSVN to commonalise retrieval from SVN (ala CT_GetCVS).Yann E. MORIN"2009-03-081-1/+33
| | | | | /trunk/scripts/functions | 34 33 1 0 +++++++++++++++++++++++++++++++++- 1 file changed, 33 insertions(+), 1 deletion(-)
* Fix extracting/patching DUMA:Yann E. MORIN"2009-03-061-0/+1
| | | | | | | - DUMA uses an underscore between the name and version, not a dash. /trunk/scripts/build/debug/200-duma.sh | 1 1 0 0 + 1 file changed, 1 insertion(+)
* Re-instate the glibc/eglibc config option LIBC_GLIBC_CONFIGPARMS for use by ↵Yann E. MORIN"2009-03-051-7/+7
| | | | | | | | | | SuperH. Set appropriate defaults depending on target. /trunk/scripts/build/libc/glibc.sh | 14 7 7 0 +++++++------- /trunk/config/libc/glibc-eglibc.in-common | 15 15 0 0 +++++++++++++++ 2 files changed, 22 insertions(+), 7 deletions(-)
* Check that a pacakge was previously extracted prior to patching.Yann E. MORIN"2009-03-041-3/+5
| | | | | | | Fix a comment. /trunk/scripts/functions | 8 5 3 0 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-)
* 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(-)