History

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.

Masahiro Yamada committed 6 years ago

Commit 87d660f1 parent a83e4ca1 file · +1 −7Browse files

Showing the changes to scripts/basic (1 of 1 file). Show all

Unified · Split

scripts/basic/fixdep.c+1−7
@@ -77,11 +77,6 @@ · 76 unmodified lines
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) · 211 unmodified lines
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 /*