diff options
| author | Ulf Magnusson <ulfalizer@gmail.com> | 2019-05-03 03:04:40 +0200 |
|---|---|---|
| committer | Ulf Magnusson <ulfalizer@gmail.com> | 2019-05-03 06:01:37 +0200 |
| commit | 9be6b7b91487470bd15895184c500a4771edd0c0 (patch) | |
| tree | d13ba0009f4452ff8b8b43b537ab0c54e4c87240 /makefile.patch | |
| parent | 9cd7a1932321c9b2ddbacde018740a824cd4ad9e (diff) | |
guiconfig: Add a Tkinter-based menuconfig
This is a graphical configuration interface written in Tkinter. Like
menuconfig.py, it supports showing all symbols (with invisible symbols
in red) and jumping directly to symbols. Symbol values can also be
changed directly from the jump-to dialog.
When single-menu mode is enabled, a single menu is shown at a time, like
in the terminal menuconfig. Only this mode distinguishes between symbols
defined with 'config' and symbols defined with 'menuconfig'.
Compatible with both Python 2 and Python 3. Has been tested on X11,
Windows, and macOS.
To avoid having to carry around a bunch of GIFs, the image data is
embedded in guiconfig.py. To use separate GIF files instead, change
_USE_EMBEDDED_IMAGES to False. The image files can be found in
https://github.com/ulfalizer/Kconfiglib/tree/screenshots/guiconfig.
A new `make guiconfig` target in the Makefile patch will run the GUI
configuration interface on the Linux kernel.
Diffstat (limited to 'makefile.patch')
| -rw-r--r-- | makefile.patch | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/makefile.patch b/makefile.patch index 9992755..cf425d9 100644 --- a/makefile.patch +++ b/makefile.patch @@ -1,17 +1,17 @@ -From 7cac9bab3de49c03e1edce71d5d4b631d7464b74 Mon Sep 17 00:00:00 2001 +From 7bd20c66475a2fd0c702efc1dd1fc3eb6bbaa116 Mon Sep 17 00:00:00 2001 From: Ulf Magnusson <ulfalizer@gmail.com> Date: Tue, 9 Jun 2015 13:01:34 +0200 Subject: [PATCH] Kconfiglib scripts/kconfig/Makefile patch --- - scripts/kconfig/Makefile | 30 ++++++++++++++++++++++++++++++ - 1 file changed, 30 insertions(+) + scripts/kconfig/Makefile | 34 ++++++++++++++++++++++++++++++++++ + 1 file changed, 34 insertions(+) diff --git a/scripts/kconfig/Makefile b/scripts/kconfig/Makefile -index 4a7bd2192073..448cd1cb9314 100644 +index 7c5dc31c1d95..8e49257b0309 100644 --- a/scripts/kconfig/Makefile +++ b/scripts/kconfig/Makefile -@@ -27,2 +27,32 @@ gconfig: $(obj)/gconf +@@ -27,2 +27,36 @@ gconfig: $(obj)/gconf +PHONY += scriptconfig iscriptconfig kmenuconfig dumpvarsconfig + @@ -37,13 +37,17 @@ index 4a7bd2192073..448cd1cb9314 100644 + print('A Kconfig instance \'kconf\' for the architecture $(ARCH) has been created.')" \ + $(Kconfig) + ++# The terminal menuconfig only runs under Python 3 +kmenuconfig: + $(Q)$(kpython3) $(srctree)/Kconfiglib/menuconfig.py $(Kconfig) + ++guiconfig: ++ $(Q)$(kpython) $(srctree)/Kconfiglib/guiconfig.py $(Kconfig) ++ +dumpvarsconfig: + $(Q)$(kpython) $(srctree)/Kconfiglib/examples/dumpvars.py $(Kconfig) + menuconfig: $(obj)/mconf -- -2.17.1 +2.20.1 |
