Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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 <linux@weissschuh.net>
Reviewed-by: Nicolas Schier <nicolas@fjasle.eu>
Tested-by: Nicolas Schier <nicolas@fjasle.eu>
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>

authored by

Thomas Weißschuh and committed by
Masahiro Yamada
9c73bcfa 2f0e2a39

+3 -2
+3 -2
Makefile
··· 2038 2038 -o -name '*.lex.c' -o -name '*.tab.[ch]' \ 2039 2039 -o -name '*.asn1.[ch]' \ 2040 2040 -o -name '*.symtypes' -o -name 'modules.order' \ 2041 - -o -name '.tmp_*' \ 2042 2041 -o -name '*.c.[012]*.*' \ 2043 2042 -o -name '*.ll' \ 2044 2043 -o -name '*.gcno' \ 2045 - -o -name '*.*.symversions' \) -type f -print | xargs rm -f 2044 + -o -name '*.*.symversions' \) -type f -print \ 2045 + -o -name '.tmp_*' -print \ 2046 + | xargs rm -rf 2046 2047 2047 2048 # Generate tags for editors 2048 2049 # ---------------------------------------------------------------------------