Yann E. MORIN"
46d3ec734a
Warn the user when he/she tries to save a sample that uses local patches
...
and/or custom Linux kernel headers.
/trunk/scripts/saveSample.sh.in | 18 17 1 0 +++++++++++++++++-
1 file changed, 17 insertions(+), 1 deletion(-)
2009-03-03 21:53:50 +00:00
Yann E. MORIN"
b6b7925fcb
Rename the custom header option.
...
/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(-)
2009-03-03 20:29:35 +00:00
Yann E. MORIN"
ea604716d9
When using custom Linux kernel headers, allow using a tarball.
...
/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(-)
2009-03-03 18:43:38 +00:00
Yann E. MORIN"
6822fae02e
Allow user to add a directory component in the sys-root path.
...
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(-)
2009-03-03 17:41:59 +00:00
Yann E. MORIN"
fd268ea38b
Fix extracting tarballs.
...
/trunk/scripts/functions | 6 5 1 0 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
2009-02-19 07:38:32 +00:00
Yann E. MORIN"
f962e240a3
On some hosts (eg. Cygwin), it's not possible to build the uClibc hostutils. 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(-)
2009-02-11 10:40:26 +00:00
Yann E. MORIN"
f621e51c3d
"chmod -R u+w" extracted tarballs, as some may have read-only files in them (ncurses-5.7 does).
...
/trunk/scripts/functions | 3 3 0 0 +++
1 file changed, 3 insertions(+)
2009-02-10 08:52:13 +00:00
Yann E. MORIN"
2177fb68ca
Put the uclibc munged config file in the "state" directory, so it survives a restart.
...
/trunk/scripts/build/libc/uClibc.sh | 8 4 4 0 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
2009-02-08 12:15:52 +00:00
Yann E. MORIN"
2e0b9c9e31
Make MPFR build under Cygwin.
...
/trunk/scripts/build/mpfr.sh | 24 20 4 0 ++++++++++++++++++++----
1 file changed, 20 insertions(+), 4 deletions(-)
2009-02-07 20:11:13 +00:00
Yann E. MORIN"
cb8cfd3d80
Don't add versions that already exist.
...
/trunk/scripts/addToolVersion.sh | 15 14 1 0 ++++++++++++++-
1 file changed, 14 insertions(+), 1 deletion(-)
2009-02-02 21:56:30 +00:00
Yann E. MORIN"
7fc16eff80
Fix patch-renumber:
...
- 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(-)
2009-02-01 23:15:59 +00:00
Yann E. MORIN"
8eed91405e
Fix populate to correctly use tools discovered via ./configure.
...
/trunk/scripts/functions | 11 8 3 0 ++++++++---
/trunk/scripts/populate.in | 6 4 2 0 ++++--
2 files changed, 12 insertions(+), 5 deletions(-)
2009-02-01 22:41:16 +00:00
Yann E. MORIN"
692749b67e
Use tools discovered by ./configure in scripts/toolchain-config.in.
...
/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(-)
2009-02-01 18:51:19 +00:00
Yann E. MORIN"
d80eda68dd
Use tools discovered via ./configure in scripts/showSample.sh; make it a POSIX shell script.
...
/trunk/scripts/showSamples.sh | 10 7 3 0 +++++++---
1 file changed, 7 insertions(+), 3 deletions(-)
2009-02-01 18:43:45 +00:00
Yann E. MORIN"
430ce931e1
Use tools discovered by ./configure in scripts/saveSample.sh
...
/trunk/Makefile.in | 7 6 1 0 ++++++-
/trunk/scripts/saveSample.sh.in | 23 13 10 0 +++++++++++++----------
2 files changed, 19 insertions(+), 11 deletions(-)
2009-02-01 17:11:46 +00:00
Yann E. MORIN"
3f4bf75a27
Fix removing directories.
...
/trunk/scripts/functions | 7 4 3 0 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
2009-02-01 17:04:00 +00:00
Yann E. MORIN"
94e376af77
Add support for powerpc64, along with an EXPERIMENTAL sample.
...
/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(-)
2009-01-31 17:39:35 +00:00
Yann E. MORIN"
04fa7e0569
Further handle the lib64 -> lib symlinks.
...
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(-)
2009-01-31 17:38:26 +00:00
Yann E. MORIN"
1a346ed273
Fix downloading with CT_GetFile when no mirror is set.
...
/trunk/scripts/functions | 8 5 3 0 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
2009-01-31 13:15:18 +00:00
Yann E. MORIN"
2aaa5b8b68
Update populate:
...
- 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(-)
2009-01-29 22:35:26 +00:00
Yann E. MORIN"
0cdb819a4e
If compiling the Java frontend, we'll require a native gcj, but only in this case.
...
/trunk/scripts/crosstool-NG.sh.in | 8 7 1 0 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
2009-01-29 22:09:55 +00:00
Yann E. MORIN"
c310dd7605
Use the path discovered by ./configure in scripts/patch-renumber.sh
...
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(-)
2009-01-29 19:00:08 +00:00
Yann E. MORIN"
1b05494c83
Use the path discovered by ./configure in scripts/addToolVersion.sh
...
It now requires that "./configure && make" be run beforehand.
/trunk/scripts/addToolVersion.sh | 10 7 3 0 +++++++---
1 file changed, 7 insertions(+), 3 deletions(-)
2009-01-29 18:53:32 +00:00
Yann E. MORIN"
fcd59328f4
Fix scripts/addToolVersion.sh:
...
- 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(-)
2009-01-29 18:48:05 +00:00
Yann E. MORIN"
a2d32f2257
Add a missing line continuation '\' in the gcc retrieval function.
...
Spotted by Doug Reiland <dreiland@hotmail.com>.
/trunk/scripts/build/cc/gcc.sh | 2 1 1 0 +-
1 file changed, 1 insertion(+), 1 deletion(-)
2009-01-28 22:36:44 +00:00
Yann E. MORIN"
af244eaf45
The gcc team seems to no longer make releases available at the ftp.gnu.org 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(+)
2009-01-27 21:36:18 +00:00
Yann E. MORIN"
6912bc6a2c
Finally used the discovered paths from ./configure in scripts/crosstool-NG.sh:
...
- 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(-)
2009-01-26 22:43:08 +00:00
Yann E. MORIN"
1007fb528d
On 20090120.2203+0100, Andy Johnson <ajohnson@aecno.com> wrote:
...
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(-)
2009-01-25 17:53:14 +00:00
Yann E. MORIN"
1115b43f86
On 20090115.0012+0100, "Andy Johnson" <ajohnson@aecno.com> wrote:
...
... 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(-)
2009-01-20 20:37:43 +00:00
Yann E. MORIN"
0fc2762de7
Forced-removing of a non-existing directory breaks the build.
...
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(-)
2009-01-20 20:10:50 +00:00
Yann E. MORIN"
28176fe21e
Fix building ltrace on PowerPC.
...
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(+)
2009-01-20 19:05:52 +00:00
Yann E. MORIN"
420f3fdd25
Rename scripts/crosstool.sh to scripts/crosstool-NG.sh.
...
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(-)
2009-01-18 17:45:10 +00:00
Yann E. MORIN"
83f0bec915
Fix removing existing directories by chmod'ing them to be user-writeable.
...
/trunk/scripts/crosstool.sh | 21 10 11 0 ++++++++++-----------
/trunk/scripts/functions | 7 7 0 0 +++++++
2 files changed, 17 insertions(+), 11 deletions(-)
2009-01-12 21:35:23 +00:00
Yann E. MORIN"
3ba25c5996
Fix initialising the workspace:
...
- 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(-)
2009-01-12 18:57:45 +00:00
Yann E. MORIN"
4732188b21
Don't print anything about LAN mirror if it is not used.
...
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(-)
2009-01-12 18:54:34 +00:00
Yann E. MORIN"
3b804296f5
The uClibc site has been overhauled lately, so the URL to retrieve sstrip 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(-)
2009-01-11 18:05:25 +00:00
Yann E. MORIN"
f326356874
Add an option to forbid downloads.
...
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(+)
2009-01-06 22:34:36 +00:00
Yann E. MORIN"
0cd8441a97
Add the Eclipse Java Compiler to be able to compile Java.
...
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(-)
2009-01-06 22:10:17 +00:00
Yann E. MORIN"
8b18c7d30d
Message beautification when saving locally.
...
/trunk/scripts/functions | 2 1 1 0 +-
1 file changed, 1 insertion(+), 1 deletion(-)
2009-01-06 21:00:39 +00:00
Yann E. MORIN"
ebf01acb41
Split CT_ExtractAndPatch in two: CT_Extract and CT_Patch:
...
- 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(-)
2009-01-05 23:02:43 +00:00
Yann E. MORIN"
4bcd72fb16
Fix building DUMA:
...
- 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(-)
2009-01-05 21:09:37 +00:00
Yann E. MORIN"
e3c489be38
Fix C library addons extraction:
...
- 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(-)
2009-01-05 20:37:03 +00:00
Yann E. MORIN"
31cc00829e
Get rid of CT_LIBC_FILE, remove useless CT_MakeAbsolutePath.
...
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(-)
2009-01-04 22:17:53 +00:00
Yann E. MORIN"
ddaf4012ae
Get rid of CT_CC_FILE.
...
/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(-)
2009-01-04 14:39:39 +00:00
Yann E. MORIN"
f2d6a84135
Remove support for gcc-2.95.3, it has never ever been tested.
...
/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(-)
2009-01-04 14:38:41 +00:00
Yann E. MORIN"
7593ffbf36
Fix aborting when neither wget nor curl are present.
...
/trunk/scripts/functions | 2 1 1 0 +-
1 file changed, 1 insertion(+), 1 deletion(-)
2009-01-04 14:35:25 +00:00
Yann E. MORIN"
ba9fe0dec8
Get rid of CT_GMP_FILE and CT_MPFR_FILE.
...
/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-04 14:25:58 +00:00
Yann E. MORIN"
e44e1a82e4
A small layout enhancement in the Linux kernel build script.
...
/trunk/scripts/build/kernel/linux.sh | 3 2 1 0 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
2009-01-04 14:25:24 +00:00
Yann E. MORIN"
4a06d29717
Get rid of CT_BINUTILS_FILE.
...
/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-04 14:21:00 +00:00
Yann E. MORIN"
26e96f3ec5
Get rid off CT_KERNEL_FILE.
...
/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-04 14:18:20 +00:00
Yann E. MORIN"
dc54c40704
Enable using glibc post 2.8:
...
- 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-04 12:46:13 +00:00
Yann E. MORIN"
87daa7bd58
Add new wrapper fucntions:
...
- 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-04 12:43:54 +00:00
Yann E. MORIN"
b8b7843bea
Get rid of all stuff related to building a /delivery' traball:
...
- 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-03 21:11:41 +00:00
Yann E. MORIN"
25dcd46fc9
Remove spurious line in gcc script (probably a bad copy-paste with the mouse...).
...
/trunk/scripts/build/cc/gcc.sh | 1 0 1 0 -
1 file changed, 1 deletion(-)
2009-01-03 20:53:19 +00:00
Yann E. MORIN"
a4e2d34a0f
Enable C++ for baremetal.
...
/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-24 17:34:32 +00:00
Yann E. MORIN"
b91d74858a
Make it clear that, if the second argument of CT_GetFile starts with a dot, it is considered to be the preferred extension.
...
/trunk/scripts/functions | 2 1 1 0 +-
1 file changed, 1 insertion(+), 1 deletion(-)
2008-12-21 20:07:47 +00:00
Yann E. MORIN"
65bb3ac67c
Get rid of the tols/ directory:
...
- 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-16 18:12:34 +00:00
Yann E. MORIN"
59090df851
Move patch-renumber.sh from tools/ to scripts/
2008-12-15 18:09:22 +00:00
Yann E. MORIN"
4cfd308098
Move toolchain-config.in from tools/ to scripts/
...
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-11 18:21:18 +00:00
Yann E. MORIN"
790695af6f
Move populate.in from tools/ to scripts/
...
/trunk/scripts/crosstool.sh | 2 1 1 0 +-
1 file changed, 1 insertion(+), 1 deletion(-)
2008-12-11 18:16:54 +00:00
Yann E. MORIN"
488f5d1e76
Move addToolsVersion.sh from tools/ to scripts/
...
/trunk/docs/overview.txt | 2 1 1 0 +-
1 file changed, 1 insertion(+), 1 deletion(-)
2008-12-11 18:12:04 +00:00
Yann E. MORIN"
eb687c65b3
Sanity-check CT_TARGET_VENDOR, CT_TARGET_ALIAS and CT_TARGET_ALIAS_SED_EXPR:
...
- 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 22:02:20 +00:00
Yann E. MORIN"
7ac365e075
.config is in CT_TOP_DIR, and we *are* in CT_TOP_DIR.
...
/trunk/scripts/crosstool.sh | 2 1 1 0 +-
1 file changed, 1 insertion(+), 1 deletion(-)
2008-12-09 21:25:29 +00:00
Yann E. MORIN"
6129d0cabe
Use the dedicated function CT_DoConfigSub rather than invoking config.sub directly.
...
/trunk/scripts/crosstool.sh | 4 2 2 0 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
2008-12-03 22:35:52 +00:00
Yann E. MORIN"
c2a76991ce
Minor POSIX compliance, and typo.
...
/trunk/scripts/crosstool.sh | 5 2 3 0 ++---
/trunk/scripts/functions | 3 2 1 0 ++-
2 files changed, 4 insertions(+), 4 deletions(-)
2008-11-28 23:33:04 +00:00
Yann E. MORIN"
b93e4d727b
Canonicalise CT_BUILD and CT_HOST:
...
- 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-28 23:31:02 +00:00
Yann E. MORIN"
c101cbccac
Make it easy to use \n
...
/trunk/scripts/functions | 5 4 1 0 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
2008-11-28 17:51:39 +00:00
Yann E. MORIN"
1daa4db721
Build dmalloc with -fPIC to sucessfully build the shared library with newer binutils.
...
/trunk/scripts/build/debug/100-dmalloc.sh | 1 1 0 0 +
1 file changed, 1 insertion(+)
2008-11-24 12:13:36 +00:00
Yann E. MORIN"
42fe84cd15
Overide locale to C so as to have readable logs.
...
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-20 17:48:10 +00:00
Yann E. MORIN"
8cd606ddc2
MPFR: correctly re-install config.{guess,sub} with autotools >=2.0.0.
...
/trunk/scripts/build/mpfr.sh | 14 13 1 0 +++++++++++++-
1 file changed, 13 insertions(+), 1 deletion(-)
2008-11-20 17:10:09 +00:00
Yann E. MORIN"
195830c106
Do not mangle Cygwin tuples.
...
/trunk/scripts/crosstool.sh | 5 5 0 0 +++++
1 file changed, 5 insertions(+)
2008-11-19 20:16:54 +00:00
Yann E. MORIN"
620b980474
Build and install a uClibc cross-ldd.
...
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(-)
2008-11-17 18:46:09 +00:00
Yann E. MORIN"
00326c96db
Add a fast Linux kernel mirror.
...
/trunk/scripts/build/kernel/linux.sh | 2 1 1 0 +-
1 file changed, 1 insertion(+), 1 deletion(-)
2008-11-14 13:48:55 +00:00
Yann E. MORIN"
8fba8c2732
Merge #1195 , #1196 and #1203 from /devel/YEM-build_host_target_cleanup:
...
- 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(-)
2008-11-13 18:22:23 +00:00
Yann E. MORIN"
f9f70c5ad6
Do not autodetect 64-bit archs, have them tell be 'select'-ing ARCH_64 in 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(-)
2008-11-07 08:09:42 +00:00
Yann E. MORIN"
15d657ce4e
Do not take lib64/ in account when fixing the glibc linker scripts:
...
- 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(-)
2008-11-07 08:03:32 +00:00
Yann E. MORIN"
25461c378b
Use target GMP and MPFR when building target binutils:
...
- 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(+)
2008-11-04 18:31:07 +00:00
Yann E. MORIN"
70a0eeedc2
Merge #1190 from /devel/YEM-build_host_target_cleanup:
...
- 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(-)
2008-11-04 16:30:11 +00:00
Yann E. MORIN"
a143467477
Enable uClibc parallel build for those versions supporting it.
...
/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(-)
2008-11-01 17:16:34 +00:00
Yann E. MORIN"
958855acea
Enablelocales when requested to do so.
...
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(-)
2008-11-01 17:13:54 +00:00
Yann E. MORIN"
dde482bd0d
Only install headers when installing uClibc headers.
...
/trunk/scripts/build/libc/uClibc.sh | 10 5 5 0 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
2008-11-01 17:02:48 +00:00
Yann E. MORIN"
9c5fd0d3af
Eyecandy in the WiKi table.
...
/trunk/scripts/showSamples.sh | 20 12 8 0 ++++++++++++--------
1 file changed, 12 insertions(+), 8 deletions(-)
2008-11-01 16:49:00 +00:00
Yann E. MORIN"
a86bd90cbb
Indent the samples list.
...
/trunk/scripts/showSamples.sh | 2 1 1 0 +-
1 file changed, 1 insertion(+), 1 deletion(-)
2008-10-31 18:28:12 +00:00
Yann E. MORIN"
6bfe4b1550
Transform LAN_MIRROR into plain MIRROR:
...
- 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(-)
2008-10-31 18:27:27 +00:00
Yann E. MORIN"
a5bbab574f
Use 'gawk', not plain 'awk'.
...
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(-)
2008-10-29 22:27:30 +00:00
Yann E. MORIN"
d31396bc23
Finally enable the PPC-8xx memset workaround, by Nye Liu.
...
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(-)
2008-10-29 21:20:23 +00:00
Yann E. MORIN"
5c48279f0f
Make a relative symlink from ${CT_TARGET}-cc to ${CT_TARGET}-gcc.
...
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(-)
2008-10-28 18:51:44 +00:00
Yann E. MORIN"
4f59e67c4d
Typo.
...
/trunk/scripts/showSamples.sh | 2 1 1 0 +-
1 file changed, 1 insertion(+), 1 deletion(-)
2008-10-27 18:19:08 +00:00
Yann E. MORIN"
ce4431de20
ltrace: remove lingering ".
...
/trunk/scripts/build/debug/400-ltrace.sh | 2 1 1 0 +-
1 file changed, 1 insertion(+), 1 deletion(-)
2008-10-26 11:30:34 +00:00
Yann E. MORIN"
eeeb5559a5
ltrace does not build out-of-tree: use copied sources to configure.
...
/trunk/scripts/build/debug/400-ltrace.sh | 8 4 4 0 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
2008-10-26 09:29:04 +00:00
Yann E. MORIN"
0c063fad74
Make ltrace finally build:
...
- 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(-)
2008-10-24 15:40:58 +00:00
Yann E. MORIN"
3605fa4f5f
Fix saving samples, by Nye Liu:
...
http://sourceware.org/ml/crossgcc/2008-10/msg00070.html
/trunk/scripts/saveSample.sh | 3 2 1 0 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
2008-10-23 21:13:50 +00:00
Yann E. MORIN"
1c625d676c
Push the calculation of the tuple's kernel part down to kernel's build scripts:
...
- update the kernel script's API with the function CT_DiKernelTupleValues
- update doc accordingly (also with the architecture change, missing in the previous commit)
- small clean-up in the main script, remove useless test
/trunk/scripts/build/kernel/bare-metal.sh | 5 5 0 0 +++++
/trunk/scripts/build/kernel/linux.sh | 5 5 0 0 +++++
/trunk/scripts/crosstool.sh | 31 13 18 0 +++++++++++++------------------
/trunk/scripts/functions | 15 8 7 0 ++++++++-------
/trunk/docs/overview.txt | 13 9 4 0 +++++++++----
5 files changed, 40 insertions(+), 29 deletions(-)
2008-10-23 13:45:48 +00:00
Yann E. MORIN"
58e57f180c
Architecture API change:
...
- rename the tuple function
/trunk/scripts/build/arch/mips.sh | 2 1 1 0 +-
/trunk/scripts/build/arch/sh.sh | 2 1 1 0 +-
/trunk/scripts/build/arch/x86_64.sh | 2 1 1 0 +-
/trunk/scripts/build/arch/arm.sh | 2 1 1 0 +-
/trunk/scripts/build/arch/powerpc.sh | 2 1 1 0 +-
/trunk/scripts/build/arch/ia64.sh | 2 1 1 0 +-
/trunk/scripts/build/arch/alpha.sh | 2 1 1 0 +-
/trunk/scripts/build/arch/x86.sh | 2 1 1 0 +-
/trunk/scripts/functions | 12 7 5 0 +++++++-----
9 files changed, 15 insertions(+), 13 deletions(-)
2008-10-23 13:00:45 +00:00
Yann E. MORIN"
3fdcbf0b26
Add a 405fp soft-float PowerPC sample.
...
/trunk/scripts/saveSample.sh | 2 1 1 0
/trunk/samples/powerpc-405fp-linux-gnu/crosstool.config | 338 338 0 0 +++++++++++++++++++++++
/trunk/samples/powerpc-405fp-linux-gnu/reported.by | 3 3 0 0 +
3 files changed, 342 insertions(+), 1 deletion(-)
2008-10-21 21:31:23 +00:00
Yann E. MORIN"
2c6a4afc4a
Fix using only custom patches.
...
Reported by Patrick FLAIG: http://sourceware.org/ml/crossgcc/2008-10/msg00032.html
/trunk/scripts/functions | 2 1 1 0 +-
1 file changed, 1 insertion(+), 1 deletion(-)
2008-10-21 21:04:25 +00:00
Yann E. MORIN"
102505af38
Correctly handle the minimum supported kernel version in glibc.
...
Should be propagated to eglibc as well...
/trunk/scripts/build/libc/glibc.sh | 78 39 39 0 +++++++++++++++++++++++++++++++-------------------------------
1 file changed, 39 insertions(+), 39 deletions(-)
2008-10-20 17:46:43 +00:00
Yann E. MORIN"
ee5492e658
Fix saving samples when the uClibc config file is already saved.
...
/trunk/scripts/saveSample.sh | 4 2 2 0
/trunk/samples/arm-unknown-linux-uclibcgnueabi/crosstool.config | 140 71 69 0 ++++++++-------
/trunk/samples/arm-unknown-linux-uclibcgnueabi/reported.by | 3 3 0 0 +
3 files changed, 76 insertions(+), 71 deletions(-)
2008-10-17 14:26:53 +00:00
Yann E. MORIN"
8215020b0f
Add alternate locations where to retrieve binutils snapshots.
...
/trunk/scripts/build/binutils.sh | 5 3 2 0 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
2008-10-15 07:29:07 +00:00
Yann E. MORIN"
c8a68d987b
Introduce the notion of a 'sample comment'.
...
- presence of the sample's reported.by file is now mandatory.
- when saving a sample, reporter name & URL are queried, to avoid operator forget about creating the reported.by file.
- when saving a sample, one can store a few-liner comment.
- when recalling a sample, the reporter name, URL and comment (if present) are printed.
- update the powerpc-e500v2-linux-gnuspe sample to include Nate's comment (from his original mail).
- update all samples that were missing the reported.by file.
/trunk/scripts/saveSample.sh | 46 35 11 0 ++++++++++++++++++------
/trunk/scripts/showSamples.sh | 12 6 6 0 +++---
/trunk/samples/powerpc-e500v2-linux-gnuspe/reported.by | 15 15 0 0 ++++++++
/trunk/samples/samples.mk | 22 17 5 0 +++++++++--
4 files changed, 73 insertions(+), 22 deletions(-)
2008-10-14 21:30:27 +00:00