diff options
| author | Kai Germaschewski <kai@tp1.ruhr-uni-bochum.de> | 2002-10-13 07:56:24 -0500 |
|---|---|---|
| committer | Kai Germaschewski <kai@tp1.ruhr-uni-bochum.de> | 2002-10-13 07:56:24 -0500 |
| commit | c3ef0e8389e22306f6ce56a2b7c234da7d7bafaf (patch) | |
| tree | 67e0d2f5d504b5166b80b8ab6ea38a3eabfd2a6f /scripts | |
| parent | 20d4607ff7fe4d1a5bc66883548f258d5835917e (diff) | |
kbuild: More cleaning work...
o Having .config depend on all Config.in's via a find is
annoying, since it causes a long break before "make" actually
gets going. Comment it out for now.
o Fix some "make -j" issues with generating module versions.
o Unify "make distclean" and "make mrproper", they were doing nearly the
same thing anyway.
o Use the new "make clean" infrastructure for arch/i386/boot/ and
scripts/
o Reorganize the "make clean" stuff a little, do the
find -name '*.[oas]' | xargs rm -f from the top-level Makefile again
and only use the per-subdir rule for special cases like generated files,
host-progs and the like.
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/Makefile | 9 | ||||
| -rw-r--r-- | scripts/lxdialog/Makefile | 3 |
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)) |
