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.
Showing the changes to scripts/basic/fixdep.c (1 of 1 file). Show all
Unified · Split
| @@ -77,11 +77,6 @@ · 76 unmodified lines | ||
| 77 | 77 | * dependencies on include/config/my/option.h for every |
| 78 | 78 | * CONFIG_MY_OPTION encountered in any of the prerequisites. |
| 79 | 79 | * |
| 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 | − * | |
| 85 | 80 | * We don't even try to really parse the header files, but |
| 86 | 81 | * merely grep, i.e. if CONFIG_FOO is mentioned in a comment, it will |
| 87 | 82 | * 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 | ||
| 299 | 294 | static int is_ignored_file(const char *s, int len) |
| 300 | 295 | { |
| 301 | 296 | 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"); | |
| 304 | 298 | } |
| 305 | 299 | |
| 306 | 300 | /* |