features/Makefile: Make 'make cfiles' default to generating all C files
authorPedro Alves <palves@redhat.com>
Wed, 1 Oct 2014 10:18:22 +0000 (11:18 +0100)
committerPedro Alves <palves@redhat.com>
Wed, 1 Oct 2014 11:08:40 +0000 (12:08 +0100)
commitdb74e4ba014f9ee96e8c8587534811c91c4d8ebb
tree1abefa77bb59d5ca09dc4c5c22124921db16b9f5
parentd63f2f8402c38d106b8508f324da6a5277471a2d
features/Makefile: Make 'make cfiles' default to generating all C files

This makes it easier to rebuild all GDB's generated target description
C files.

It also clarifies the comments a bit.  One might think we need a GDB
configured for the particular arquitecture (--target=foo).  But a
build that includes support for the target description is sufficient.
(GDB rejects target descriptions that explicitly specify the
architecture, with an <architecture> element, if the architecture is
unknown.)

Tested that "make clean-cfiles" deletes all .c files under
src/gdb/features/, and that "make cfiles" generates them all without
error, and that diffing the newly generated C files against master
comes out an empty diff.

gdb/
2014-10-01  Pedro Alves  <palves@redhat.com>

* features/Makefile: Update comments.
(XMLTOC): List all xml files we build C files from.
(clean-cfiles): New rule.
gdb/ChangeLog
gdb/features/Makefile