[PATCH v2 1/2] kbuild: Mark usr_gen_init_cpio as no-dot-config-target
Nicolas Schier <[email protected]> Mon, 20 Jul 2026 21:10:31 +0200
| Newsgroups | org.kernel.vger.linux-kbuild,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <20260720-move-gen_init_cpio-to-scripts-v2-1-26b7e15c7133@kernel.org> |
Let usr/gen_init_cpio be built also if there is no kernel configuration. Askar Safin reported that gen_init_cpio may be of use before any kernel configuration is available. Add usr_gen_init_cpio to list of targets that do not require a .config file. Reported-by: Askar Safin <[email protected]> Closes: https://lore.kernel.org/all/[email protected] Fixes: f8e05c10631e ("kbuild: Add top-level target for building gen_init_cpio") Signed-off-by: Nicolas Schier <[email protected]> --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index b9c5792c79e0160b3c787f8a686bd60d9f8066d7..41f6a1917866119c472a8876134824aded20a616 100644 --- a/Makefile +++ b/Makefile @@ -298,6 +298,7 @@ no-dot-config-targets := $(clean-targets) \ %asm-generic kernelversion %src-pkg dt_binding_check \ dt_style_selftest \ outputmakefile rustavailable rustfmt rustfmtcheck \ + usr_gen_init_cpio \ run-command no-sync-config-targets := $(no-dot-config-targets) %install modules_sign kernelrelease \ image_name -- 2.47.3