diff options
author | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2008-10-14 21:30:27 (GMT) |
---|---|---|
committer | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2008-10-14 21:30:27 (GMT) |
commit | c8a68d987b4332bc57e8fe9e75ad7d5d4297d880 (patch) | |
tree | b438da88441655545ca568a3ff2a03416ed5753c /samples | |
parent | cb5b60fc07784346c527e93ceff5d656bef20712 (diff) |
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(-)
Diffstat (limited to 'samples')
-rw-r--r-- | samples/arm-unknown-eabi/reported.by | 0 | ||||
-rw-r--r-- | samples/arm-unknown-elf/reported.by | 0 | ||||
-rw-r--r-- | samples/arm-unknown-linux-uclibc/reported.by | 0 | ||||
-rw-r--r-- | samples/arm-unknown-linux-uclibcgnueabi/reported.by | 0 | ||||
-rw-r--r-- | samples/armeb-unknown-linux-gnu/reported.by | 0 | ||||
-rw-r--r-- | samples/armeb-unknown-linux-gnueabi/reported.by | 0 | ||||
-rw-r--r-- | samples/armeb-unknown-linux-uclibc/reported.by | 0 | ||||
-rw-r--r-- | samples/armeb-unknown-linux-uclibcgnueabi/reported.by | 0 | ||||
-rw-r--r-- | samples/i586-geode-linux-uclibc/reported.by | 0 | ||||
-rw-r--r-- | samples/i686-nptl-linux-gnu/reported.by | 0 | ||||
-rw-r--r-- | samples/ia64-unknown-linux-gnu/reported.by | 0 | ||||
-rw-r--r-- | samples/mips-unknown-linux-uclibc/reported.by | 0 | ||||
-rw-r--r-- | samples/powerpc-e500v2-linux-gnuspe/reported.by | 15 | ||||
-rw-r--r-- | samples/samples.mk | 22 | ||||
-rw-r--r-- | samples/x86_64-unknown-linux-uclibc/reported.by | 0 |
15 files changed, 32 insertions, 5 deletions
diff --git a/samples/arm-unknown-eabi/reported.by b/samples/arm-unknown-eabi/reported.by new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/samples/arm-unknown-eabi/reported.by diff --git a/samples/arm-unknown-elf/reported.by b/samples/arm-unknown-elf/reported.by new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/samples/arm-unknown-elf/reported.by diff --git a/samples/arm-unknown-linux-uclibc/reported.by b/samples/arm-unknown-linux-uclibc/reported.by new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/samples/arm-unknown-linux-uclibc/reported.by diff --git a/samples/arm-unknown-linux-uclibcgnueabi/reported.by b/samples/arm-unknown-linux-uclibcgnueabi/reported.by new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/samples/arm-unknown-linux-uclibcgnueabi/reported.by diff --git a/samples/armeb-unknown-linux-gnu/reported.by b/samples/armeb-unknown-linux-gnu/reported.by new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/samples/armeb-unknown-linux-gnu/reported.by diff --git a/samples/armeb-unknown-linux-gnueabi/reported.by b/samples/armeb-unknown-linux-gnueabi/reported.by new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/samples/armeb-unknown-linux-gnueabi/reported.by diff --git a/samples/armeb-unknown-linux-uclibc/reported.by b/samples/armeb-unknown-linux-uclibc/reported.by new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/samples/armeb-unknown-linux-uclibc/reported.by diff --git a/samples/armeb-unknown-linux-uclibcgnueabi/reported.by b/samples/armeb-unknown-linux-uclibcgnueabi/reported.by new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/samples/armeb-unknown-linux-uclibcgnueabi/reported.by diff --git a/samples/i586-geode-linux-uclibc/reported.by b/samples/i586-geode-linux-uclibc/reported.by new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/samples/i586-geode-linux-uclibc/reported.by diff --git a/samples/i686-nptl-linux-gnu/reported.by b/samples/i686-nptl-linux-gnu/reported.by new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/samples/i686-nptl-linux-gnu/reported.by diff --git a/samples/ia64-unknown-linux-gnu/reported.by b/samples/ia64-unknown-linux-gnu/reported.by new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/samples/ia64-unknown-linux-gnu/reported.by diff --git a/samples/mips-unknown-linux-uclibc/reported.by b/samples/mips-unknown-linux-uclibc/reported.by new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/samples/mips-unknown-linux-uclibc/reported.by diff --git a/samples/powerpc-e500v2-linux-gnuspe/reported.by b/samples/powerpc-e500v2-linux-gnuspe/reported.by index acce50e..ba468c0 100644 --- a/samples/powerpc-e500v2-linux-gnuspe/reported.by +++ b/samples/powerpc-e500v2-linux-gnuspe/reported.by @@ -1,2 +1,17 @@ reporter_name="Nate CASE" reporter_url="http://sourceware.org/ml/crossgcc/2008-10/msg00016.html" +reporter_comment="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)." diff --git a/samples/samples.mk b/samples/samples.mk index fc0581f..5ea7276 100644 --- a/samples/samples.mk +++ b/samples/samples.mk @@ -35,18 +35,30 @@ PHONY += $(CT_SAMPLES) $(CT_SAMPLES): @cp $(call sample_dir,$@)/crosstool.config .config @$(MAKE) -rf $(CT_NG) oldconfig + @echo + @echo '***********************************************************' + @echo + @( . $(call sample_dir,$@)/reported.by; \ + echo "Initially reported by: $${reporter_name:-Yann E. MORIN}"; \ + echo "URL: $${reporter_url:-http://ymorin.is-a-geek.org/}"; \ + if [ -n "$${reporter_comment}" ]; then \ + echo ; \ + echo "Comment:"; \ + printf "$${reporter_comment}\n"; \ + fi; \ + echo ; \ + echo '***********************************************************'; \ + ) @if grep -E '^CT_EXPERIMENTAL=y$$' .config >/dev/null 2>&1; then \ - echo ''; \ - echo '***********************************************************'; \ - echo ''; \ + echo ; \ echo 'WARNING! This sample may enable experimental features.'; \ echo ' Please be sure to review the configuration prior'; \ echo ' to building and using your toolchain!'; \ echo 'Now, you have been warned!'; \ - echo ''; \ + echo ; \ echo '***********************************************************'; \ - echo ''; \ fi + @echo @echo 'Now configured for "$@"' # The 'sample_dir' function prints the directory in which the sample is, diff --git a/samples/x86_64-unknown-linux-uclibc/reported.by b/samples/x86_64-unknown-linux-uclibc/reported.by new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/samples/x86_64-unknown-linux-uclibc/reported.by |