summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/Makefile6
-rw-r--r--scripts/lxdialog/Makefile4
2 files changed, 8 insertions, 2 deletions
diff --git a/scripts/Makefile b/scripts/Makefile
index a18193a4e838..7134cf683b24 100644
--- a/scripts/Makefile
+++ b/scripts/Makefile
@@ -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
+
diff --git a/scripts/lxdialog/Makefile b/scripts/lxdialog/Makefile
index 1ab9518b1656..153c8b99ffdd 100644
--- a/scripts/lxdialog/Makefile
+++ b/scripts/lxdialog/Makefile
@@ -39,5 +39,5 @@ ncurses:
exit 1 ;\
fi
-clean:
- rm -f core *.o *~ lxdialog
+mrproper:
+ @rm -f core $(host-progs) $(lxdialog-objs) ncurses