[PATCH] kbuild: builddeb: always make modules_install, to install modules.builtin*

Masahiro Yamada masahiroy at kernel.org
Sun Jun 25 11:24:33 PDT 2023


On Fri, Jun 23, 2023 at 4:20 AM Josh Triplett <josh at joshtriplett.org> wrote:
>
> Even for a non-modular kernel, the kernel builds modules.builtin and
> modules.builtin.modinfo, with information about the built-in modules.
> Tools such as initramfs-tools need these files to build a working
> initramfs on some systems, such as those requiring firmware.
>
> Now that `make modules_install` works even in non-modular kernels and
> installs these files, unconditionally invoke it when building a Debian
> package.
>
> Signed-off-by: Josh Triplett <josh at joshtriplett.org>
> ---


Applied to linux-kbuild. Thanks.

What I meant in my previous reply was
to remove "if is_enabled CONFIG_MODULES; then"

Anyway, I did it by myself in a follow-up patch.

https://lore.kernel.org/linux-kbuild/20230625181623.2473308-1-masahiroy@kernel.org/T/#u





-- 
Best Regards
Masahiro Yamada



More information about the linux-snps-arc mailing list