Makefile: Clean up auto-generated Kbuild and Config.in files
Previously these auto-generated files were left behind after a 'make
mrproper' was ran.
Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
diff --git a/Makefile b/Makefile
index da8f7d7..14f5cd1 100644
--- a/Makefile
+++ b/Makefile
@@ -1001,6 +1001,8 @@
mrproper: clean archmrproper $(mrproper-dirs)
$(call cmd,rmdirs)
$(call cmd,rmfiles)
+ @find -name Config.src | sed 's/.src$/.in/' | xargs -r rm -f
+ @find -name Kbuild.src | sed 's/.src$//' | xargs -r rm -f
# distclean
#