Commit Graph

1030 Commits

Author SHA1 Message Date
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"
7d37551032 Ignore more in kconfig/:
- on Cygwin, the executables are appended .exe, thus ignore mconf.exe and conf.exe
2008-12-01 18:01:11 +00:00
Yann E. MORIN"
145d0cad94 Make the kconfig stuff build under Cygwin.
/trunk/kconfig/kconfig.mk                 |    7     5     2     0 ++++--
 /trunk/kconfig/lxdialog/check-lxdialog.sh |   44    21    23     0 ++++++++++++++++++-------------------
 2 files changed, 26 insertions(+), 25 deletions(-)
2008-11-30 20:59:15 +00:00
Yann E. MORIN"
d09d633fb2 Don't use /bin/ash in samples.
/trunk/samples/armeb-unknown-eabi/crosstool.config |    6     3     3     0 +++---
 /trunk/samples/mips-unknown-elf/crosstool.config   |    6     3     3     0 +++---
 2 files changed, 6 insertions(+), 6 deletions(-)
2008-11-30 20:46:17 +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"
7029a674e3 Update all these samples.
/trunk/samples/x86_64-unknown-linux-gnu/crosstool.config        |    9     5     4     0 +++++----
 /trunk/samples/sh4-unknown-linux-gnu/crosstool.config           |   11     6     5     0 ++++++-----
 /trunk/samples/armeb-unknown-linux-uclibc/crosstool.config      |    9     5     4     0 +++++----
 /trunk/samples/arm-unknown-elf/crosstool.config                 |    9     5     4     0 +++++----
 /trunk/samples/arm-unknown-linux-gnueabi/crosstool.config       |    9     5     4     0 +++++----
 /trunk/samples/armeb-unknown-eabi/crosstool.config              |    9     5     4     0 +++++----
 /trunk/samples/ia64-unknown-linux-gnu/crosstool.config          |   11     6     5     0 ++++++-----
 /trunk/samples/x86_64-unknown-linux-uclibc/crosstool.config     |    9     5     4     0 +++++----
 /trunk/samples/armeb-unknown-linux-gnueabi/crosstool.config     |    9     5     4     0 +++++----
 /trunk/samples/powerpc-e500v2-linux-gnuspe/crosstool.config     |    9     5     4     0 +++++----
 /trunk/samples/powerpc-e500v2-linux-gnuspe/reported.by          |    7     1     6     0 +------
 /trunk/samples/i686-nptl-linux-gnu/crosstool.config             |    9     5     4     0 +++++----
 /trunk/samples/powerpc-unknown-linux-gnu/crosstool.config       |    9     5     4     0 +++++----
 /trunk/samples/arm-unknown-linux-gnu/crosstool.config           |    9     5     4     0 +++++----
 /trunk/samples/mips-unknown-linux-uclibc/crosstool.config       |    9     5     4     0 +++++----
 /trunk/samples/arm-unknown-linux-uclibcgnueabi/crosstool.config |    9     5     4     0 +++++----
 /trunk/samples/armeb-unknown-linux-gnu/crosstool.config         |    9     5     4     0 +++++----
 /trunk/samples/powerpc-unknown_nofpu-linux-gnu/crosstool.config |    9     5     4     0 +++++----
 /trunk/samples/powerpc-unknown-linux-uclibc/crosstool.config    |    9     5     4     0 +++++----
 /trunk/samples/arm-unknown-linux-uclibc/crosstool.config        |    9     5     4     0 +++++----
 /trunk/samples/i586-geode-linux-uclibc/crosstool.config         |    9     5     4     0 +++++----
 /trunk/samples/powerpc-405-linux-gnu/crosstool.config           |    9     5     4     0 +++++----
 /trunk/samples/mips-unknown-elf/crosstool.config                |   11     6     5     0 ++++++-----
 /trunk/samples/mipsel-unknown-linux-gnu/crosstool.config        |   11     6     5     0 ++++++-----
 /trunk/samples/arm-unknown-eabi/crosstool.config                |    9     5     4     0 +++++----
 /trunk/samples/powerpc-860-linux-gnu/crosstool.config           |    2     1     1     0 +-
 26 files changed, 126 insertions(+), 107 deletions(-)
2008-11-25 18:41:49 +00:00
Yann E. MORIN"
98a8ba0b4b Remove the version number from .version in /trunk.
/trunk/.version |    2     1     1     0 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
2008-11-25 18:37:02 +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"
44a2186e47 Remove a patch for binutils-2.19 that makes the cross MIPS case fail.
- it is not necessary to use the gnu_hash section by default.
- renumber following patches

 /trunk/patches/binutils/2.19/170-use-relro.patch     |   14    14     0     0 ++++++++++++++
 /trunk/patches/binutils/2.19/180-libiberty-pic.patch |   14    14     0     0 ++++++++++++++
 2 files changed, 28 insertions(+)
2008-11-24 10:17:05 +00:00
Yann E. MORIN"
b0cc001a0a Update this Alpha sample to use binutils-2.19.
/trunk/samples/alphaev56-unknown-linux-gnu/crosstool.config |    9     5     4     0 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)
2008-11-23 18:00:59 +00:00
Yann E. MORIN"
3208de7fba Update this sample.
/trunk/samples/powerpc-860-linux-gnu/crosstool.config |   17     6    11     0 ++++++-----------
 1 file changed, 6 insertions(+), 11 deletions(-)
2008-11-23 17:24:26 +00:00
Yann E. MORIN"
d8696993ec Update this sample to use binutils-2.19.
/trunk/samples/armeb-unknown-linux-uclibcgnueabi/crosstool.config |    9     5     4     0 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)
2008-11-23 16:35:12 +00:00
Yann E. MORIN"
161a19e423 Add binutils-2.19 and associated patchset (vampirised from Gentoo).
/trunk/patches/binutils/2.19/120-sh-targets.patch             |   52    52     0     0 ++++
 /trunk/patches/binutils/2.19/180-use-relro.patch              |   14    14     0     0 +
 /trunk/patches/binutils/2.19/160-use-new-ld-dtags.patch       |   14    14     0     0 +
 /trunk/patches/binutils/2.19/100-ppc64-pie.patch              |   20    20     0     0 +
 /trunk/patches/binutils/2.19/190-libiberty-pic.patch          |   14    14     0     0 +
 /trunk/patches/binutils/2.19/170-generate-gnu-hash.patch      |   16    16     0     0 +
 /trunk/patches/binutils/2.19/110-RPATH_ENVVAR-smack.patch     |   17    17     0     0 +
 /trunk/patches/binutils/2.19/140-pt-pax-flags-20081101.patch  |  249   249     0     0 +++++++++++++++++
 /trunk/patches/binutils/2.19/150-warn-textrel.patch           |   48    48     0     0 +++
 /trunk/patches/binutils/2.19/130-check_ldrunpath_length.patch |   31    31     0     0 ++
 /trunk/config/binutils.in                                     |    5     5     0     0 +
 11 files changed, 480 insertions(+)
2008-11-23 16:34:49 +00:00
Yann E. MORIN"
c2803e1a04 Update the two x86_64 samples.
/trunk/samples/x86_64-unknown-linux-gnu/crosstool.config        |   38    22    16     0 +-
 /trunk/samples/x86_64-unknown-linux-uclibc/uClibc-0.9.30.config |  245   245     0     0 +++++++++++++++
 /trunk/samples/x86_64-unknown-linux-uclibc/crosstool.config     |   40    24    16     0 +-
 3 files changed, 291 insertions(+), 32 deletions(-)
2008-11-21 17:46:42 +00:00
Yann E. MORIN"
4ffd919be2 Be less verbose when a sample is directly built with build-sample-name.
/trunk/samples/samples.mk |    7     3     4     0 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)
2008-11-21 15:37:46 +00:00
Yann E. MORIN"
f2ea0ade3a Update the PowerPC samples.
/trunk/samples/powerpc-e500v2-linux-gnuspe/crosstool.config      |   43    26    17     0 +-
 /trunk/samples/powerpc-unknown-linux-gnu/crosstool.config        |   24    17     7     0 +
 /trunk/samples/powerpc-unknown_nofpu-linux-gnu/crosstool.config  |   24    17     7     0 +
 /trunk/samples/powerpc-unknown-linux-uclibc/uClibc-0.9.30.config |  248   248     0     0 ++++++++++++++
 /trunk/samples/powerpc-unknown-linux-uclibc/crosstool.config     |   28    20     8     0 +-
 /trunk/samples/powerpc-860-linux-gnu/crosstool.config            |   30    19    11     0 +-
 6 files changed, 347 insertions(+), 50 deletions(-)
2008-11-21 06:39:52 +00:00
Yann E. MORIN"
70fa0c34ce Update this sample.
/trunk/samples/powerpc-405-linux-gnu/crosstool.config |   24    17     7     0 +++++++++++++++++-------
 1 file changed, 17 insertions(+), 7 deletions(-)
2008-11-20 21:34:30 +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"
bd8804ec58 Update this sample.
/trunk/samples/sh4-unknown-linux-gnu/crosstool.config |   27    19     8     0 ++++++++++++++++++-------
 1 file changed, 19 insertions(+), 8 deletions(-)
2008-11-18 12:39:14 +00:00
Yann E. MORIN"
0d4e7a48b6 Update this sample.
/trunk/samples/mips-unknown-elf/crosstool.config |   14    10     4     0 ++++++++++----
 1 file changed, 10 insertions(+), 4 deletions(-)
2008-11-18 12:22:18 +00:00
Yann E. MORIN"
2ee94f8e75 Update this sample.
/trunk/samples/mipsel-unknown-linux-gnu/crosstool.config |   26    18     8     0 +++++++++++++++-------
 1 file changed, 18 insertions(+), 8 deletions(-)
2008-11-18 12:09:32 +00:00
Yann E. MORIN"
599eb5c61f Update this sample.
/trunk/samples/ia64-unknown-linux-gnu/crosstool.config |   27    19     8     0 +++++++++++++++++-------
 1 file changed, 19 insertions(+), 8 deletions(-)
2008-11-18 10:33:35 +00:00
Yann E. MORIN"
48c2f812eb Update this sample.
/trunk/samples/i686-nptl-linux-gnu/crosstool.config |   29    20     9     0 +++++++++++++++++++--------
 1 file changed, 20 insertions(+), 9 deletions(-)
2008-11-18 10:07:38 +00:00
Yann E. MORIN"
d3f173b196 Update this sample to use uClibc-0.9.30.
/trunk/samples/i586-geode-linux-uclibc/uClibc-0.9.30.config |  263   263     0     0 +++++++++++++++++++
 /trunk/samples/i586-geode-linux-uclibc/crosstool.config     |   40    24    16     0 ++-
 2 files changed, 287 insertions(+), 16 deletions(-)
2008-11-18 08:46:49 +00:00
Yann E. MORIN"
6b1f3a55e9 These sample are no longer EXPERIMENTAL.
/trunk/samples/armeb-unknown-linux-uclibc/crosstool.config |   10     2     8     0 ++--------
 /trunk/samples/arm-unknown-linux-uclibc/crosstool.config   |   10     2     8     0 ++--------
 2 files changed, 4 insertions(+), 16 deletions(-)
2008-11-18 07:41:13 +00:00
Yann E. MORIN"
a968b7d5b6 Bare-metal is no longer EXPERIMENTAL.
/trunk/samples/arm-unknown-elf/crosstool.config  |    6     2     4     0 ++----
 /trunk/samples/arm-unknown-eabi/crosstool.config |    6     2     4     0 ++----
 2 files changed, 4 insertions(+), 8 deletions(-)
2008-11-18 07:37:23 +00:00
Yann E. MORIN"
9ce896e6d3 Update all these samples. Those using uClinc are now using 0.9.30.
/trunk/samples/armeb-unknown-linux-uclibc/uClibc-0.9.30.config |  243   243     0     0 +++++++++++++++
 /trunk/samples/armeb-unknown-linux-uclibc/crosstool.config     |   34    24    10     0 +-
 /trunk/samples/arm-unknown-elf/crosstool.config                |   13    10     3     0 +
 /trunk/samples/armeb-unknown-eabi/crosstool.config             |   12     9     3     0 +
 /trunk/samples/arm-unknown-linux-gnueabi/crosstool.config      |   27    20     7     0 +-
 /trunk/samples/armeb-unknown-linux-gnueabi/crosstool.config    |   29    20     9     0 +-
 /trunk/samples/arm-unknown-linux-gnu/crosstool.config          |   31    21    10     0 +-
 /trunk/samples/armeb-unknown-linux-gnu/crosstool.config        |   29    20     9     0 +-
 /trunk/samples/arm-unknown-linux-uclibc/uClibc-0.9.30.config   |  253   253     0     0 ++++++++++++++++
 /trunk/samples/arm-unknown-linux-uclibc/crosstool.config       |   34    24    10     0 +-
 /trunk/samples/arm-unknown-eabi/crosstool.config               |   13    10     3     0 +
 /trunk/samples/alphaev56-unknown-linux-gnu/crosstool.config    |   29    20     9     0 +-
 12 files changed, 674 insertions(+), 73 deletions(-)
2008-11-18 06:50:29 +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"
4f5952aebf There's no EXPERIMENTAL stuff in this sample.
/trunk/samples/arm-unknown-linux-uclibcgnueabi/crosstool.config |   12     3     9     0 +++---------
 1 file changed, 3 insertions(+), 9 deletions(-)
2008-11-17 10:26:45 +00:00
Yann E. MORIN"
7eaa4edfae Update this ARM sample to use uClibc-0.9.30.
/trunk/samples/arm-unknown-linux-uclibcgnueabi/uClibc-0.9.30.config |  253   253     0     0 +++++++++++
 /trunk/samples/arm-unknown-linux-uclibcgnueabi/crosstool.config     |   34    24    10     0 +
 2 files changed, 277 insertions(+), 10 deletions(-)
2008-11-17 10:01:14 +00:00
Yann E. MORIN"
b282b4e3ed Update this MIPS sample to use uClibc-0.9.30.
/trunk/samples/mips-unknown-linux-uclibc/uClibc-0.9.30.config |  254   254     0     0 +++++++++++++++++
 /trunk/samples/mips-unknown-linux-uclibc/crosstool.config     |   42    24    18     0 ++-
 2 files changed, 278 insertions(+), 18 deletions(-)
2008-11-17 09:01:38 +00:00
Yann E. MORIN"
f15b8ade72 Get rid of the local-test in Makefile.
/trunk/Makefile.in       |   30    19    11     0 +++++++++++++++++++-----------
 /trunk/docs/overview.txt |   25    13    12     0 +++++++++++++------------
 2 files changed, 32 insertions(+), 23 deletions(-)
2008-11-16 22:19:57 +00:00
Yann E. MORIN"
81f9d4d73e Honor the DESTDIR variable to install out-of-place (Eg. for packaging).
/trunk/configure         |   10    10     0     0 +++++++++
 /trunk/Makefile.in       |   62    36    26     0 +++++++++++++++++++++++++++++++-----------------------
 /trunk/docs/overview.txt |   12    12     0     0 ++++++++++
 3 files changed, 58 insertions(+), 26 deletions(-)
2008-11-16 21:55:46 +00:00
Yann E. MORIN"
9fdc3888c4 Update this ARM sample to build with latest uClibc (0.9.30).
/trunk/samples/armeb-unknown-linux-uclibcgnueabi/uClibc-0.9.30.config |  243   243     0     0 ++++++++++
 /trunk/samples/armeb-unknown-linux-uclibcgnueabi/crosstool.config     |   54    27    27     0 +-
 2 files changed, 270 insertions(+), 27 deletions(-)
2008-11-16 20:38:07 +00:00
Yann E. MORIN"
b6b1bec022 Make strace 4.5.17 and 4.5.18 build with latest uClibc (which no longer install cachectl.h).
Patch from OpenEmbedded, by Khem (RAJ?), and forwarded by Joachim NILSSON.

 /trunk/patches/strace/4.5.17/180-no_cachectl.patch |   35    35     0     0 ++++++++++++++++++++++++++++
 /trunk/patches/strace/4.5.18/170-no_cachectl.patch |   35    35     0     0 ++++++++++++++++++++++++++++
 2 files changed, 70 insertions(+)
2008-11-16 20:37:39 +00:00
Yann E. MORIN"
3905eec431 Add latest uClibc 0.9.30 ( at last! ;-) )
/trunk/config/libc/uClibc.in |    5     5     0     0 +++++
 1 file changed, 5 insertions(+)
2008-11-14 13:49:27 +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"
6c7c991b14 Add the latest Linux kernel versions:
- 2.6.25.20
- 2.6.26.8
- 2.6.27.{4,5,6}

 /trunk/config/kernel/linux.in |   26    23     3     0 +++++++++++++++++++++++---
 1 file changed, 23 insertions(+), 3 deletions(-)
2008-11-13 20:19:50 +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"
301fbac58e Merge 1199 and 1200 from /devel/YEM-build_host_target_cleanup:
- Allow hand-indentation in the kconfig prompts
- Start documenting the kconfig deviations from the kernel's version

 /trunk/kconfig/menu.c    |   10     8     2     0 ++++++++--
 /trunk/docs/overview.txt |    6     6     0     0 ++++++
 2 files changed, 14 insertions(+), 2 deletions(-)
2008-11-13 17:55:16 +00:00
Yann E. MORIN"
ef0e776b9e Make the 'updatetools' rule conform to the V={,0,1,2} verbosity level.
/trunk/tools/tools.mk |   28    20     8     0 ++++++++++++++++++++--------
 1 file changed, 20 insertions(+), 8 deletions(-)
2008-11-13 17:34:44 +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"
fd8f312091 Update ltrace to ltrace-0.5 + fixes from Debian ltrace-0.5-3.1.
/trunk/patches/ltrace/0.5/130-fixes-by-debian.patch     |  812   812     0     0 +++++++++++++++++++++++
 /trunk/patches/ltrace/0.5/110-allow-cross-compile.patch |   26    13    13     0
 /trunk/config/debug/ltrace.in                           |    5     5     0     0 +
 3 files changed, 830 insertions(+), 13 deletions(-)
2008-11-04 18:52:59 +00:00