target/hexagon: Rename macros.inc -> macros.h.inc
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Tue, 10 Sep 2024 11:28:32 +0000 (13:28 +0200)
committerMichael Tokarev <mjt@tls.msk.ru>
Fri, 20 Sep 2024 07:07:04 +0000 (10:07 +0300)
commitb8daa5fc8b18e05e350e5ad48eb9009afec8b373
tree5f5027eb2f73d0bbd4b3269056e79cf59b016593
parent0addb05a8c3fc48cd7fa901dfaaebe41fa38d696
target/hexagon: Rename macros.inc -> macros.h.inc

Since commits 139c1837db ("meson: rename included C source files
to .c.inc") and 0979ed017f ("meson: rename .inc.h files to .h.inc"),
EMU standard procedure for included header files is to use *.h.inc.

Besides, since commit 6a0057aa22 ("docs/devel: make a statement
about includes") this is documented in the Coding Style:

  If you do use template header files they should be named with
  the ``.c.inc`` or ``.h.inc`` suffix to make it clear they are
  being included for expansion.

Therefore rename "macros.inc" as "macros.h.inc".

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Brian Cain <bcain@quicinc.com>
Reviewed-by: Anton Johansson <anjo@rev.ng>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
target/hexagon/gen_idef_parser_funcs.py
target/hexagon/idef-parser/README.rst
target/hexagon/idef-parser/macros.h.inc [new file with mode: 0644]
target/hexagon/idef-parser/macros.inc [deleted file]
target/hexagon/meson.build