Skip to content

Commit 87d660f

Browse files
committed
fixdep: remove unneeded code and comments about *.ver files
This is probably stale code. In old days (~ Linux 2.5.59), Kbuild made genksyms generate include/linux/modules/*.ver files. The currenct Kbuild does not generate *.ver files at all. Signed-off-by: Masahiro Yamada <[email protected]>
1 parent a83e4ca commit 87d660f

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

scripts/basic/fixdep.c

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -77,11 +77,6 @@
7777
* dependencies on include/config/my/option.h for every
7878
* CONFIG_MY_OPTION encountered in any of the prerequisites.
7979
*
80-
* It will also filter out all the dependencies on *.ver. We need
81-
* to make sure that the generated version checksum are globally up
82-
* to date before even starting the recursive build, so it's too late
83-
* at this point anyway.
84-
*
8580
* We don't even try to really parse the header files, but
8681
* merely grep, i.e. if CONFIG_FOO is mentioned in a comment, it will
8782
* be picked up as well. It's not a problem with respect to
@@ -299,8 +294,7 @@ static void *read_file(const char *filename)
299294
static int is_ignored_file(const char *s, int len)
300295
{
301296
return str_ends_with(s, len, "include/generated/autoconf.h") ||
302-
str_ends_with(s, len, "include/generated/autoksyms.h") ||
303-
str_ends_with(s, len, ".ver");
297+
str_ends_with(s, len, "include/generated/autoksyms.h");
304298
}
305299

306300
/*

0 commit comments

Comments
 (0)