fixdep: fix extraneous dependencies
authorPeter Foley <pefoley2@verizon.net>
Mon, 1 Aug 2011 13:51:24 +0000 (09:51 -0400)
committerMichal Marek <mmarek@suse.cz>
Fri, 9 Sep 2011 09:45:47 +0000 (11:45 +0200)
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>
scripts/basic/fixdep.c

index 291228e259845aa62c15f45e43389fd7a2b4d675..cb1f50cf12e3bda6fe798365a9c31b15adf0477a 100644 (file)
@@ -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