From: Jesse Taube <mr.bossman075@gmail.com>
To: linux-kbuild@vger.kernel.org
Cc: Masahiro Yamada <masahiroy@kernel.org>,
Jesse Taube <Mr.Bossman075@gmail.com>,
Randy Dunlap <rdunlap@infradead.org>,
Stephen Boyd <sboyd@kernel.org>
Subject: [PATCH v1] kconfig: Alias mconfig to menuconfig, qconfig to xconfig
Date: Fri, 4 Aug 2023 23:42:56 -0400 [thread overview]
Message-ID: <20230805034256.2478162-1-Mr.Bossman075@gmail.com> (raw)
All the other menu-based config tools have a one-letter prefix, and
are named the same as their respective file,
except for mconfig and qconfig. This commit adds an alias for mconfig
to menuconfig and qconfig to xconfig.
Signed-off-by: Jesse Taube <Mr.Bossman075@gmail.com>
---
scripts/kconfig/Makefile | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/scripts/kconfig/Makefile b/scripts/kconfig/Makefile
index af1c96198f49..319cd623acb9 100644
--- a/scripts/kconfig/Makefile
+++ b/scripts/kconfig/Makefile
@@ -32,9 +32,11 @@ unexport CONFIG_
config-prog := conf
menuconfig-prog := mconf
+mconfig-prog := mconf
nconfig-prog := nconf
gconfig-prog := gconf
xconfig-prog := qconf
+qconfig-prog := qconf
define config_rule
PHONY += $(1)
@@ -45,7 +47,7 @@ PHONY += build_$(1)
build_$(1): $(obj)/$($(1)-prog)
endef
-$(foreach c, config menuconfig nconfig gconfig xconfig, $(eval $(call config_rule,$(c))))
+$(foreach c, config menuconfig mconfig nconfig gconfig xconfig qconfig, $(eval $(call config_rule,$(c))))
PHONY += localmodconfig localyesconfig
localyesconfig localmodconfig: $(obj)/conf
@@ -118,7 +120,9 @@ help:
@echo ' config - Update current config utilising a line-oriented program'
@echo ' nconfig - Update current config utilising a ncurses menu based program'
@echo ' menuconfig - Update current config utilising a menu based program'
+ @echo ' mconfig - Alias to menuconfig'
@echo ' xconfig - Update current config utilising a Qt based front-end'
+ @echo ' qconfig - Alias to xconfig
@echo ' gconfig - Update current config utilising a GTK+ based front-end'
@echo ' oldconfig - Update current config utilising a provided .config as base'
@echo ' localmodconfig - Update current config disabling modules not loaded'
--
2.40.0
next reply other threads:[~2023-08-05 3:43 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-08-05 3:42 Jesse Taube [this message]
2023-08-05 3:54 ` [PATCH v1] kconfig: Alias mconfig to menuconfig, qconfig to xconfig Randy Dunlap
2023-08-05 4:38 ` Jesse T
2023-08-06 13:40 ` Masahiro Yamada
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230805034256.2478162-1-Mr.Bossman075@gmail.com \
--to=mr.bossman075@gmail.com \
--cc=linux-kbuild@vger.kernel.org \
--cc=masahiroy@kernel.org \
--cc=rdunlap@infradead.org \
--cc=sboyd@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.