Makefile: Add {kvm_guest,xen}.config targets to make help's output
PATCH 1/1 Makefile: Add {kvm_guest,xen}.config targets to make help's output
From: Borislav Petkov <[email protected]>
Add the targets which add Kconfig items to the .config so that the kernel can be run as a guest, to the main 'make help' output so that they can be found easier and there's no need to grep the tree each time to remember what they should be called.
--- scripts/kconfig/Makefile | 2 ++ 1 file changed, 2 insertions(+)
scripts/kconfig/Makefile +2 -0
@@ -143,6 +143,8 @@ help: @echo ' default value without prompting' @echo ' tinyconfig - Configure the tiniest possible kernel' @echo ' testconfig - Run Kconfig unit tests (requires python3 and pytest)' + @echo ' kvm_guest.config - Enable Kconfig items for running this kernel as a KVM guest' + @echo ' xen.config - Enable Kconfig items for running this kernel as a Xen guest' # =========================================================================== # object files used by all kconfig flavours
Signature · 1 line
2.29.2
Quoted 27 lines · Borislav Petkov
From: Borislav Petkov <[email protected]>
Add the targets which add
Kconfigitems to the .config so that the kernel can be run as a guest, to the main 'make help' output so that they can be found easier and there's no need to grep the tree each time to remember what they should be called.Signed-off-by Borislav Petkov <[email protected]>--- scripts/kconfig/Makefile | 2 ++ 1 file changed, 2 insertions(+)scripts/kconfig/Makefile +2
-1@@ -143,6 +143,8 @@ help: @echo ' default value without prompting' @echo ' tinyconfig - Configure the tiniest possible kernel' @echo ' testconfig - Run Kconfig unit tests (requires python3 and pytest)' + @echo ' kvm_guest.config - Enable Kconfig items for running this kernel as a KVM guest' + @echo ' xen.config - Enable Kconfig items for running this kernel as a Xen guest' # =========================================================================== # object files used by all kconfig flavours --
Quoted 2 lines
2.29.2
No.
I do not want to touch scripts/kconfig/Makefile every time somebody adds a new file to kernel/configs/*.config or arch/$(ARCH)/configs/*.config
Signature · 2 lines
Best Regards Masahiro Yamada
Quoted 3 lines · Masahiro Yamada
I do not want to touch
scripts/kconfig/Makefileevery time somebody adds a new file tokernel/configs/*.configor arch/$(ARCH)/configs/*.config
Because that happens so often and somehow burdens your maintenance effort impossibly?! Geez, gimme a break.
Lemme move those to archhelp so that you don't get bothered.
Signature · 4 lines
Regards/Gruss,
Boris.
https://people.kernel.org/tglx/notes-about-netiquette