Commit 917b8a01 authored by Sam Ravnborg's avatar Sam Ravnborg

[PATCH] mrproper: Moved knowledge of files in scripts to scripts/Makefile

No reason to keep this knowledge in a central place when it can be avoided
parent ead1d4e1
......@@ -631,12 +631,9 @@ MRPROPER_FILES += \
sound/oss/pndspini.c \
drivers/atm/fore200e_*_fw.c drivers/atm/.fore200e_*.fw \
.version .config* config.in config.old \
scripts/tkparse scripts/kconfig.tk scripts/kconfig.tmp \
scripts/lxdialog/*.o scripts/lxdialog/lxdialog \
.menuconfig.log \
include/asm \
.hdepend scripts/split-include scripts/docproc \
scripts/fixdep $(TOPDIR)/include/linux/modversions.h \
.hdepend $(TOPDIR)/include/linux/modversions.h \
tags TAGS kernel.spec \
.tmpversion
......@@ -666,6 +663,7 @@ mrproper: clean archmrproper
-type f -print | xargs rm -f
@rm -f $(MRPROPER_FILES)
@rm -rf $(MRPROPER_DIRS)
@$(MAKE) -C scripts mrproper
@$(MAKE) -f Documentation/DocBook/Makefile mrproper
distclean: mrproper
......
......@@ -55,3 +55,9 @@ lxdialog:
$(obj)/split-include $(obj)/docproc $(addprefix $(obj)/,$(tkparse-objs)) \
$(obj)/conmakehash lxdialog: $(obj)/fixdep
mrproper:
@echo 'Making mrproper (scripts)'
@rm -f $(tkparse-objs) $(obj)/kconfig.tk
@rm -f core $(host-progs)
@$(MAKE) -C lxdialog mrproper
......@@ -39,5 +39,5 @@ ncurses:
exit 1 ;\
fi
clean:
rm -f core *.o *~ lxdialog
mrproper:
@rm -f core $(host-progs) $(lxdialog-objs) ncurses
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment