[PATCH v7 0/8] kbuild: yet another series of cleanups

From: Masahiro Yamada
Date: Fri May 27 2022 - 06:04:56 EST



A couple errors have been reported since I applied v6.

I am sending v7.


Masahiro Yamada (8):
kbuild: replace $(linked-object) with CONFIG options
kbuild: do not create *.prelink.o for Clang LTO or IBT
parisc: fix the exit status of arch/parisc/nm
kbuild: check static EXPORT_SYMBOL* by script instead of modpost
kbuild: make built-in.a rule robust against too long argument error
kbuild: make *.mod rule robust against too long argument error
kbuild: add cmd_and_savecmd macro
kbuild: rebuild multi-object modules when objtool is updated

arch/parisc/Makefile | 2 +-
arch/parisc/nm | 12 +++++-
scripts/Kbuild.include | 10 ++++-
scripts/Makefile.build | 87 +++++++++++++++++---------------------
scripts/Makefile.lib | 7 ---
scripts/Makefile.modfinal | 5 +--
scripts/Makefile.modpost | 9 +---
scripts/check-local-export | 65 ++++++++++++++++++++++++++++
scripts/mod/modpost.c | 35 +--------------
9 files changed, 128 insertions(+), 104 deletions(-)
mode change 100644 => 100755 arch/parisc/nm
create mode 100755 scripts/check-local-export

--
2.32.0