aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorSam Ravnborg <sam@mars.ravnborg.org>2003-03-02 10:36:48 -0600
committerKai Germaschewski <kai@tp1.ruhr-uni-bochum.de>2003-03-02 10:36:48 -0600
commit1ef756739ce3e75d3c7adf5b0159301f2d68831a (patch)
tree83940ac06ee3269889d1184dbeef281bda61f9cd /Makefile
parenteae6fb05f5c6211e416378712a146cfdcb1c6c69 (diff)
downloadhistory-1ef756739ce3e75d3c7adf5b0159301f2d68831a.tar.gz
[PATCH] kbuild: do not run split-include for all compilations
When a rule in the top-level Makefile includes scripts as one of the prerequisites it inherits FORCE, and thus is always build. include/linux/autoconf.h recently included scripts hereby forcing split-include to be run for each compilation. Fix all rules that lists scripts as a prerequisite but did not list FORCE. Fixed by listing the executable needed direct.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 7f539784ad6481..7cc913e027e661 100644
--- a/Makefile
+++ b/Makefile
@@ -460,7 +460,7 @@ include/config/MARKER: scripts/split-include include/linux/autoconf.h
# if .config is newer than include/linux/autoconf.h, someone tinkered
# with it and forgot to run make oldconfig
-include/linux/autoconf.h: .config scripts
+include/linux/autoconf.h: .config scripts/fixdep
$(Q)$(MAKE) $(build)=scripts/kconfig scripts/kconfig/conf
./scripts/kconfig/conf -s arch/$(ARCH)/Kconfig
@@ -804,7 +804,7 @@ help:
# Documentation targets
# ---------------------------------------------------------------------------
-sgmldocs psdocs pdfdocs htmldocs: scripts
+sgmldocs psdocs pdfdocs htmldocs: scripts/docproc FORCE
$(Q)$(MAKE) $(build)=Documentation/DocBook $@
# Scripts to check various things for consistency