[PATCH v2 00/10] kbuild: misc cleanups

From: Masahiro Yamada
Date: Tue Apr 05 2022 - 21:42:59 EST



This is a series of prerequisite cleanups of my next work.


Masahiro Yamada (10):
kbuild: factor out genksyms command from cmd_gensymtypes_{c,S}
kbuild: do not remove empty *.symtypes explicitly
modpost: remove useless export_from_sec()
modpost: move export_from_secname() call to more relevant place
modpost: remove redundant initializes for static variables
modpost: remove annoying namespace_from_kstrtabns()
kbuild: get rid of duplication in the first line of *.mod files
kbuild: split the second line of *.mod into *.usyms
kbuild: refactor cmd_modversions_c
kbuild: refactor cmd_modversions_S

.gitignore | 1 +
Makefile | 2 +-
scripts/Makefile.build | 86 ++++++++++++++++---------------------
scripts/adjust_autoksyms.sh | 2 +-
scripts/gen_autoksyms.sh | 18 +++++---
scripts/mod/modpost.c | 49 ++++++---------------
scripts/mod/modpost.h | 4 --
scripts/mod/sumversion.c | 11 +----
8 files changed, 64 insertions(+), 109 deletions(-)

--
2.32.0