[lkml]   [2003]   [Mar]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Patch in this message
Subject[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.


===== Makefile 1.388 vs edited =====
--- 1.388/Makefile Sat Mar 1 19:57:24 2003
+++ edited/Makefile Sun Mar 2 20:46:38 2003
@@ -460,7 +460,7 @@
# 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 @@

# 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
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at
 \ /
  Last update: 2005-03-22 13:33    [W:0.037 / U:7.084 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site