summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/Makefile9
-rw-r--r--scripts/lxdialog/Makefile3
2 files changed, 4 insertions, 8 deletions
diff --git a/scripts/Makefile b/scripts/Makefile
index 0921e79c6c79..6032efe0f0aa 100644
--- a/scripts/Makefile
+++ b/scripts/Makefile
@@ -11,6 +11,8 @@
EXTRA_TARGETS := fixdep split-include docproc conmakehash
+subdir- := lxdialog
+
# Yikes. We need to build this stuff here even if the user only wants
# modules.
@@ -24,6 +26,8 @@ KBUILD_BUILTIN := 1
host-progs := fixdep split-include conmakehash docproc tkparse
tkparse-objs := tkparse.o tkcond.o tkgen.o
+clean-files := kconfig.tk
+
include $(TOPDIR)/Rules.make
# In reality kconfig.tk should depend on all Config.in files,
@@ -56,8 +60,3 @@ lxdialog:
# fixdep is needed to compile other host programs
$(obj)/split-include $(obj)/docproc $(addprefix $(obj)/,$(tkparse-objs)) \
$(obj)/conmakehash lxdialog: $(obj)/fixdep
-
-mrproper:
- @rm -f $(host-progs) $(addprefix $(obj)/,$(tkparse-objs) kconfig.tk core)
- @$(call descend,scripts/lxdialog,mrproper)
-
diff --git a/scripts/lxdialog/Makefile b/scripts/lxdialog/Makefile
index da5e5a1ab32d..252c5bf86cd1 100644
--- a/scripts/lxdialog/Makefile
+++ b/scripts/lxdialog/Makefile
@@ -42,6 +42,3 @@ ncurses:
echo ;\
exit 1 ;\
fi
-
-mrproper:
- @rm -f $(host-progs) $(addprefix $(obj)/,$(lxdialog-objs))