Yann E. MORIN"
df07dda46d
Merge the /deve/uclinux branch back to /trunk:
...
- add support for uClinux, the MMU-less ports of Linux.
-------- diffstat follows --------
/trunk/scripts/build/kernel/linux.sh | 100 1 99 0 ---------------
/trunk/steps.mk | 1 1 0 0 +
/trunk/config/kernel/linux.in | 247 0 247 0 -------------------------------------
/trunk/config/kernel.in | 2 1 1 0
/trunk/config/libc/glibc.in | 2 1 1 0
/trunk/config/libc/eglibc.in | 2 1 1 0
/trunk/config/libc/glibc-eglibc.in-common | 5 5 0 0 +
/trunk/config/config.in | 1 1 0 0 +
8 files changed, 11 insertions(+), 349 deletions(-)
2009-05-13 20:55:15 +00:00
Yann E. MORIN"
f24796f24a
sstrip:
...
- update the upstream URL, now buildroot has migrated to using git
instead of svn.
-------- diffstat follows --------
/trunk/scripts/build/tools/200-sstrip.sh | 11 8 3 0 ++++++++---
1 file changed, 8 insertions(+), 3 deletions(-)
2009-05-11 20:45:42 +00:00
Yann E. MORIN"
45ccabcbfb
Fix building uClibc:
...
- fix headers installation
-------- diffstat follows --------
/trunk/scripts/build/libc/uClibc.sh | 2 1 1 0 +-
1 file changed, 1 insertion(+), 1 deletion(-)
2009-05-11 20:19:50 +00:00
Yann E. MORIN"
656d56551e
Workaround for "PowerPC-8xx CPU15 errata" (whatever that might be).
...
Patch by Nye LIU: http://sourceware.org/ml/crossgcc/2009-05/msg00014.html
-------- diffstat follows --------
/trunk/patches/eglibc/2_9/100-powerpc-8xx-CPU15-errata.patch | 49 49 0 0 ++++++++++++++++++
/trunk/scripts/build/libc/eglibc.sh | 10 9 1 0 +++-
2 files changed, 58 insertions(+), 1 deletion(-)
2009-05-07 19:30:32 +00:00
Yann E. MORIN"
7032dea8ba
Fix installing uClibc headers for versions prior to 0.9.30.
...
Fix a comment about installing uClibc.
Automatically enable // build for uClibc versions that can be built in //.
-------- diffstat follows --------
/trunk/scripts/build/libc/uClibc.sh | 32 23 9 0 +++++++++++++++++++++++---------
/trunk/config/libc/uClibc.in | 12 7 5 0 +++++++-----
2 files changed, 30 insertions(+), 14 deletions(-)
2009-05-07 18:56:31 +00:00
Yann E. MORIN"
a0cf91e83b
Add support for building PPL:
...
- PPL will be needed to correctly build gcc-4.4+ for the
GRAPHITE loop optimisation
-------- diffstat follows --------
/trunk/scripts/build/companion_libs/ppl.sh | 66 66 0 0 ++++++++++++++++++++++++++++++++++++
/trunk/scripts/build/companion_libs/gmp.sh | 24 19 5 0 ++++++++++---
/trunk/scripts/addToolVersion.sh | 3 2 1 0 +-
/trunk/scripts/crosstool-NG.sh.in | 3 3 0 0 ++
/trunk/steps.mk | 1 1 0 0 +
/trunk/config/companion_libs/ppl.in | 33 33 0 0 ++++++++++++++++++
/trunk/config/companion_libs.in | 22 19 3 0 ++++++++++--
7 files changed, 143 insertions(+), 9 deletions(-)
2009-05-05 22:04:20 +00:00
Yann E. MORIN"
38c549d748
Prepare for gcc-4.4:
...
- add 'companion_libs/' to hold all libraries needed to build gcc-4.3+ and gcc-4.4+
- move GMP & MPFR to 'companion_libs/'
-------- diffstat follows --------
/trunk/scripts/build/gmp.sh | 85 0 85 0 ----------------------------
/trunk/scripts/build/mpfr.sh | 139 0 139 0 ---------------------------------------------
/trunk/scripts/addToolVersion.sh | 4 2 2 0
/trunk/scripts/crosstool-NG.sh.in | 4 2 2 0
/trunk/config/companion_libs.in | 17 10 7 0 +++---
/trunk/config/gmp_mpfr/gmp.in | 32 0 32 0 ----------
/trunk/config/gmp_mpfr/mpfr.in | 42 0 42 0 --------------
/trunk/config/config.in | 2 1 1 0
/trunk/config/gmp_mpfr.in | 35 0 35 0 -----------
9 files changed, 15 insertions(+), 345 deletions(-)
2009-05-03 21:10:15 +00:00
Yann E. MORIN"
1805f4e62d
There's no longer any reason to require GNU awk:
...
- 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(-)
2009-04-20 21:10:03 +00:00
Yann E. MORIN"
15e04fe2de
Get rid of the proxy settings, once and for all.
...
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(-)
2009-04-19 16:34:59 +00:00
Yann E. MORIN"
9be02f047e
Use "${awk}", not gawk.
...
/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(-)
2009-04-06 20:27:17 +00:00
Yann E. MORIN"
529d2f6cbe
Cleanup the tic build used for native ncurses build, itself needed for 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(-)
2009-03-30 21:17:21 +00:00
Yann E. MORIN"
91a189c7ba
Only create the state dir if asked for a restartable build:
...
- 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(-)
2009-03-27 23:40:07 +00:00
Yann E. MORIN"
6501c29fd1
Merge r1432:1437 from /branches/newlib into /trunk :
...
- 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(-)
2009-03-26 18:58:13 +00:00
Yann E. MORIN"
355586027b
Add support for building toolchains with gcc-4.4 snapshots.
...
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(-)
2009-03-26 18:47:34 +00:00
Yann E. MORIN"
6c060f2375
Finally make ncurses-5.7 corctly build:
...
- 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(-)
2009-03-24 17:39:45 +00:00
Yann E. MORIN"
37d19f8954
Final touch to the ncurses build step:
...
- 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(-)
2009-03-23 23:35:36 +00:00
Yann E. MORIN"
893f21944c
xlcwu <xlcwu.taiwan@gmail.com> wrote:
...
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(-)
2009-03-23 23:05:08 +00:00
Yann E. MORIN"
509b3e52e9
Sanitise using glibc cvs exports:
...
- 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(-)
2009-03-15 20:50:40 +00:00
Yann E. MORIN"
24003e416f
Do not copy ecj.jar when it's not required.
...
/trunk/scripts/build/cc/gcc.sh | 4 3 1 0 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
2009-03-15 20:08:06 +00:00
Yann E. MORIN"
9bd1c96d1f
Fix building MPFR >= 2.4.0.
...
/trunk/scripts/build/mpfr.sh | 51 29 22 0 ++++++++++++++++++++++++++++----------------------
1 file changed, 29 insertions(+), 22 deletions(-)
2009-03-08 22:13:27 +00:00
Yann E. MORIN"
e1063055a2
Use "grep -E" instead of the deprecated "egrep".
...
/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(-)
2009-03-08 17:09:39 +00:00
Yann E. MORIN"
8d993f036a
Use the common functions (CT_GetSVN, CT_Extract and CT_Patch) to retrieve,
...
extract and patch sstrip from buildroot.
/trunk/scripts/build/tools/200-sstrip.sh | 16 3 13 0 +++-------------
1 file changed, 3 insertions(+), 13 deletions(-)
2009-03-08 11:15:58 +00:00
Yann E. MORIN"
a0c6dea176
Fix extracting/patching DUMA:
...
- 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(+)
2009-03-06 13:27:40 +00:00
Yann E. MORIN"
5f5cf95dd0
Re-instate the glibc/eglibc config option LIBC_GLIBC_CONFIGPARMS for use by 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(-)
2009-03-05 17:50:42 +00:00
Yann E. MORIN"
806a517cc2
Move do_finish from scripts/functions to its own file in 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(-)
2009-03-04 17:59:35 +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"
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"
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"
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"
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"
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"
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"
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"
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"
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"
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"
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"
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"
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"
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"
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"
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"
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"
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"
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"
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"
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"
d2fe51a715
Generate the choice menu for C libraries, the same way arch and kernels are generated.
...
/trunk/kconfig/kconfig.mk | 10 8 2 0 ++++++--
/trunk/scripts/build/libc/glibc.sh | 2 1 1 0 +-
/trunk/config/libc/glibc.in | 22 6 16 0 +++++-------------
/trunk/config/libc/uClibc.in | 7 6 1 0 +++++-
/trunk/config/libc/eglibc.in | 12 11 1 0 +++++++++-
/trunk/config/libc.in | 53 4 49 0 +++-----------------------------------------
6 files changed, 36 insertions(+), 70 deletions(-)
2008-10-13 11:23:51 +00:00
Yann E. MORIN"
82c9d1aceb
Simplify the Tools and Debug facilities menu entries:
...
- each config file no longer have to define their own 'menuconfig foo - if FOO - endif' gym
- each build script no longer has to say wether they are enabled
- generation of the 'menuconfig' entries for the Tools and Debug facilities now uses the same code
Some re-ordering of the code to be consistent with the steps ordering (tools, then debug).
/trunk/kconfig/kconfig.mk | 66 43 23 0 +++++++++++++++++++++++-------------
/trunk/scripts/build/debug.sh | 14 9 5 0 +++++---
/trunk/scripts/build/tools/000-template.sh | 7 0 7 0 ----
/trunk/scripts/build/tools/100-libelf.sh | 3 0 3 0 --
/trunk/scripts/build/tools/200-sstrip.sh | 2 0 2 0 -
/trunk/scripts/build/debug/000-template.sh | 7 0 7 0 ----
/trunk/scripts/build/debug/100-dmalloc.sh | 3 0 3 0 --
/trunk/scripts/build/debug/400-ltrace.sh | 3 0 3 0 --
/trunk/scripts/build/debug/300-gdb.sh | 3 0 3 0 --
/trunk/scripts/build/debug/500-strace.sh | 3 0 3 0 --
/trunk/scripts/build/debug/200-duma.sh | 3 0 3 0 --
/trunk/scripts/build/tools.sh | 14 9 5 0 +++++---
/trunk/scripts/crosstool.sh | 2 1 1 0
/trunk/config/debug/ltrace.in | 14 3 11 0 ++------
/trunk/config/debug/dmalloc.in | 9 1 8 0 +----
/trunk/config/debug/gdb.in | 9 1 8 0 +----
/trunk/config/debug/strace.in | 10 1 9 0 -----
/trunk/config/debug/duma.in | 10 1 9 0 -----
/trunk/config/tools/libelf.in | 12 2 10 0 +------
/trunk/config/tools/sstrip.in | 10 1 9 0 -----
/trunk/config/config.in | 4 2 2 0 +-
21 files changed, 74 insertions(+), 134 deletions(-)
2008-10-10 14:30:44 +00:00
Yann E. MORIN"
b8d189b296
Separate the architecture config file and function script.
...
/trunk/kconfig/kconfig.mk | 46 23 23 0 +++++++++++++++++++++++-----------------------
/trunk/scripts/crosstool.sh | 2 1 1 0 +-
/trunk/docs/overview.txt | 28 11 17 0 +++++++++++-----------------
3 files changed, 35 insertions(+), 41 deletions(-)
2008-10-05 15:32:00 +00:00
Yann E. MORIN"
6731142c39
Better handle the second pass core gcc build, differentiating between gcc prior to 4.3 with gcc from 4.3.
...
Simplify detecting wether gcc is 4.3 and later, or older than 4.3 (we already know from .config).
/trunk/scripts/build/cc/gcc.sh | 22 13 9 0 +++++++++++++---------
1 file changed, 13 insertions(+), 9 deletions(-)
2008-09-30 18:19:18 +00:00
Yann E. MORIN"
47221dfa6a
Restore the ability to build gcc older than 4.3. At last!
...
/trunk/scripts/build/cc/gcc.sh | 2 1 1 0 +-
1 file changed, 1 insertion(+), 1 deletion(-)
2008-09-29 12:02:47 +00:00
Yann E. MORIN"
b000bc94cd
In the glibc and eglibc trees, the 'configure' files may be older than their source 'configure.in', when used from an svn check out, or a snapshot tarball.
...
They are nonetheless in sync and need not be regenerated.
Fix that by touching the files to have 'make' believe they are up-to-date (which they are).
/trunk/scripts/build/libc/glibc.sh | 5 5 0 0 +++++
/trunk/scripts/build/libc/eglibc.sh | 7 6 1 0 ++++++-
2 files changed, 11 insertions(+), 1 deletion(-)
2008-09-28 21:34:11 +00:00
Yann E. MORIN"
6c54fde8fd
Bart De VOS pointed out that removing absolute paths from the libc linker scripts is plainly wrong.
...
It dates from dawn ages of the original crosstool code, and is not well explained. At that time, binutils might not understand the sysroot stuff, and it was necessary to remove absolute paths in that case.
/trunk/scripts/build/libc/glibc.sh | 14 2 12 0 ++------------
1 file changed, 2 insertions(+), 12 deletions(-)
2008-09-23 14:48:10 +00:00
Yann E. MORIN"
8935b10421
Rework the eglibc download so as to be a little bit saner.
...
/trunk/scripts/build/libc/eglibc.sh | 25 15 10 0 +++++++++++++++----------
1 file changed, 15 insertions(+), 10 deletions(-)
2008-09-22 19:51:29 +00:00
Yann E. MORIN"
c36b921790
Generate the kernel config choice, rather than having it hard-coded:
...
- change the menu label from 'Target OS' to 'Operating System',
- bare-metal is a kind of kernel (OS), rename to 'bare-metal' from 'none',
- update the kconfig.mk to generate the kernel choice entries,
- update glibc&eglibc kernel version option accordingly.
Update the debug & tools confiog file generation to match with arch & kernel.
Print terse command lines when building in kconfig/ (a-la Linux kernel).
Fix the makefile rules in kconfig/kconfig.mk to be /simple/ rules.
/trunk/kconfig/kconfig.mk | 117 81 36 0 +++++++++++++++++++++----------
/trunk/config/kernel/linux.in | 4 4 0 0 +
/trunk/config/kernel/bare-metal.experimental.in | 15 15 0 0 ++++
/trunk/config/kernel.in | 33 5 28 0 +--------
/trunk/config/libc/glibc-eglibc-common.in | 4 2 2 0
5 files changed, 107 insertions(+), 66 deletions(-)
2008-09-16 17:39:40 +00:00
Yann E. MORIN"
b6a8c7318d
Move all the Linux kernel config options to a single file (to ease supporting more than one kernel).
...
Rename some Linux kernel config options (ditto).
Update the addToolsVersion.sh script.
/trunk/scripts/build/kernel/linux.sh | 13 6 7 0 +--
/trunk/tools/addToolVersion.sh | 105 37 68 0 +++++++--------------
/trunk/config/kernel/linux.in | 211 189 22 0 ++++++++++++++++++++++++++++++++++++++----
3 files changed, 232 insertions(+), 97 deletions(-)
2008-09-15 14:52:29 +00:00
Yann E. MORIN"
070411306a
DUMA: don't log twice through the logger.
...
/trunk/scripts/build/debug/100-dmalloc.sh | 2 1 1 0 +-
1 file changed, 1 insertion(+), 1 deletion(-)
2008-09-15 14:41:09 +00:00
Yann E. MORIN"
02d2b29cda
Enhance setting the minimum kernel version glibc will run against.
...
Ideally, eglibc should also benefit for that, but the current code does not set it.
/trunk/scripts/build/libc/glibc.sh | 38 33 5 0 +++++++++++++++---
/trunk/config/libc/glibc.in | 4 2 2 0 +-
/trunk/config/libc/uClibc.in | 2 2 0 0 +
/trunk/config/libc/eglibc.in | 4 2 2 0 +-
/trunk/config/libc/glibc-eglibc-common.in | 80 68 12 0 +++++++++++++++++++++++++++++++------
/trunk/config/libc.in | 69 38 31 0 ++++++++++++++++++--------------
6 files changed, 145 insertions(+), 52 deletions(-)
2008-09-14 18:09:36 +00:00
Yann E. MORIN"
799672a641
Introduce a new EXPERIMENTAL feature: BARE_METAL.
...
This should ultimately llow to build bare-metal compilers, for targets that have no kernel and no C library.
Move the C library build script to their own sub-directory; introduce an empty build script for bare-metal.
Move the compiler build script to its own sub-directory.
Move the kernel build script to its own sub-directory; introduce an empty build script for bare-metal.
Update the ARM target tuples to enable bare-metal targets.
Add two ARM bare-metal samples.
Add latest Linux kernel versions.
/trunk/scripts/build/kernel/none.sh | 77 6 71 0 +----
/trunk/scripts/build/cc/gcc.sh | 58 41 17 0 ++-
/trunk/scripts/build/libc/none.sh | 513 9 504 0 +-----------------------------
/trunk/scripts/crosstool.sh | 17 9 8 0 +
/trunk/scripts/functions | 6 4 2 0 +
/trunk/scripts/showSamples.sh | 6 3 3 0
/trunk/samples/arm-unknown-elf/crosstool.config | 225 225 0 0 +++++++++++++
/trunk/samples/arm-unknown-eabi/crosstool.config | 223 223 0 0 +++++++++++++
/trunk/config/kernel/linux_headers_install.in | 64 27 37 0 ++--
/trunk/config/kernel.in | 9 8 1 0 +
/trunk/config/toolchain.in | 1 1 0 0 +
/trunk/config/cc/gcc.in | 3 3 0 0 +
/trunk/config/debug/dmalloc.in | 1 1 0 0 +
/trunk/config/debug/gdb.in | 4 3 1 0 +
/trunk/config/debug/strace.in | 1 1 0 0 +
/trunk/config/debug/duma.in | 1 1 0 0 +
/trunk/config/cc.in | 8 8 0 0 +
/trunk/config/target.in | 13 13 0 0 +
/trunk/config/binutils.in | 1 1 0 0 +
/trunk/config/gmp_mpfr.in | 1 1 0 0 +
/trunk/config/libc.in | 17 11 6 0 +
/trunk/arch/arm/functions | 3 1 2 0 -
22 files changed, 600 insertions(+), 652 deletions(-)
2008-09-14 16:21:07 +00:00
Yann E. MORIN"
7a0e770be1
Remove the now really obsolete Linux kernel headers copy and sanitised.
...
Remove orphanned Linux kernel patchsets.
Initiate a kernel build scripts directory. Move the Linux kernel build script there.
/trunk/scripts/build/kernel/linux.sh | 146 11 135 0 +++---------------------------------------
/trunk/scripts/crosstool.sh | 2 1 1 0
/trunk/steps.mk | 1 0 1 0 -
/trunk/config/kernel/linux.in | 49 0 49 0 --------------
/trunk/config/kernel.in | 4 4 0 0 +
5 files changed, 16 insertions(+), 186 deletions(-)
2008-09-10 21:40:23 +00:00
Yann E. MORIN"
3d4bc00719
Add support for building Insight instead of gdb (only for the cross-gdb).
...
/trunk/scripts/build/debug/300-gdb.sh | 62 55 7 0 ++++++++++++++++++++++++++++++++++++-----
/trunk/config/debug/gdb.in | 13 13 0 0 +++++++++
2 files changed, 68 insertions(+), 7 deletions(-)
2008-09-02 10:47:44 +00:00
Yann E. MORIN"
520eda92a2
Be gentle to older findutils that don't have the "{} +" construct, and simply use "{} \;" instead.
...
/trunk/scripts/build/debug/300-gdb.sh | 2 1 1 0 +-
1 file changed, 1 insertion(+), 1 deletion(-)
2008-09-01 09:15:31 +00:00
Yann E. MORIN"
0a99eb0c77
Enable glibc to include support for kernel versions different than the version from the kernel headers.
...
Thanks to Nate CASE <ncase@xes-inc.com> for suggesting this use-case, and providing the patch.
/trunk/scripts/build/libc_glibc.sh | 4 2 2 0 +-
/trunk/scripts/build/libc_eglibc.sh | 2 1 1 0 +-
/trunk/config/libc/glibc-eglibc-common.in | 44 44 0 0 +++++++++++++++++++++++++++++++++++++
3 files changed, 47 insertions(+), 3 deletions(-)
2008-08-26 21:37:46 +00:00
Yann E. MORIN"
477baecf46
Missed one variable when converting to common options for eglibc and glibc (thanks Nate Case).
...
/trunk/scripts/build/libc_eglibc.sh | 2 1 1 0 +-
1 file changed, 1 insertion(+), 1 deletion(-)
2008-08-26 21:30:22 +00:00
Yann E. MORIN"
b3f5a87080
Commonalise options common to both glibc and eglibc.
...
/trunk/scripts/build/libc_eglibc.sh | 6 3 3 0 +-
/trunk/config/libc/glibc.in | 63 2 61 0 +---------------------------------
/trunk/config/libc/eglibc.in | 61 1 60 0 +--------------------------------
/trunk/config/libc/eglibc-glibc-common.in | 1 1 0 0 +
/trunk/config/libc/glibc-eglibc-common.in | 69 69 0 0 +++++++++++++++++++++++++++++++++++++
5 files changed, 76 insertions(+), 124 deletions(-)
2008-08-26 16:47:47 +00:00
Yann E. MORIN"
535c532baf
Fix building older gdb's with newer gcc's.
...
/trunk/scripts/build/debug/300-gdb.sh | 2 2 0 0 ++
1 file changed, 2 insertions(+)
2008-08-20 12:08:03 +00:00
Yann E. MORIN"
99691ee4d6
Log retrieved file emssages to DEBUG level, not EXTRA.
...
/trunk/scripts/build/libc_eglibc.sh | 2 1 1 0 +-
/trunk/scripts/functions | 6 3 3 0 +++---
2 files changed, 4 insertions(+), 4 deletions(-)
2008-08-17 14:13:00 +00:00
Yann E. MORIN"
5742930b13
MPFR: log autotools files rebuilding to DEBUG level, not EXTRA.
...
/trunk/scripts/build/mpfr.sh | 2 1 1 0 +-
1 file changed, 1 insertion(+), 1 deletion(-)
2008-08-17 14:10:44 +00:00
Yann E. MORIN"
70e05067fa
Fix saving and using local copy of eglibc tarballs.
...
/trunk/scripts/build/libc_eglibc.sh | 10 5 5 0 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
2008-08-12 09:14:55 +00:00
Yann E. MORIN"
f1b9a7e7bb
Merge the static and shared core gcc builds.
...
/trunk/scripts/build/cc_gcc.sh | 195 64 131 0 ++++++++++++++++--------------------------------
1 file changed, 64 insertions(+), 131 deletions(-)
2008-08-12 07:47:51 +00:00
Yann E. MORIN"
59ef10f5d6
Merge the branches/eglibc stuff:
...
- Add support for eglibc
/trunk/scripts/functions | 6 4 2 0 ++++--
/trunk/docs/CREDITS | 1 1 0 0 +
/trunk/config/libc.in | 12 12 0 0 ++++++++++++
/trunk/arch/arm/functions | 4 2 2 0 ++--
4 files changed, 19 insertions(+), 4 deletions(-)
2008-08-11 12:22:47 +00:00
Yann E. MORIN"
c1a2e1bb87
Add a new config knob for gcc: usage of SJLJ to handle exceptions.
...
This is needed for some architectures to compile the Java frontend (eg. ARM with uClibc).
/trunk/config/cc/gcc.in | 41 39 2 0 +++++++++++++++++++++++++++++++++++++++--
/trunk/scripts/build/cc_gcc.sh | 8 5 3 0 +++++---
2 files changed, 44 insertions(+), 5 deletions(-)
2008-08-07 13:55:30 +00:00
Yann E. MORIN"
f53dd7e985
Fix building core C compiler.
...
PowerPC unveiled that you can't reliably build a target libgcc until you have C library headers.
In fact you can't build it at all. The fact that it did build for some architectures was purely coincidental, and a mistake.
This fix should still allow to build uClibc-based toolchains (some ARM uClibc toolchains were build-tested).
/trunk/scripts/build/cc_gcc.sh | 100 47 53 0 +++++++++++++++++++++++-------------------------
1 file changed, 47 insertions(+), 53 deletions(-)
2008-08-07 13:28:02 +00:00
Yann E. MORIN"
d67a32191b
Make gcc-4.3.x able to compile uClibc (snapshot only).
...
Update the gcc patchset accordingly.
/trunk/scripts/build/cc_gcc.sh | 55 53 2 0 ++++++++++++++++++++++++++++++++++++++++++++++--
1 file changed, 53 insertions(+), 2 deletions(-)
2008-08-04 12:38:06 +00:00