On 11/4/25 17:09, Peter Maydell wrote:
Currently we have a single extended regular expression defining
files that clean-includes should ignore. This is now very long
and awkward to read and edit.
Switch to having a list of newline-separated EREs that we write
to a file for grep's -f option, so we can express them more
legibly in the shell script. We allow for comments in the
regex list, which lets us document why we have put the
exclusions in.
Signed-off-by: Peter Maydell<[email protected]>
---
scripts/clean-includes | 28 ++++++++++++++++++++++------
1 file changed, 22 insertions(+), 6 deletions(-)
Reviewed-by: Richard Henderson <[email protected]>
r~