]> Gentwo Git Trees - linux/.git/commit
kbuild: add target to build a cpio containing modules
authorSascha Hauer <s.hauer@pengutronix.de>
Tue, 25 Nov 2025 13:18:20 +0000 (14:18 +0100)
committerNicolas Schier <nsc@kernel.org>
Wed, 26 Nov 2025 20:56:14 +0000 (21:56 +0100)
commit2a9c8c0b59d366acabb8f891e84569376f3e2709
tree92fc16e7fc2f1a829a6a7652b80aa08662207855
parentc83c9564cd1c0f17008dbe6974fef90225f19d16
kbuild: add target to build a cpio containing modules

Add a new package target to build a cpio archive containing the kernel
modules. This is particularly useful to supplement an existing initramfs
with the kernel modules so that the root filesystem can be started with
all needed kernel modules without modifying it.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Reviewed-by: Simon Glass <sjg@chromium.org>
Tested-by: Simon Glass <sjg@chromium.org>
Co-developed-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Reviewed-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
Reviewed-by: Nathan Chancellor <nathan@kernel.org>
Tested-by: Nathan Chancellor <nathan@kernel.org>
Tested-by: Nicolas Schier <nsc@kernel.org>
Link: https://patch.msgid.link/20251125-cpio-modules-pkg-v2-2-aa8277d89682@pengutronix.de
Signed-off-by: Nicolas Schier <nsc@kernel.org>
scripts/Makefile.package