Commit Graph

176 Commits

Author SHA1 Message Date
Yann E. MORIN"
6bad5c1002 Don't use libelf in MIPS samples: it is not used as ltrace is not available for MIPS.
/trunk/samples/mips-unknown-linux-uclibc/crosstool.config |    9     4     5     0 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)
2008-10-27 18:46:04 +00:00
Yann E. MORIN"
b476443822 Enhance the make fragments:
- comment the different parts
- re-order the code so that it is homogeneous amogst fragments
- eye-candy in some existing comments

 /trunk/tools/tools.mk     |   17    15     2     0 +++++++++++++++--
 /trunk/steps.mk           |   38    26    12     0 ++++++++++++++++++++++++++------------
 /trunk/samples/samples.mk |   41    28    13     0 ++++++++++++++++++++++++++++-------------
 /trunk/config/config.mk   |    2     1     1     0 +-
 4 files changed, 70 insertions(+), 28 deletions(-)
2008-10-27 18:42:26 +00:00
Yann E. MORIN"
b4fcf60350 Update this MIPS sample.
/trunk/samples/mips-unknown-linux-uclibc/crosstool.config |  141    74    67     0 +++++++++++++++--------------
 /trunk/samples/mips-unknown-linux-uclibc/reported.by      |    3     3     0     0 +
 2 files changed, 77 insertions(+), 67 deletions(-)
2008-10-27 18:17:16 +00:00
Yann E. MORIN"
46f8e7ba90 Really, don't do DEBUG in samples.
/trunk/samples/sh4-unknown-linux-gnu/crosstool.config       |    5     1     4     0 +----
 /trunk/samples/alphaev56-unknown-linux-gnu/crosstool.config |    5     1     4     0 +----
 2 files changed, 2 insertions(+), 8 deletions(-)
2008-10-27 17:03:01 +00:00
Yann E. MORIN"
a1630bfc9b Don't do DEBUG in samples.
/trunk/samples/ia64-unknown-linux-gnu/crosstool.config |    5     1     4     0 +----
 1 file changed, 1 insertion(+), 4 deletions(-)
2008-10-27 16:53:40 +00:00
Yann E. MORIN"
fa5a67e4a7 Update the ia64 sample.
/trunk/samples/ia64-unknown-linux-gnu/crosstool.config |  109    55    54     0 ++++++++++++------------
 /trunk/samples/ia64-unknown-linux-gnu/reported.by      |    3     3     0     0 +
 2 files changed, 58 insertions(+), 54 deletions(-)
2008-10-27 15:22:41 +00:00
Yann E. MORIN"
80c3652025 Update the i686 sample.
/trunk/samples/i686-nptl-linux-gnu/crosstool.config |  167    90    77     0 +++++++++++++++------------
 /trunk/samples/i686-nptl-linux-gnu/reported.by      |    3     3     0     0 +
 2 files changed, 93 insertions(+), 77 deletions(-)
2008-10-27 10:03:38 +00:00
Yann E. MORIN"
34b2876217 Update the i586 Geode sample.
/trunk/samples/i586-geode-linux-uclibc/crosstool.config |  142    73    69     0 ++++++++++++-----------
 /trunk/samples/i586-geode-linux-uclibc/reported.by      |    3     3     0     0 +
 2 files changed, 76 insertions(+), 69 deletions(-)
2008-10-27 08:58:57 +00:00
Yann E. MORIN"
6ffcf32efd Update this ARM sample.
/trunk/samples/armeb-unknown-linux-uclibcgnueabi/crosstool.config |  148    80    68     0 +++++++------
 /trunk/samples/armeb-unknown-linux-uclibcgnueabi/reported.by      |    3     3     0     0 +
 2 files changed, 83 insertions(+), 68 deletions(-)
2008-10-26 18:02:34 +00:00
Yann E. MORIN"
5a50bec5a7 Update this ARM sample.
/trunk/samples/armeb-unknown-linux-gnueabi/crosstool.config |  166    88    78     0 ++++++++++---------
 /trunk/samples/armeb-unknown-linux-gnueabi/reported.by      |    3     3     0     0 +
 2 files changed, 91 insertions(+), 78 deletions(-)
2008-10-26 15:48:59 +00:00
Yann E. MORIN"
92d4a36e33 Don't use /bin/ash as shell in samples.
/trunk/samples/arm-unknown-linux-uclibcgnueabi/crosstool.config |    7     3     4     0 +++---
 /trunk/samples/powerpc-405-linux-gnu/crosstool.config           |   17     8     9     0 +++++++--------
 /trunk/samples/arm-unknown-eabi/crosstool.config                |    6     3     3     0 ++--
 3 files changed, 14 insertions(+), 16 deletions(-)
2008-10-26 15:23:42 +00:00
Yann E. MORIN"
6f1b97431a Update the Alpha sample with ltrace being built.
/trunk/samples/alphaev56-unknown-linux-gnu/crosstool.config |    8     5     3     0 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)
2008-10-26 15:20:05 +00:00
Yann E. MORIN"
6aaa4bb500 Update thie ARM sample.
/trunk/samples/armeb-unknown-linux-gnu/crosstool.config |  168    89    79     0 ++++++++++++-----------
 /trunk/samples/armeb-unknown-linux-gnu/reported.by      |    3     3     0     0 +
 2 files changed, 92 insertions(+), 79 deletions(-)
2008-10-26 14:33:11 +00:00
Yann E. MORIN"
3f54d613fa Update this ARM sample.
/trunk/samples/arm-unknown-linux-gnu/crosstool.config |  171    91    80     0 +++++++++++++------------
 /trunk/samples/arm-unknown-linux-gnu/reported.by      |    1     1     0     0 +
 2 files changed, 92 insertions(+), 80 deletions(-)
2008-10-26 14:32:21 +00:00
Yann E. MORIN"
6b78dcf50f Update this ARM sample.
/trunk/samples/arm-unknown-linux-uclibc/crosstool.config |  146    75    71     0 +++++++++++-----------
 /trunk/samples/arm-unknown-linux-uclibc/reported.by      |    3     3     0     0 +
 2 files changed, 78 insertions(+), 71 deletions(-)
2008-10-26 12:22:20 +00:00
Yann E. MORIN"
1d7283c576 Update the bare-metal ARM EABI sample.
/trunk/samples/arm-unknown-eabi/crosstool.config |   51    35    16     0 +++++++++++++++++++++---------
 /trunk/samples/arm-unknown-eabi/reported.by      |    3     3     0     0 ++
 2 files changed, 38 insertions(+), 16 deletions(-)
2008-10-26 11:26:46 +00:00
Yann E. MORIN"
bb5c34400a Update the bare-metal ARM ELF sample.
/trunk/samples/arm-unknown-elf/crosstool.config |   55    37    18     0 +++++++++++++++++++++----------
 /trunk/samples/arm-unknown-elf/reported.by      |    3     3     0     0 ++
 2 files changed, 40 insertions(+), 18 deletions(-)
2008-10-26 11:26:27 +00:00
Yann E. MORIN"
0c2ff1f668 Update the Alpha sample.
/trunk/samples/alphaev56-unknown-linux-gnu/crosstool.config |  122    61    61     0 +++++++++---------
 /trunk/samples/alphaev56-unknown-linux-gnu/reported.by      |    1     1     0     0 +
 2 files changed, 62 insertions(+), 61 deletions(-)
2008-10-26 10:30:35 +00:00
Yann E. MORIN"
b0949f6291 Update this sample.
/trunk/samples/arm-unknown-linux-gnueabi/crosstool.config |  106    52    54     0 ++++++++++-----------
 /trunk/samples/arm-unknown-linux-gnueabi/reported.by      |    1     1     0     0 +
 2 files changed, 53 insertions(+), 54 deletions(-)
2008-10-25 16:53:05 +00:00
Yann E. MORIN"
5cadb1c40b Update this sample.
/trunk/samples/arm-unknown-linux-uclibcgnueabi/crosstool.config |   37    20    17     0 ++++++++-------
 /trunk/samples/arm-unknown-linux-uclibcgnueabi/reported.by      |    2     1     1     0
 2 files changed, 21 insertions(+), 18 deletions(-)
2008-10-25 16:17:20 +00:00
Yann E. MORIN"
e912ebc475 Update the sh4 sample.
/trunk/samples/sh4-unknown-linux-gnu/crosstool.config |   27    10    17     0 +++++++++----------------
 1 file changed, 10 insertions(+), 17 deletions(-)
2008-10-24 11:42:48 +00:00
Yann E. MORIN"
c15b9fb7ea Make Super-H finally compile a complete (C-only) toolchain:
- new, un-tested patches
 - an sh4 sample to work on, and to try to reproduce later.

 /trunk/patches/glibc/2.7/250-sh-chop-linux-version.patch         |   49    49     0     0 ++
 /trunk/patches/glibc/2.7/240-sh-lowlevellock-asm.patch           |   56    56     0     0 +++
 /trunk/patches/glibc/2.7/270-sh-fix-procfs.patch                 |   11    11     0     0 +
 /trunk/patches/glibc/2.7/280-sh-fix-kernel-heders-location.patch |   23    23     0     0 +
 /trunk/patches/glibc/2.7/260-sh-syscall-error-path.patch         |   26    26     0     0 +
 /trunk/samples/sh4-unknown-linux-gnu/crosstool.config            |  311   311     0     0 ++++++++++++++
 /trunk/samples/sh4-unknown-linux-gnu/reported.by                 |    3     3     0     0 +
 7 files changed, 479 insertions(+)
2008-10-22 20:50:10 +00:00
Yann E. MORIN"
9cce3e2d7c Remove the ppc-405fp sample, replace with a ppc-405 sample (405fp has an FPU, 405 does not).
Thanks to Julien DUSSER for reporting this.

 /trunk/samples/powerpc-405-linux-gnu/crosstool.config |  343   343     0     0 +++++++++++++++++++++++++
 /trunk/samples/powerpc-405-linux-gnu/reported.by      |    3     3     0     0 +
 2 files changed, 346 insertions(+)
2008-10-22 19:03:08 +00:00
Yann E. MORIN"
3fdcbf0b26 Add a 405fp soft-float PowerPC sample.
/trunk/scripts/saveSample.sh                            |    2     1     1     0
 /trunk/samples/powerpc-405fp-linux-gnu/crosstool.config |  338   338     0     0 +++++++++++++++++++++++
 /trunk/samples/powerpc-405fp-linux-gnu/reported.by      |    3     3     0     0 +
 3 files changed, 342 insertions(+), 1 deletion(-)
2008-10-21 21:31:23 +00:00
Yann E. MORIN"
ee5492e658 Fix saving samples when the uClibc config file is already saved.
/trunk/scripts/saveSample.sh                                    |    4     2     2     0
 /trunk/samples/arm-unknown-linux-uclibcgnueabi/crosstool.config |  140    71    69     0 ++++++++-------
 /trunk/samples/arm-unknown-linux-uclibcgnueabi/reported.by      |    3     3     0     0 +
 3 files changed, 76 insertions(+), 71 deletions(-)
2008-10-17 14:26:53 +00:00
Yann E. MORIN"
4e7d6836a5 Cheesy kconfig stuff:
- silent/quiet/verbose build:
   - ct-ng by default only prints quit messages, such as "CC xxx",
   - if using V=0, nothing is printed,
   - if using V=1, the full command lines are printed,
   - other values are indeterminate,
   - should help in debugging the kconfig stuff;
 - complete kconfig/{,m}conf generation:
   - fully dynamic dependencies on source files,
   - compilation of .c into .o, then linking (instead of direct linking),
   - VPATH usage when not --local;
Typo + a coment moved.

 /trunk/kconfig/kconfig.mk |  140    87    53     0 +++++++++++++++++++++++++++++++++--------------------
 /trunk/tools/tools.mk     |   12     6     6     0 ++--
 /trunk/steps.mk           |    6     3     3     0 +-
 /trunk/samples/samples.mk |   30    15    15     0 +++++-----
 /trunk/ct-ng.in           |   40    28    12     0 +++++++++++----
 5 files changed, 139 insertions(+), 89 deletions(-)
2008-10-15 21:29:56 +00:00
Yann E. MORIN"
c8a68d987b Introduce the notion of a 'sample comment'.
- presence of the sample's reported.by file is now mandatory.
- when saving a sample, reporter name & URL are queried, to avoid operator forget about creating the reported.by file.
- when saving a sample, one can store a few-liner comment.
- when recalling a sample, the reporter name, URL and comment (if present) are printed.
- update the powerpc-e500v2-linux-gnuspe sample to include Nate's comment (from his original mail).
- update all samples that were missing the reported.by file.

 /trunk/scripts/saveSample.sh                           |   46    35    11     0 ++++++++++++++++++------
 /trunk/scripts/showSamples.sh                          |   12     6     6     0 +++---
 /trunk/samples/powerpc-e500v2-linux-gnuspe/reported.by |   15    15     0     0 ++++++++
 /trunk/samples/samples.mk                              |   22    17     5     0 +++++++++--
 4 files changed, 73 insertions(+), 22 deletions(-)
2008-10-14 21:30:27 +00:00
Yann E. MORIN"
637a4b94e8 Use a function to retrieve a sample directory.
/trunk/samples/samples.mk |   19     9    10     0 +++++++++----------
 1 file changed, 9 insertions(+), 10 deletions(-)
2008-10-14 19:40:12 +00:00
Yann E. MORIN"
6abc05c389 Credit Nate CASE for his powerpc e500v2 sample.
/trunk/samples/powerpc-e500v2-linux-gnuspe/reported.by |    2     2     0     0 ++
 1 file changed, 2 insertions(+)
2008-10-14 17:44:38 +00:00
Yann E. MORIN"
6ab2f244ca Sample config for e500v2 toolchain
On Tuesday 14 October 2008 17:05:31 Nate Case wrote:
> This is a sample config file for Freescale e500v2 processors (e.g.,
> MPC8548, MPC8572).  It uses eglibc (for e500/SPE patches) and a recent
> gcc (4.3.1, for e500v2 DPFP support) and will generate appropriate
> dual-precision floating point instructions by default.
>
> Note: If building a Linux kernel with this toolchain, you will want to
> make sure -mno-spe AND -mspe=no are passed to gcc to prevent SPE
> ABI/instructions from getting into the kernel (which is currently
> unsupported).  At this time, the kernel build system only passes
> -mno-spe by default (this should be fixed soon hopefully).
>
> A binutils snapshot is used to fix a bug present in 2.18 preventing
> U-Boot from being compiled (CodeSourcery issue #2297: internal.h
> (ELF_IS_SECTION_IN_SEGMENT): Adjust to cope with segments at the end of
> memory).

Obsoletes the powerpc-unknown-linux-gnuspe sample, so remove it.

 /trunk/samples/powerpc-e500v2-linux-gnuspe/crosstool.config |  307   307     0     0 +++++++++++++++++++
 1 file changed, 307 insertions(+)
2008-10-14 17:42:10 +00:00
Yann E. MORIN"
c7f3478a10 Update the PowerPC+uClibc sample.
/trunk/samples/powerpc-unknown-linux-uclibc/crosstool.config |  150    87    63     0 ++++++++++--------
 1 file changed, 87 insertions(+), 63 deletions(-)
2008-09-30 18:19:48 +00:00
Yann E. MORIN"
fa3f4b4f05 The IA64 sample builds again! :-)
/trunk/samples/ia64-unknown-linux-gnu/crosstool.config |  140    80    60     0 ++++++++++++++----------
 1 file changed, 80 insertions(+), 60 deletions(-)
2008-09-29 18:16:03 +00:00
Yann E. MORIN"
7052f2834c Update the Alpha sample.
/trunk/samples/alphaev56-unknown-linux-gnu/crosstool.config |  137    74    63     0 ++++++++++---------
 1 file changed, 74 insertions(+), 63 deletions(-)
2008-09-29 17:15:13 +00:00
Yann E. MORIN"
5fce423912 This PowerPC sample has been updated to use gcc-4.3.2.
/trunk/samples/powerpc-unknown-linux-gnuspe/crosstool.config |   10     6     4     0 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)
2008-09-28 21:30:16 +00:00
Yann E. MORIN"
3b236feecd The first sample to use gcc-4.3.2.
/trunk/samples/arm-unknown-linux-gnueabi/crosstool.config |    9     5     4     0 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)
2008-09-28 18:08:08 +00:00
Yann E. MORIN"
92eab97dcf Update this ARM sample.
/trunk/samples/arm-unknown-linux-gnueabi/crosstool.config |  131    70    61     0 +++++++++++----------
 1 file changed, 70 insertions(+), 61 deletions(-)
2008-09-23 17:37:12 +00:00
Yann E. MORIN"
d5dd879b63 Update the PowerPC SPE samle:
- don't DEBUG crosstool-NG and don't save intermediate steps
 - use released version of binutils rather than snapshots.

 /trunk/samples/powerpc-unknown-linux-gnuspe/crosstool.config |   17     8     9     0 ++++++++---------
 1 file changed, 8 insertions(+), 9 deletions(-)
2008-09-23 07:28:20 +00:00
Yann E. MORIN"
2b152b1839 Udate the PowerPC SPE sample.
/trunk/samples/powerpc-unknown-linux-gnuspe/crosstool.config |  153    81    72     0 ++++++++++--------
 1 file changed, 81 insertions(+), 72 deletions(-)
2008-09-23 05:20:08 +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"
f85219814d Update this sample without EXPERIMENTAL features as much as possible.
/trunk/samples/armeb-unknown-linux-uclibcgnueabi/crosstool.config |   12     6     6     0 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)
2008-09-05 11:59:35 +00:00
Yann E. MORIN"
bcc1485a6c Update the PPC sample to not use EXPERIMENTAL features.
/trunk/samples/powerpc-unknown-linux-gnu/crosstool.config |   52    28    24     0 +++++++++++----------
 1 file changed, 28 insertions(+), 24 deletions(-)
2008-09-05 11:11:29 +00:00
Yann E. MORIN"
c6641de2bf Mark the IA64 sample as being broken (might be because it uses an old gcc, that triggers a incorrect code-path in scripts/build/cc_gcc.sh). 2008-09-05 10:43:28 +00:00
Yann E. MORIN"
1be967a15c Update the teo MIPS sample to use as less EXPERIMENTAL features as possible.
/trunk/samples/mips-unknown-linux-uclibc/crosstool.config |   39    24    15     0 ++++++++++------
 /trunk/samples/mipsel-unknown-linux-gnu/crosstool.config  |   51    28    23     0 ++++++++++++---------
 2 files changed, 52 insertions(+), 38 deletions(-)
2008-09-05 10:21:23 +00:00
Yann E. MORIN"
c202ddac61 Update the i686 sample to not use EXPERIMENTAL features.
/trunk/samples/i686-nptl-linux-gnu/crosstool.config |   51    28    23     0 +++++++++++++++------------
 1 file changed, 28 insertions(+), 23 deletions(-)
2008-09-04 18:45:35 +00:00
Yann E. MORIN"
15ff521e40 Update the latest two RM samples.
/trunk/samples/armeb-unknown-linux-uclibc/crosstool.config        |   40    25    15     0 ++++++++-----
 /trunk/samples/armeb-unknown-linux-uclibcgnueabi/crosstool.config |   36    22    14     0 +++++++-----
 2 files changed, 47 insertions(+), 29 deletions(-)
2008-09-04 17:02:05 +00:00
Yann E. MORIN"
bda3621205 Update the i586-uclibc sample.
/trunk/samples/i586-geode-linux-uclibc/crosstool.config |   39    24    15     0 ++++++++++++++---------
 1 file changed, 24 insertions(+), 15 deletions(-)
2008-09-04 16:56:53 +00:00
Yann E. MORIN"
f33a476ba0 The Alpha sample does not use EXPERIMENTAL features.
/trunk/samples/alphaev56-unknown-linux-gnu/crosstool.config |   53    29    24     0 ++++++++++---------
 1 file changed, 29 insertions(+), 24 deletions(-)
2008-09-04 16:18:16 +00:00
Yann E. MORIN"
e7adc0a221 Update some samples to use only non-EXPERIMENTAL features where possible (uClibcis still a snashot, though).
/trunk/samples/arm-unknown-linux-gnueabi/crosstool.config       |   60    32    28     0 ++++++++-------
 /trunk/samples/arm-unknown-linux-uclibcgnueabi/crosstool.config |   36    19    17     0 +++++----
 /trunk/samples/armeb-unknown-linux-gnu/crosstool.config         |   54    30    24     0 ++++++++------
 /trunk/samples/arm-unknown-linux-uclibc/crosstool.config        |   46    28    18     0 +++++++-----
 4 files changed, 109 insertions(+), 87 deletions(-)
2008-09-04 15:43:08 +00:00
Yann E. MORIN"
a854ef6eb5 Add new ARMeb EABI sample.
/trunk/samples/armeb-unknown-linux-gnueabi/crosstool.config |  346   346     0     0 +++++++++++++++++++++++++++
 1 file changed, 346 insertions(+)
2008-09-04 07:42:12 +00:00
Yann E. MORIN"
e53b84e5e6 Add a new ARM sample.
/trunk/samples/arm-unknown-linux-gnu/crosstool.config |  347   347     0     0 +++++++++++++++++++++++++++++++++
 /trunk/samples/arm-unknown-linux-gnu/reported.by      |    2     2     0     0 +
 2 files changed, 349 insertions(+)
2008-09-02 21:45:25 +00:00