[PATCH] Makefile: Add {kvm_guest,xen}.config targets to make help's output

Borislav Petkov
2020-12-17T12:18:07Z

From: Borislav Petkov <bp@suse.de>

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.

Signed-off-by: Borislav Petkov <bp@suse.de>
---
scripts/kconfig/Makefile | 2 ++
1 file changed, 2 insertions(+)

diff --git a/scripts/kconfig/Makefile b/scripts/kconfig/Makefile
index e46df0a2d4f9..fdfae4f6943e 100644
--- a/scripts/kconfig/Makefile
+++ b/scripts/kconfig/Makefile
@@ -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
--
2.29.2