[PATCH 0/3] kbuild: detect objects shared among multiple modules

Masahiro Yamada posted 3 patches 3 years, 5 months ago
scripts/Kbuild.include       | 5 +++++
scripts/Makefile.asm-generic | 6 +++---
scripts/Makefile.build       | 6 +-----
scripts/Makefile.clean       | 5 +----
scripts/Makefile.dtbinst     | 2 +-
scripts/Makefile.lib         | 8 ++++----
scripts/Makefile.vmlinux_o   | 5 +----
7 files changed, 16 insertions(+), 21 deletions(-)
[PATCH 0/3] kbuild: detect objects shared among multiple modules
Posted by Masahiro Yamada 3 years, 5 months ago
Commit 637a642f5ca5 ("zstd: Fixing mixed module-builtin objects")
only fixed zstd, but similar potential issues are remaining treewide.

My plan is to merge the first two in the next merge window
(to block new breakages), the last one after fixing warnings.



Masahiro Yamada (3):
  kbuild: add kbuild-file macro
  kbuild: warn objects shared among multiple modules
  [pending] kbuild: make forbid sharing objects among multiple modules

 scripts/Kbuild.include       | 5 +++++
 scripts/Makefile.asm-generic | 6 +++---
 scripts/Makefile.build       | 6 +-----
 scripts/Makefile.clean       | 5 +----
 scripts/Makefile.dtbinst     | 2 +-
 scripts/Makefile.lib         | 8 ++++----
 scripts/Makefile.vmlinux_o   | 5 +----
 7 files changed, 16 insertions(+), 21 deletions(-)

-- 
2.34.1