I noticed that contrib/config-list.mk was missing from the new-port 
checklist in doc/sourcebuild.texi.  I've applied this patch to add it; 
target triplets covering all config.gcc stanzas for a new port should be 
added to config-list.mk so the port gets covered in all-targets build 
tests (and, of course, it should be tested that a new port does actually 
pass "make all-gcc" with --enable-werror-always using a current native 
trunk compiler to build it - ideally this should be tested for both 32-bit 
and 64-bit hosts).

Index: ChangeLog
===================================================================
--- ChangeLog   (revision 173620)
+++ ChangeLog   (working copy)
@@ -1,5 +1,9 @@
 2011-05-10  Joseph Myers  <jos...@codesourcery.com>
 
+       * doc/sourcebuild.texi (Back End): Mention contrib/config-list.mk.
+
+2011-05-10  Joseph Myers  <jos...@codesourcery.com>
+
        * config/rs6000/genopt.sh, config/rs6000/rs6000-cpus.def: New
        files.
        * config/rs6000/rs6000-tables.opt: New file (generated).
Index: doc/sourcebuild.texi
===================================================================
--- doc/sourcebuild.texi        (revision 173620)
+++ doc/sourcebuild.texi        (working copy)
@@ -834,6 +834,9 @@
 @file{MAINTAINERS}.  Some existing architectures may be unmaintained,
 but it would be unusual to add support for a target that does not have
 a maintainer when support is added.
+@item
+Target triplets covering all @file{config.gcc} stanzas for the target,
+in the list in @file{contrib/config-list.mk}.
 @end itemize
 
 @node Testsuites

-- 
Joseph S. Myers
jos...@codesourcery.com

Reply via email to