[PATCH 0/3] Kbuild: Some fixdep tweaks

From: Rasmus Villemoes
Date: Wed Aug 15 2018 - 10:28:07 EST


These patches eliminate two (albeit tiny and shortlived) processes
from the cmd_and_fixdep rule, i.e. from every TU being
compiled. Whether the diffstat below is worth it I'll leave to Kbuild
maintainers to decide.

Rasmus Villemoes (3):
Kbuild: refactor fixdep to use getopt()
Kbuild: teach fixdep to optionally remove the depfile
Kbuild: let fixdep do the renaming to .cmd

scripts/Kbuild.include | 11 ++++------
scripts/basic/fixdep.c | 56 ++++++++++++++++++++++++++++++++++++++++++--------
2 files changed, 52 insertions(+), 15 deletions(-)

--
2.16.4