diff options
| author | Sam Ravnborg <sam@mars.ravnborg.org> | 2002-11-22 23:15:42 +0100 |
|---|---|---|
| committer | Sam Ravnborg <sam@mars.ravnborg.org> | 2002-11-22 23:15:42 +0100 |
| commit | 80fee71cbb24e2e0f26b284e57d703dd98993133 (patch) | |
| tree | 70147451e7690ccf89b6d0d862c71da49bc6eb85 /scripts/Makefile | |
| parent | 996fdfdc65a5adfb6442f899c3a9eeba39c48361 (diff) | |
kbuild: Introduced build-targets
build-targets is used to list targets that is always built.
This allowed misuse of EXTRA_TARGETS to be deleted.
built-in.o is now only created for directories defining a obj-* variable,
avoiding this for scripts and lxdialog
One Makefile needed a dummy obj- statement
Diffstat (limited to 'scripts/Makefile')
| -rw-r--r-- | scripts/Makefile | 27 |
1 files changed, 4 insertions, 23 deletions
diff --git a/scripts/Makefile b/scripts/Makefile index 5ecc03a43242..25979b0efdb3 100644 --- a/scripts/Makefile +++ b/scripts/Makefile @@ -8,31 +8,12 @@ # docproc: Preprocess .tmpl file in order to generate .sgml documentation # conmakehash: Create arrays for initializing the kernel console tables -EXTRA_TARGETS := fixdep split-include docproc conmakehash +host-progs := fixdep split-include conmakehash docproc +build-targets := $(host-progs) +# Let clean descend into subdirs subdir- := lxdialog kconfig -# Yikes. We need to build this stuff here even if the user only wants -# modules. - -KBUILD_BUILTIN := 1 - -# The following temporary rule will make sure that people's -# trees get updated to the right permissions, since patch(1) -# can't do it -# --------------------------------------------------------------------------- - -host-progs := fixdep split-include conmakehash docproc - -include $(TOPDIR)/Rules.make - - -# --------------------------------------------------------------------------- -# Targets hardcoded and wellknow in top-level makefile -.PHONY: lxdialog -lxdialog: - $(call descend,scripts/lxdialog,) - # fixdep is needed to compile other host programs $(obj)/split-include $(obj)/docproc \ -$(obj)/conmakehash lxdialog: $(obj)/fixdep +$(obj)/conmakehash: $(obj)/fixdep |
