|
|
Subscribe / Log in / New account

kbuild: detect objects shared among multiple modules

From:  Masahiro Yamada <masahiroy-AT-kernel.org>
To:  linux-kernel-AT-vger.kernel.org, linux-kbuild-AT-vger.kernel.org
Subject:  [PATCH 0/3] kbuild: detect objects shared among multiple modules
Date:  Sun, 13 Nov 2022 20:15:22 +0900
Message-ID:  <20221113111525.3762483-1-masahiroy@kernel.org>
Cc:  Masahiro Yamada <masahiroy-AT-kernel.org>, Nathan Chancellor <nathan-AT-kernel.org>, Nick Desaulniers <ndesaulniers-AT-google.com>, Nick Terrell <terrelln-AT-fb.com>, Nicolas Schier <nicolas-AT-fjasle.eu>, Tom Rix <trix-AT-redhat.com>, llvm-AT-lists.linux.dev
Archive-link:  Article


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



Copyright © 2022, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds