linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] kconfig: add build-only configurator targets
@ 2018-08-15  0:36 Randy Dunlap
  2018-08-16  3:27 ` Masahiro Yamada
  0 siblings, 1 reply; 4+ messages in thread
From: Randy Dunlap @ 2018-08-15  0:36 UTC (permalink / raw)
  To: linux-kbuild, LKML, Masahiro Yamada

From: Randy Dunlap <rdunlap@infradead.org>

Add build-only targets for build_menuconfig, build_nconfig,
build_xconfig, and build_gconfig.
(targets must end in "config" to qualify in top-level Makefile)

This allows these target to be built without execution (e.g., to
look for errors or warnings) and/or to be built and checked by sparse.

Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
---
 scripts/kconfig/Makefile |    8 ++++++++
 1 file changed, 8 insertions(+)

--- linux-next-20180814.orig/scripts/kconfig/Makefile
+++ linux-next-20180814/scripts/kconfig/Makefile
@@ -33,6 +33,14 @@ config: $(obj)/conf
 nconfig: $(obj)/nconf
 	$< $(silent) $(Kconfig)
 
+build_menuconfig: $(obj)/mconf
+
+build_nconfig: $(obj)/nconf
+
+build_gconfig: $(obj)/gconf
+
+build_xconfig: $(obj)/qconf
+
 localyesconfig localmodconfig: $(obj)/conf
 	$(Q)perl $(srctree)/$(src)/streamline_config.pl --$@ $(srctree) $(Kconfig) > .tmp.config
 	$(Q)if [ -f .config ]; then 					\


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

end of thread, other threads:[~2018-08-17  1:56 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-08-15  0:36 [PATCH] kconfig: add build-only configurator targets Randy Dunlap
2018-08-16  3:27 ` Masahiro Yamada
2018-08-16 16:30   ` Randy Dunlap
2018-08-17  1:55     ` Masahiro Yamada

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).