From: Nicolas Schier <nsc@kernel.org>
To: Nathan Chancellor <nathan@kernel.org>, Nicolas Schier <nsc@kernel.org>
Cc: linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org,
Askar Safin <safinaskar@gmail.com>
Subject: [PATCH 1/2] kbuild: Mark usr_gen_init_cpio as no-dot-config-target
Date: Mon, 09 Mar 2026 08:56:29 +0100 [thread overview]
Message-ID: <20260309-move-gen_init_cpio-to-scripts-v1-1-0c5059b1ec5b@kernel.org> (raw)
In-Reply-To: <20260309-move-gen_init_cpio-to-scripts-v1-0-0c5059b1ec5b@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 <safinaskar@gmail.com>
Closes: https://lore.kernel.org/all/20260220191150.244006-1-safinaskar@gmail.com
Fixes: f8e05c10631e ("kbuild: Add top-level target for building gen_init_cpio")
Signed-off-by: Nicolas Schier <nsc@kernel.org>
---
Makefile | 1 +
1 file changed, 1 insertion(+)
diff --git a/Makefile b/Makefile
index e944c6e71e81..0e788ce45457 100644
--- a/Makefile
+++ b/Makefile
@@ -296,6 +296,7 @@ no-dot-config-targets := $(clean-targets) \
$(version_h) headers headers_% archheaders archscripts \
%asm-generic kernelversion %src-pkg dt_binding_check \
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.51.0
next prev parent reply other threads:[~2026-03-09 7:56 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-03-09 7:56 [PATCH 0/2] Move tool for generating initramfs cpio to scripts/ Nicolas Schier
2026-03-09 7:56 ` Nicolas Schier [this message]
2026-03-09 7:56 ` [PATCH 2/2] kbuild: Move gen_init_cpio and gen_initramfs.sh " Nicolas Schier
2026-03-09 13:41 ` Thomas Weißschuh
2026-03-10 7:14 ` Nicolas Schier
2026-03-10 9:13 ` Thomas Weißschuh
2026-03-12 13:59 ` Nicolas Schier
2026-03-10 1:49 ` Askar Safin
2026-03-10 6:24 ` Nicolas Schier
2026-03-22 12:50 ` Askar Safin
2026-03-10 1:54 ` [PATCH 0/2] Move tool for generating initramfs cpio " Askar Safin
2026-03-10 4:30 ` H. Peter Anvin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260309-move-gen_init_cpio-to-scripts-v1-1-0c5059b1ec5b@kernel.org \
--to=nsc@kernel.org \
--cc=linux-kbuild@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=nathan@kernel.org \
--cc=safinaskar@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®