kbuild: remove *.su files generated by -fstack-usage
authorRasmus Villemoes <linux@rasmusvillemoes.dk>
Thu, 20 Aug 2015 09:53:29 +0000 (11:53 +0200)
committerMichal Marek <mmarek@suse.com>
Fri, 28 Aug 2015 15:04:40 +0000 (17:04 +0200)
Make sure 'make clean' removes *.su files generated by the gcc option
-fstack-usage.

Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk>
Signed-off-by: Michal Marek <mmarek@suse.com>
Makefile

index 7ff1239f9cd2cbdd146092f342df412cad37d285..f618530a38701bb4c12eaff3783dab9da0f1cce0 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1430,6 +1430,7 @@ clean: $(clean-dirs)
                \( -name '*.[oas]' -o -name '*.ko' -o -name '.*.cmd' \
                -o -name '*.ko.*' \
                -o -name '*.dwo'  \
+               -o -name '*.su'  \
                -o -name '.*.d' -o -name '.*.tmp' -o -name '*.mod.c' \
                -o -name '*.symtypes' -o -name 'modules.order' \
                -o -name modules.builtin -o -name '.tmp_*.o.*' \