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(-)
1 reporter_name="Nate CASE"
2 reporter_url="http://sourceware.org/ml/crossgcc/2008-10/msg00016.html"
3 reporter_comment="This is a sample config file for Freescale e500v2 processors (e.g.,
4 MPC8548, MPC8572). It uses eglibc (for e500/SPE patches) and a recent
5 gcc (4.3.1, for e500v2 DPFP support) and will generate appropriate
6 dual-precision floating point instructions by default.
8 Note: If building a Linux kernel with this toolchain, you will want to
9 make sure -mno-spe AND -mspe=no are passed to gcc to prevent SPE
10 ABI/instructions from getting into the kernel (which is currently
11 unsupported). At this time, the kernel build system only passes
12 -mno-spe by default (this should be fixed soon hopefully).
14 A binutils snapshot is used to fix a bug present in 2.18 preventing
15 U-Boot from being compiled (CodeSourcery issue #2297: internal.h
16 (ELF_IS_SECTION_IN_SEGMENT): Adjust to cope with segments at the end of