Commit Graph

188 Commits

Author SHA1 Message Date
Yann E. MORIN"
84ba331620 Typo.
/trunk/samples/i686-nptl-linux-gnu/reported.by |    2     1     1     0 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
2008-10-30 13:14:39 +00:00
Yann E. MORIN"
5d3a887d98 Update this x86_64 sample.
/trunk/samples/x86_64-unknown-linux-gnu/crosstool.config |  166    93    73     0 ++++++++++++----------
 /trunk/samples/x86_64-unknown-linux-gnu/reported.by      |    1     1     0     0 +
 2 files changed, 94 insertions(+), 73 deletions(-)
2008-10-30 09:42:07 +00:00
Yann E. MORIN"
645615a804 Update this ARM sample.
/trunk/samples/armeb-unknown-linux-uclibc/crosstool.config |  150    77    73     0 ++++++++++----------
 /trunk/samples/armeb-unknown-linux-uclibc/reported.by      |    3     3     0     0 +
 2 files changed, 80 insertions(+), 73 deletions(-)
2008-10-30 06:49:06 +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"
8cda25336c There is no EXPERIMENTAL feature in this powerpc sample.
/trunk/samples/powerpc-unknown_nofpu-linux-gnu/crosstool.config |   11     3     8     0 +++--------
 1 file changed, 3 insertions(+), 8 deletions(-)
2008-10-29 13:40:17 +00:00
Yann E. MORIN"
e17bd17184 Update this w86_64 sample.
/trunk/samples/x86_64-unknown-linux-uclibc/crosstool.config |  155    84    71     0 ++++++++++---------
 /trunk/samples/x86_64-unknown-linux-uclibc/reported.by      |    3     3     0     0 +
 2 files changed, 87 insertions(+), 71 deletions(-)
2008-10-29 13:35:44 +00:00
Yann E. MORIN"
fa4c744742 Update this powerpc sample.
/trunk/samples/powerpc-unknown_nofpu-linux-gnu/crosstool.config |    6     3     3     0 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
2008-10-29 12:19:34 +00:00
Yann E. MORIN"
04affa84d0 Update this powerpc sample.
/trunk/samples/powerpc-unknown_nofpu-linux-gnu/crosstool.config |  166    91    75     0 ++++++++-------
 /trunk/samples/powerpc-unknown_nofpu-linux-gnu/reported.by      |    1     1     0     0 +
 2 files changed, 92 insertions(+), 75 deletions(-)
2008-10-29 10:44:20 +00:00
Yann E. MORIN"
9c2b2a91f7 Update this powerpc sample.
/trunk/samples/powerpc-unknown-linux-uclibc/crosstool.config |  104    50    54     0 +++++++++---------
 /trunk/samples/powerpc-unknown-linux-uclibc/reported.by      |    2     2     0     0 +
 2 files changed, 52 insertions(+), 54 deletions(-)
2008-10-29 09:42:52 +00:00
Yann E. MORIN"
e54606d1e5 Update this powerpc sample.
/trunk/samples/powerpc-unknown-linux-gnu/crosstool.config |  161    84    77     0 +++++++++++----------
 /trunk/samples/powerpc-unknown-linux-gnu/reported.by      |    1     1     0     0 +
 2 files changed, 85 insertions(+), 77 deletions(-)
2008-10-28 15:07:28 +00:00
Yann E. MORIN"
dfbe870dbe Update this powerpc sample.
/trunk/samples/powerpc-e500v2-linux-gnuspe/crosstool.config |   20    12     8     0 +++++++++++--------
 1 file changed, 12 insertions(+), 8 deletions(-)
2008-10-28 14:06:51 +00:00
Yann E. MORIN"
34e7f335fc Update this MIPS sample.
/trunk/samples/mipsel-unknown-linux-gnu/crosstool.config |  160    83    77     0 +++++++++++-----------
 /trunk/samples/mipsel-unknown-linux-gnu/reported.by      |    1     1     0     0 +
 2 files changed, 84 insertions(+), 77 deletions(-)
2008-10-27 19:12:40 +00:00
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