diff options
| author | Thomas Weißschuh <[email protected]> | 2023-01-18 05:05:34 +0000 |
|---|---|---|
| committer | Masahiro Yamada <[email protected]> | 2023-01-22 23:43:34 +0900 |
| commit | 9c73bcfaa4308c2f2c4871110deb1bc089931942 (patch) | |
| tree | 60c1898a79eaaa8ab8a055dd60521c38bf94be5e | |
| parent | 2f0e2a39bbab292a150dee658d9257c1d36f99e8 (diff) | |
kbuild: also delete temporary directories
Reuse the standard naming schema for temporary files also for temporary
directories.
Such a directory will be used by the kheaders generation.
Signed-off-by: Thomas Weißschuh <[email protected]>
Reviewed-by: Nicolas Schier <[email protected]>
Tested-by: Nicolas Schier <[email protected]>
Signed-off-by: Masahiro Yamada <[email protected]>
| -rw-r--r-- | Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -2038,11 +2038,12 @@ clean: $(clean-dirs) -o -name '*.lex.c' -o -name '*.tab.[ch]' \ -o -name '*.asn1.[ch]' \ -o -name '*.symtypes' -o -name 'modules.order' \ - -o -name '.tmp_*' \ -o -name '*.c.[012]*.*' \ -o -name '*.ll' \ -o -name '*.gcno' \ - -o -name '*.*.symversions' \) -type f -print | xargs rm -f + -o -name '*.*.symversions' \) -type f -print \ + -o -name '.tmp_*' -print \ + | xargs rm -rf # Generate tags for editors # --------------------------------------------------------------------------- |