summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorPeter Foley <pefoley2@verizon.net>2011-08-01 09:51:24 -0400
committerMichal Marek <mmarek@suse.cz>2011-09-09 11:45:47 +0200
commit6a5be57f0f00bf5f39b983ec98d58058bc696543 (patch)
treee086c8d55217c96d6ffef7858d37d6addb9380ab /scripts
parent49c57d254e691a45ade207c754ba09ca7129ed93 (diff)
downloadop-kernel-dev-6a5be57f0f00bf5f39b983ec98d58058bc696543.zip
op-kernel-dev-6a5be57f0f00bf5f39b983ec98d58058bc696543.tar.gz
fixdep: fix extraneous dependencies
The introduction of include/linux/kconfig.h created 3 extraneous dependencies: include/config/.h include/config/h.h include/config/foo.h Fix this by excluding kconfig.h from fixdep calculations. Signed-off-by: Peter Foley <pefoley2@verizon.net> Signed-off-by: Michal Marek <mmarek@suse.cz>
Diffstat (limited to 'scripts')
-rw-r--r--scripts/basic/fixdep.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/basic/fixdep.c b/scripts/basic/fixdep.c
index 291228e..cb1f50c 100644
--- a/scripts/basic/fixdep.c
+++ b/scripts/basic/fixdep.c
@@ -345,6 +345,7 @@ static void parse_dep_file(void *map, size_t len)
memcpy(s, m, p-m); s[p-m] = 0;
if (strrcmp(s, "include/generated/autoconf.h") &&
strrcmp(s, "arch/um/include/uml-config.h") &&
+ strrcmp(s, "include/linux/kconfig.h") &&
strrcmp(s, ".ver")) {
/*
* Do not list the source file as dependency, so that
OpenPOWER on IntegriCloud