linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] Makefile: Add {kvm_guest,xen}.config targets to make help's output
@ 2020-12-17 12:17 Borislav Petkov
  2020-12-17 12:47 ` Masahiro Yamada
  0 siblings, 1 reply; 3+ messages in thread
From: Borislav Petkov @ 2020-12-17 12:17 UTC (permalink / raw)
  To: linux-kbuild; +Cc: LKML

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


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] Makefile: Add {kvm_guest,xen}.config targets to make help's output
  2020-12-17 12:17 [PATCH] Makefile: Add {kvm_guest,xen}.config targets to make help's output Borislav Petkov
@ 2020-12-17 12:47 ` Masahiro Yamada
  2020-12-17 13:32   ` Borislav Petkov
  0 siblings, 1 reply; 3+ messages in thread
From: Masahiro Yamada @ 2020-12-17 12:47 UTC (permalink / raw)
  To: Borislav Petkov; +Cc: Linux Kbuild mailing list, LKML

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] Makefile: Add {kvm_guest,xen}.config targets to make help's output
  2020-12-17 12:47 ` Masahiro Yamada
@ 2020-12-17 13:32   ` Borislav Petkov
  0 siblings, 0 replies; 3+ messages in thread
From: Borislav Petkov @ 2020-12-17 13:32 UTC (permalink / raw)
  To: Masahiro Yamada; +Cc: Linux Kbuild mailing list, LKML

On Thu, Dec 17, 2020 at 09:47:07PM +0900, Masahiro Yamada wrote:
> 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

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.

-- 
Regards/Gruss,
    Boris.

https://people.kernel.org/tglx/notes-about-netiquette

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-12-17 13:33 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-17 12:17 [PATCH] Makefile: Add {kvm_guest,xen}.config targets to make help's output Borislav Petkov
2020-12-17 12:47 ` Masahiro Yamada
2020-12-17 13:32   ` Borislav Petkov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).