[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAK7LNASDcpk3k+SKZ61dPW_D=pqfekEcnu2c+00MynpomE2RNw@mail.gmail.com>
Date: Sat, 28 Sep 2024 15:50:04 +0900
From: Masahiro Yamada <masahiroy@...nel.org>
To: linux-kbuild@...r.kernel.org, Miguel Ojeda <ojeda@...nel.org>,
rust-for-linux <rust-for-linux@...r.kernel.org>
Cc: linux-kernel@...r.kernel.org, Nathan Chancellor <nathan@...nel.org>,
Nicolas Schier <nicolas@...sle.eu>
Subject: Re: [PATCH 00/23] kbuild: support building external modules in a
separate build directory
On Tue, Sep 17, 2024 at 11:17 PM Masahiro Yamada <masahiroy@...nel.org> wrote:
>
>
> There has been a long-standing request to support building external
> modules in a separate build directory.
>
> The first half is cleanups of documents and Makefiles.
>
> The last part adds KBUILD_EXTMOD_OUTPUT (MO=).
> This is too big changes, and too late for the current MW.
> (I did not test kselftest at all.)
> I hope people test this and may uncover some issues.
>
>
>
> Masahiro Yamada (23):
> kbuild: doc: update the description about Kbuild/Makefile split
> kbuild: doc: remove description about grepping CONFIG options
> kbuild: doc: remove outdated description of the limitation on -I usage
> kbuild: doc: remove the description about shipped files
> kbuild: doc: describe the -C option precisely for external module
> builds
> kbuild: doc: replace "gcc" in external module description
> kbuild: remove unnecessary prune of rust/alloc for rustfmt
> kbuild: simplify find command for rustfmt
> speakup: use SPKDIR=$(src) to specify the source directory
> kbuild: refactor the check for missing config files
> kbuild: check the presence of include/generated/rustc_cfg
> scripts/nsdeps: use VPATH as src_prefix
> kbuild: replace two $(abs_objtree) with $(CURDIR) in top Makefile
> kbuild: add $(objtree)/ prefix to some in-kernel build artifacts
> kbuild: rename abs_objtree to abs_output
> kbuild: use 'output' variable to create the output directory
> kbuild: build external modules in their directory
> kbuild: remove extmod_prefix, MODORDER, MODULES_NSDEPS variables
> kbuild: support building external modules in a separate build
> directory
> kbuild: support -fmacro-prefix-map for external modules
> kbuild: use absolute path in the generated wrapper Makefile
> kbuild: make wrapper Makefile more convenient for external modules
> kbuild: allow to start building external module in any directory
I CC'ed rust ML because Ack for the following patches are appreciated.
[07/23] kbuild: remove unnecessary prune of rust/alloc for rustfmt
[08/23] kbuild: simplify find command for rustfmt
[11/23] kbuild: check the presence of include/generated/rustc_cfg
--
Best Regards
Masahiro Yamada
Powered by blists - more mailing lists