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

From: Borislav Petkov
Date: Thu Dec 17 2020 - 07:18:16 EST


From: Borislav Petkov <bp@xxxxxxx>

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