> -----Original Message-----
> From: Anton Johansson <[email protected]>
> Sent: Friday, December 17, 2021 2:01 AM
> To: [email protected]
> Cc: [email protected]; Taylor Simpson <[email protected]>; Brian Cain
> <[email protected]>; [email protected]; [email protected];
> [email protected]
> Subject: [PATCH v7 07/13] target/hexagon: prepare input for the idef-parser
>
> From: Alessandro Di Federico <[email protected]>
>
> Introduce infrastructure necessary to produce a file suitable for being parsed
> by the idef-parser.
>
> Signed-off-by: Alessandro Di Federico <[email protected]>
> Signed-off-by: Anton Johansson <[email protected]>
> 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.