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>
This commit is contained in:
Peter Tyser 2010-05-16 02:48:21 +02:00 committed by Denys Vlasenko
parent 8806d64acd
commit 0bb2980605

View File

@ -1001,6 +1001,8 @@ $(mrproper-dirs):
mrproper: clean archmrproper $(mrproper-dirs) mrproper: clean archmrproper $(mrproper-dirs)
$(call cmd,rmdirs) $(call cmd,rmdirs)
$(call cmd,rmfiles) $(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 # distclean
# #