[PATCH] kbuild: remove dependency of run-command on config

From: Thomas Weißschuh

Date: Thu Feb 05 2026 - 15:50:23 EST


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@xxxxxxxxxxxxxx>
---
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@xxxxxxxxxxxxxx>