> -----Original Message-----
> From: Anton Johansson <a...@rev.ng>
> Sent: Friday, December 17, 2021 2:01 AM
> To: qemu-devel@nongnu.org
> Cc: a...@rev.ng; Taylor Simpson <tsimp...@quicinc.com>; Brian Cain
> <bc...@quicinc.com>; bab...@rev.ng; ni...@rev.ng;
> richard.hender...@linaro.org
> Subject: [PATCH v7 07/13] target/hexagon: prepare input for the idef-parser
>
> From: Alessandro Di Federico <a...@rev.ng>
>
> Introduce infrastructure necessary to produce a file suitable for being parsed
> by the idef-parser.
>
> Signed-off-by: Alessandro Di Federico <a...@rev.ng>
> Signed-off-by: Anton Johansson <a...@rev.ng>
> diff --git a/target/hexagon/meson.build b/target/hexagon/meson.build
> index b61243103f..236c3a3ffa 100644
> --- a/target/hexagon/meson.build
> +++ b/target/hexagon/meson.build
> @@ -179,4 +180,19 @@ hexagon_ss.add(files(
> +
> +idef_parser_input_generated_prep = custom_target(
> + 'idef_parser_input.preprocessed.h.inc',
> + output: 'idef_parser_input.preprocessed.h.inc',
> + input: idef_parser_input_generated,
> + command: [idef_parser_dir / 'prepare', '@INPUT@', '-I' +
> +idef_parser_dir, '-o', '@OUTPUT@'],
This depends on macros.inc, but that is not indicated anywhere. So, a change
to that file won't cause this file to be regenerated.