Commit Graph

1238 Commits

Author SHA1 Message Date
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
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"
c4a2b61489 Add latest versions:
- Linux kernel headers 2.6.28.{6,7}
- uClibc 0.9.30.1

 /trunk/config/kernel/linux.in |   10    10     0     0 ++++++++++
 /trunk/config/libc/uClibc.in  |    5     5     0     0 +++++
 2 files changed, 15 insertions(+)
2009-03-04 17:49:10 +00:00
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"
661d2239e5 Some eye-candy in the toolchain sub-menu entries.
/trunk/config/toolchain.in |    8     5     3     0 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)
2009-03-03 17:50:53 +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"
4462fcd995 Know issues: document the extract and/or patch steps failure under cygwin.
/trunk/docs/known-issues.txt |   16    16     0     0 ++++++++++++++++
 1 file changed, 16 insertions(+)
2009-03-03 17:39:51 +00:00
Yann E. MORIN"
832e00da4f uClibc-0.9.30 patch, forwarded by Joachim Nilsson <joachim.nilsson@vmlinux.org>
Fix getaddrinfo when both IPv4 and IPv6 are enabled.

 /trunk/patches/uClibc/0.9.30/150-getaddrinfo-segfault-ipv6-and-ipv4.patch |   32    32     0     0 ++++++++++
 1 file changed, 32 insertions(+)
2009-02-26 18:25:39 +00:00
Yann E. MORIN"
f049d64a0b On 20090220.0418+0100, Hugo Vincent <hugo.vincent@grcnz.com> wrote:
I'm using CTNG for some embedded Linux work on an ARM926ej-s, and when
  updating to glibc 2_9, I needed to use the attached patch to get it to
  build cleanly.

 /trunk/patches/glibc/ports-2_9/100-arm_linux_tls.patch |   14    14     0     0 ++++++++++++++
 1 file changed, 14 insertions(+)
2009-02-23 22:31:07 +00:00