Skip to contentSkip to conversation

kbuild: remove dependency of run-command on config

PATCH In review Thomas Weißschuh 3 participants 3 messages Feb 5 – Feb 7 Kbuild

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 kbuild: remove dependency of run-command on config

The run-command target does not always require a kernel configuration to be present.

Drop the dependency so it can be executed without one.

---
 Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
Makefile +2 -1
index 93831019c17b..a1f3b7d98188 100644
@@ -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,

Signature · 1 line
Thomas Weißschuh <[email protected]>
#2 lore raw
In reply to Thomas Weißschuh
Quoted 6 lines · Thomas Weißschuh

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,

Signature · 1 line
Nathan Chancellor <[email protected]>