Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
The run-command target does not always require a kernel configuration
to be present.
Drop the dependency so it can be executed without one.
Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
---
Makefile | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
index 93831019c17b..a1f3b7d98188 100644
--- a/Makefile
+++ b/Makefile
@@ -295,7 +295,8 @@ no-dot-config-targets := $(clean-targets) \
cscope gtags TAGS tags help% %docs check% coccicheck \
$(version_h) headers headers_% archheaders archscripts \
%asm-generic kernelversion %src-pkg dt_binding_check \
- outputmakefile rustavailable rustfmt rustfmtcheck
+ outputmakefile rustavailable rustfmt rustfmtcheck \
+ run-command
no-sync-config-targets := $(no-dot-config-targets) %install modules_sign kernelrelease \
image_name
single-targets := %.a %.i %.ko %.lds %.ll %.lst %.mod %.o %.rsi %.s %/
---
base-commit: c7c88b20cd4226af0c9fbdb365fb6f221501c7da
change-id: 20260205-kbuild-run-command-fbdb12ce4f56
Best regards,
--
Thomas Weißschuh <linux@weissschuh.net>
On Thu, 05 Feb 2026 21:49:58 +0100, Thomas Weißschuh wrote:
> The run-command target does not always require a kernel configuration
> to be present.
>
> Drop the dependency so it can be executed without one.
>
>
Applied to
https://git.kernel.org/pub/scm/linux/kernel/git/kbuild/linux.git kbuild-next
Thanks!
[1/1] kbuild: remove dependency of run-command on config
https://git.kernel.org/kbuild/c/d8ad80a85b966
Please look out for regression or issue reports or other follow up
comments, as they may result in the patch/series getting dropped or
reverted. Patches applied to an "unstable" branch are accepted pending
wider testing in -next and any post-commit review; they will generally
be moved to the main branch in a week if no issues are found.
Best regards,
--
Nathan Chancellor <nathan@kernel.org>
On Thu, Feb 05, 2026 at 09:49:58PM +0100, Thomas Weißschuh wrote: > The run-command target does not always require a kernel configuration > to be present. > > Drop the dependency so it can be executed without one. > > Signed-off-by: Thomas Weißschuh <linux@weissschuh.net> > --- > Makefile | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > Thanks! Reviewed-by: Nicolas Schier <nsc@kernel.org>
© 2016 - 2026 Red Hat, Inc.