Skip to contentSkip to conversation

trivial: remove references to non-existent include/linux/config.h

PATCH Applied Markus Heidelberg 2 participants 2 messages Jun 11, 2009 – Jun 23, 2009 Kbuild

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 trivial: remove references to non-existent include/linux/config.h

Ignore drivers/staging/ since it is very likely that new drivers introduce it again.

---
 arch/h8300/kernel/timer/tpu.c |    1 -
 scripts/basic/fixdep.c        |    3 +--
 scripts/mod/sumversion.c      |    2 --
 3 files changed, 1 insertions(+), 5 deletions(-)
arch/h8300/kernel/timer/tpu.c +0 -1
index e7c6e61..2193a2e 100644
@@ -7,7 +7,6 @@
  *
  */
 
-#include <linux/config.h>
 #include <linux/errno.h>
 #include <linux/sched.h>
 #include <linux/kernel.h>
scripts/basic/fixdep.c +1 -2
index 8912c0f..1f5e628 100644
@@ -16,8 +16,7 @@
  * tells make when to remake a file.
  *
  * To use this list as-is however has the drawback that virtually
- * every file in the kernel includes <linux/config.h> which then again
- * includes <linux/autoconf.h>
+ * every file in the kernel includes <linux/autoconf.h>.
  *
  * If the user re-runs make *config, linux/autoconf.h will be
  * regenerated.  make notices that and will rebuild every file which
scripts/mod/sumversion.c +0 -2
index aadc522..ecf9c7d 100644
@@ -334,8 +334,6 @@ static int parse_source_files(const char *objfile, struct md4_ctx *md)
 		deps_drivers/net/dummy.o := \
 		  drivers/net/dummy.c \
 		    $(wildcard include/config/net/fastroute.h) \
-		  include/linux/config.h \
-		    $(wildcard include/config/h.h) \
 		  include/linux/module.h \
 
 	   Sum all files in the same dir or subdirs.
Signature · 1 line
1.6.3.2.236.ge505d
Applied
#1 lore raw
Quoted 41 lines · Markus Heidelberg

Ignore drivers/staging/ since it is very likely that new drivers introduce it again.

---
 arch/h8300/kernel/timer/tpu.c |    1 -
 scripts/basic/fixdep.c        |    3 +--
 scripts/mod/sumversion.c      |    2 --
 3 files changed, 1 insertions(+), 5 deletions(-)
arch/h8300/kernel/timer/tpu.c +0 -1
index e7c6e61..2193a2e 100644
@@ -7,7 +7,6 @@
  *
  */
 
-#include <linux/config.h>
 #include <linux/errno.h>
 #include <linux/sched.h>
 #include <linux/kernel.h>
scripts/basic/fixdep.c +1 -2
index 8912c0f..1f5e628 100644
@@ -16,8 +16,7 @@
  * tells make when to remake a file.
  *
  * To use this list as-is however has the drawback that virtually
- * every file in the kernel includes <linux/config.h> which then again
- * includes <linux/autoconf.h>
+ * every file in the kernel includes <linux/autoconf.h>.
  *
  * If the user re-runs make *config, linux/autoconf.h will be
  * regenerated.  make notices that and will rebuild every file which
scripts/mod/sumversion.c +0 -0
index aadc522..ecf9c7d 100644

scripts/mod/sumversion.c static int parse_source_files(const char *objfile, struct md4_ctx *md) · line 339

Quoted 8 lines
scripts/mod/sumversion.c +0 -2
@@ -334,8 +334,6 @@ static int parse_source_files(const char *objfile, struct md4_ctx *md)
 		deps_drivers/net/dummy.o := \
 		  drivers/net/dummy.c \
 		    $(wildcard include/config/net/fastroute.h) \
-		  include/linux/config.h \
-		    $(wildcard include/config/h.h) \
 		  include/linux/module.h \
 
 	   Sum all files in the same dir or subdirs.

Applied, thanks Markus.

Signature · 2 lines
Jiri Kosina
SUSE Labs