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

Masahiro Yamada
2020-12-17T12:48:54Z

On Thu, Dec 17, 2020 at 9:18 PM Borislav Petkov <bp@alien8.de> wrote:
>
> 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
>

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

--
Best Regards
Masahiro Yamada