]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
kbuild: Add top-level target for building gen_init_cpio
authorNicolas Schier <nsc@kernel.org>
Fri, 28 Nov 2025 20:01:55 +0000 (21:01 +0100)
committerNathan Chancellor <nathan@kernel.org>
Fri, 19 Dec 2025 21:58:11 +0000 (14:58 -0700)
commitf8e05c10631e665ccabc8410beec6058d2a07c57
tree3af21879f15b51952ab5cee094083afdcded0260
parent18e2d526bf24525995d4312937e82d9b6810f663
kbuild: Add top-level target for building gen_init_cpio

Add a top-level target for building gen_init_cpio to prevent re-entering
kbuild for 'modules-cpio-pkg'.

The recently introduced target 'modules-cpio-pkg' depends on
gen_init_cpio but there is no simple way to add this dependency as a
prerequisite that can be built in parallel to other recipes.

Introducing the top-level target, enables fixing this and also prepares
a possible move of gen_init_cpio from usr/ to scripts/.

Signed-off-by: Nicolas Schier <nsc@kernel.org>
Reviewed-by: Nathan Chancellor <nathan@kernel.org>
Tested-by: Nathan Chancellor <nathan@kernel.org>
Link: https://patch.msgid.link/20251128-kbuild-add-top-level-target-for-building-gen_init_cpio-v1-1-84c63a8fc8d4@kernel.org
Signed-off-by: Nathan Chancellor <nathan@kernel.org>
Makefile
scripts/Makefile.package