Sorry, it does not. Everybody is attacking little bits of the
dependency problem, any solution that does not fix _all_ 9 problems in
makefile-2.5_make_dep.html is not a complete fix.
Yes, some of the problems with mkdep can be fixed in the current design
but there is one problem that is inherently unfixable. make dep is a
manual process so it relies on users knowing when they have to rerun
make dep AND THEY DON'T DO IT! Please do not say "I always run make
dep" after a change, I guarantee that you are the exception. Users
apply patches and do not run make dep, then wonder why their kernel is
Dependencies _do_ change when your .config changes, the list of files
that are included varies. gcc -MD gets this exactly right, gcc knows
which files it read. mkdep does an incorrect approximation, see tyhe
bug list in makefile-2.5_make_dep.html.
The errors in mkdep were acceptable as long as only kernel hackers
built their own kernels, they could be relied upon to manually run
commands when necessary. The target population has changed, more and
more beginners are building kernels and too many are getting it wrong.
I am aiming at the entire population, not that small subset who have
been building kernels since the year dot.
Any build system that silently fails when users forget to run a command
is a broken system. kbuild 2.5 fixes _all_ 9 problems with mkdep, it
also positions us for correct modversion handling. kbuild 2.4 is
faster, inaccurate and manual, kbuild 2.5 is slower, accurate and
I know how to speed up 2.5. What I don't have is time to rewrite the
code for speed, I am too busy tracking kernel changes because kbuild
2.5 is not in the kernel yet.
Linus, you have a choice between a known broken build system and a
clean and reliable system, which is slightly slower in mark 1. Please
add kbuild 2.5 to the kernel, then I will have time to rewrite the core
programs for speed. Mark 2 of the core code will be significantly
ps. I don't want mail discussing individual bug fixes to mkdep. Code
that does not fix _all_ 9 bugs listed in makefile-2.5_make_dep.html
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to firstname.lastname@example.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/