Commit Graph

1348 Commits

Author SHA1 Message Date
Yann E. MORIN"
609dee36c7 Add latest Linux kernel versions:
- 2.6.27.21
- 2.6.28.8 & .9
- 2.6.29
Remove /old/ versions:
- 2.6.26 -> .7

 /trunk/config/kernel/linux.in |   68    27    41     0 +++++++++++++++++++------------------------------
 1 file changed, 27 insertions(+), 41 deletions(-)
2009-03-28 22:27:22 +00:00
Yann E. MORIN"
c72d8c3307 In http://sourceware.org/ml/crossgcc/2009-03/msg00078.html,
Nye Liu <nyet@mrv.com> says:
  looks like same patch from
  http://sourceware.org/ml/crossgcc/2008-10/msg00067.html
  (glibc/2.7/290-powerpc-8xx-CPU15-errata.patch)
  applies to 2.9
2009-03-28 22:21:33 +00:00
Yann E. MORIN"
aeddc2708d Rename patch dir for glibc-2.9: version string is 2.9, not 2_9. 2009-03-28 13:34:41 +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"
3a181fe514 Detect and abort on partially patched component.
/trunk/scripts/functions |   18    15     3     0 +++++++++++++++---
 1 file changed, 15 insertions(+), 3 deletions(-)
2009-03-27 21:30:47 +00:00
Yann E. MORIN"
b79ffe16c6 Refuse to build/install on file systems that are *not* case-sensitive.
/trunk/scripts/crosstool-NG.sh.in |    9     9     0     0 +++++++++
 1 file changed, 9 insertions(+)
2009-03-27 18:53:54 +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"
0e4c0c8815 Log the save/restore messages at a level that is always visible.
/trunk/scripts/functions |    7     5     2     0 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)
2009-03-24 17:37:52 +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"
817fc81efd Fix the menuconfig comment stating that native gdb needs a native ncurses
library, rather than saying it needs the ncurses library on the target.

 /trunk/config/debug/gdb.in |    2     1     1     0 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
2009-03-23 20:47:30 +00:00
Yann E. MORIN"
ac97965981 Add patches for ltrace-0.5.1.
/trunk/patches/ltrace/0.5.1/100-allow-cross-compile.patch |   77    77     0     0 +++++++++++++++++++++
 /trunk/patches/ltrace/0.5.1/110-alpha-support.patch       |   11    11     0     0 +++
 2 files changed, 88 insertions(+)
2009-03-17 22:11:44 +00:00
Yann E. MORIN"
9d6fe97aae Update the config.{guess,sub} files.
/trunk/scripts/config.guess |   21    16     5     0 ++++++++++++++++-----
 /trunk/scripts/config.sub   |   10     8     2     0 ++++++++--
 2 files changed, 24 insertions(+), 7 deletions(-)
2009-03-15 20:52:50 +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"
6d392339c6 When patching, always assume the package has been previously extraacted (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(-)
2009-03-15 20:06:40 +00:00
Yann E. MORIN"
36871474d3 Correctly use CT_DoExecLog with wget and curl.
/trunk/scripts/functions |   16     8     8     0 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)
2009-03-13 10:34:53 +00:00
Yann E. MORIN"
79581c0c54 Make the choices in generated config file (in config.gen) look better.
/trunk/config/config.mk |    2     1     1     0 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
2009-03-11 20:56:27 +00:00
Yann E. MORIN"
a971dbf566 Also recognise the libtool as packaged by Cygwin, when ./configure-ing.
/trunk/configure |    2     1     1     0 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
2009-03-09 22:05:52 +00:00
Yann E. MORIN"
1563aa9ea5 Under Cygwin, executables have the .exe suffix:
- cleanup conf.exe and mconf.exe as well as their non-.exe counterparts.

 /trunk/kconfig/kconfig.mk |    2     1     1     0 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
2009-03-09 22:01:59 +00:00
Yann E. MORIN"
d8ee6e30de Do not have the sys-root prefix depend on EXPERIMENTAL.
/trunk/config/toolchain.in |    1     0     1     0 -
 1 file changed, 1 deletion(-)
2009-03-09 10:54:57 +00:00
Yann E. MORIN"
11c0f59b90 Update the armeb-unkown-linux-uclibcgnueabi sample to use absolutely latest versions.
/trunk/samples/armeb-unknown-linux-uclibcgnueabi/uClibc-0.9.30.1.config |  243   243     0     0 ++++++++++
 /trunk/samples/armeb-unknown-linux-uclibcgnueabi/crosstool.config       |   52    38    14     0 +-
 2 files changed, 281 insertions(+), 14 deletions(-)
2009-03-08 22:39:58 +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"
20945a3465 Add patchset for MGP-4.2.4, from upstream.
/trunk/patches/gmp/4.2.4/120-perfpow.patch     |  149   149     0     0 ++++++++++++++++++++++
 /trunk/patches/gmp/4.2.4/110-mpf_set_str.patch |   32    32     0     0 +++++
 /trunk/patches/gmp/4.2.4/100-mpf_eq.patch      |  219   219     0     0 ++++++++++++++++++++++++++++++++
 3 files changed, 400 insertions(+)
2009-03-08 18:04:56 +00:00
Yann E. MORIN"
357c8c3fbe Add MPFR-2.4.1.
Add patchset for MPFR 2.4.0 and 2.4.1, from upstream.

 /trunk/config/gmp_mpfr/mpfr.in                    |    8     6     2     0 +
 /trunk/patches/mpfr/2.4.0/100-printf-hh-ll.patch  |  359   359     0     0 +++++++++++++++++++++++++++++
 /trunk/patches/mpfr/2.4.0/110-mpfr_snprintf.patch |  176   176     0     0 ++++++++++++++
 /trunk/patches/mpfr/2.4.1/100-remainder-neg.patch |  123   123     0     0 ++++++++++
 /trunk/patches/mpfr/2.4.1/110-assert.patch        |   45    45     0     0 ++++
 5 files changed, 709 insertions(+), 2 deletions(-)
2009-03-08 17:27:02 +00:00
Yann E. MORIN"
6a2fed26d1 Add uClibc-0.9.30.1 patchset, based on the 0.9.30 patchset. 2009-03-08 17:11:31 +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"
a4d865512c Add two patches agains glibc-2_9 to (try to) build for SuperH.
/trunk/patches/glibc/2_9/510-sh-no-asm-user-header.patch |   70    70     0     0 ++++++++++++++++++++++
 /trunk/patches/glibc/2_9/520-sh-no-asm-elf-header.patch  |   27    27     0     0 ++++++++
 2 files changed, 97 insertions(+)
2009-03-08 11:16:57 +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"
8e49c29255 Add CT_GetSVN to commonalise retrieval from SVN (ala CT_GetCVS).
/trunk/scripts/functions |   34    33     1     0 +++++++++++++++++++++++++++++++++-
 1 file changed, 33 insertions(+), 1 deletion(-)
2009-03-08 11:14:54 +00:00
Yann E. MORIN"
5e2f711dbf Add binutils-2.19.1 patchset, propagated from the 2.19 patchset.
/trunk/patches/binutils/2.19.1/120-sh-targets.patch             |   57    57     0     0 +++
 /trunk/patches/binutils/2.19.1/170-use-relro.patch              |   19    19     0     0 +
 /trunk/patches/binutils/2.19.1/160-use-new-ld-dtags.patch       |   19    19     0     0 +
 /trunk/patches/binutils/2.19.1/180-libiberty-pic.patch          |   19    19     0     0 +
 /trunk/patches/binutils/2.19.1/100-ppc64-pie.patch              |   25    25     0     0 +
 /trunk/patches/binutils/2.19.1/110-RPATH_ENVVAR-smack.patch     |   22    22     0     0 +
 /trunk/patches/binutils/2.19.1/140-pt-pax-flags-20081101.patch  |  254   254     0     0 +++++++++++++++
 /trunk/patches/binutils/2.19.1/150-warn-textrel.patch           |   53    53     0     0 +++
 /trunk/patches/binutils/2.19.1/130-check_ldrunpath_length.patch |   36    36     0     0 ++
 9 files changed, 504 insertions(+)
2009-03-08 11:14:03 +00:00
Yann E. MORIN"
6343b71e25 Re-order the sstrip config options.
/trunk/config/tools/sstrip.in |   14     7     7     0 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)
2009-03-08 10:59:16 +00:00
Yann E. MORIN"
eba28c52f0 Re-diff the binutils-2.18.50.0.4 patches.
Breakage spotted by "Sander Visser" <Sander.Visser@evidente.se>

 /trunk/patches/binutils/2.18.50.0.4/110-ld-makefile-path.patch       |   19    12     7     0 ++++++---
 /trunk/patches/binutils/2.18.50.0.4/130-i386-no-divide-comment.patch |    7     6     1     0 +++
 /trunk/patches/binutils/2.18.50.0.4/100-arm-uclibcgnueabi.patch      |   21    13     8     0 ++++++----
 /trunk/patches/binutils/2.18.50.0.4/120-check-ldrunpath-length.patch |   15    10     5     0 +++++--
 4 files changed, 41 insertions(+), 21 deletions(-)
2009-03-07 11:20:27 +00:00
Yann E. MORIN"
3d7298fc4f Update the EXPERIMENTAL SuperH sample to use gcc-4.3.2.
/trunk/samples/sh4-unknown-linux-gnu/crosstool.config |   28    21     7     0 +++++++++++++++++++------
 1 file changed, 21 insertions(+), 7 deletions(-)
2009-03-07 11:05:37 +00:00
Yann E. MORIN"
3d8001821e Add a patch to gcc-4.3.2 to fix building shared core compiler for SuperH.
/trunk/patches/gcc/4.3.2/370-sh-no-libc.patch |   12    12     0     0 ++++++++++++
 1 file changed, 12 insertions(+)
2009-03-07 11:04:41 +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"
a14760d58f Update the kconfig stuff from git.kernel.org.
Commit 7826005e5a53645d7aab7c13eda76126eadebf0b

 /trunk/kconfig/lex.zconf.c |    7     5     2     0 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)
2009-03-06 12:39:04 +00:00
Yann E. MORIN"
03e2d3f07e Update the kconfig stuff from git.kernel.org.
Commit cf82607a904d3b2ed3d66f8799f00d1099c1849c

 /trunk/kconfig/expr.h |   40    30    10     0 ++++++++++++++++++++++++++++++----------
 1 file changed, 30 insertions(+), 10 deletions(-)
2009-03-06 12:35:58 +00:00
Yann E. MORIN"
3520b36f95 Update the kconfig stuff from git.kernel.org.
Commit 5b2cf365a8e9bbf781939e941ed548c9743fdeea

 /trunk/kconfig/expr.h |   34    18    16     0 ++++++++++++++++++----------------
 1 file changed, 18 insertions(+), 16 deletions(-)
2009-03-06 12:33:41 +00:00
Yann E. MORIN"
4cf1baf7ba Update the kconfig stuff from git.kernel.org.
Commit eaa2a87460eca27ce725d63bbcf3b2da053828b7

 /trunk/kconfig/expr.h |    8     6     2     0 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)
2009-03-06 12:19:33 +00:00
Yann E. MORIN"
c4f56a7c52 Update the SuperH sample.
Build-tested only.

 /trunk/samples/sh4-unknown-linux-gnu/crosstool.config |   54    40    14     0 +++++++++++++++++++------
 1 file changed, 40 insertions(+), 14 deletions(-)
2009-03-05 17:51:15 +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"
08c5640661 Add latest stable binutils-2.19.1
/trunk/config/binutils.in |    5     5     0     0 +++++
 1 file changed, 5 insertions(+)
2009-03-05 17:38:05 +00:00
Yann E. MORIN"
ce74b02f1c Add latest EXPERIMENTAL binutils-2.19.51.0.2.
/trunk/config/binutils.in |    6     6     0     0 ++++++
 1 file changed, 6 insertions(+)
2009-03-05 17:36:40 +00:00
Yann E. MORIN"
75565cecde Update the kconfig stuff from git.kernel.org.
Commit f6682f915760ccfe57ef1b6cd5ff2d8f2bf8c1d4

 /trunk/kconfig/lxdialog/check-lxdialog.sh |    2     1     1     0 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
2009-03-04 18:56:07 +00:00
Yann E. MORIN"
b95eac9255 Update the kconfig stuff from git.kernel.org.
Commit ce97e13e52848c6388598696b7d44748598db759

 /trunk/kconfig/confdata.c |    3     1     2     0 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
2009-03-04 18:54:37 +00:00
Yann E. MORIN"
1be3d38a7d Add Linux kernel headers 2.6.27.1{8,9}
/trunk/config/kernel/linux.in |   10    10     0     0 ++++++++++
 1 file changed, 10 insertions(+)
2009-03-04 18:45:26 +00:00
Yann E. MORIN"
fec3baeca6 Check that a pacakge was previously extracted prior to patching.
Fix a comment.

 /trunk/scripts/functions |    8     5     3     0 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)
2009-03-04 18:25:58 +00:00