Skip to content

Commit

Permalink
fixdep: fix extraneous dependencies
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Michal Marek <[email protected]>
  • Loading branch information
pefoley2 authored and michal42 committed Sep 9, 2011
1 parent 49c57d2 commit 6a5be57
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/basic/fixdep.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6a5be57

Please sign in to comment.