[PATCH/RFC 0/4] user remarks for config symbols

From: Bernhard Kaindl
Date: Sat Nov 07 2009 - 01:46:04 EST

- RFC -

--- Comments, Reviews, Test reports, Notes, everything welcome ---


I recently had the need to create a documentation for a kernel config,
and decided to extend the kernel config tool(s) to allow me to do that
with minium effort.

Specifically, I extended make xconfig (and now also others) for editing
a remark per config symbol and I created a config2html frontend to the
kconfig lib which outputs the config options with their comments to a
HTML table.

Besides that, it was sometimes been interesting to be able to add a
note for some config choices in order to see that note again when
revisiting that config choice again later.

So I hope that the patches which I created could be useable by the
greater Linux community, and hereby, I submit them for discussion
and if liked, for inclusion.

Bernhard Kaindl

Bernhard Kaindl (4):
Support loading and saving custom remarks for config symbols
menuconfig: allow editing of remarks for config symbols
xconfig: allow editing of remarks for config symbols
make config / oldconfig: allow editing of remarks for config symbols

scripts/kconfig/conf.c | 19 +++++++++++++
scripts/kconfig/confdata.c | 45 ++++++++++++++++++++++++++++--
scripts/kconfig/expr.h | 1 +
scripts/kconfig/lxdialog/menubox.c | 3 ++
scripts/kconfig/mconf.c | 51 ++++++++++++++++++++++++++++++++++
scripts/kconfig/qconf.cc | 53 ++++++++++++++++++++++++++++++++++++
scripts/kconfig/qconf.h | 19 +++++++++++++
7 files changed, 188 insertions(+), 3 deletions(-)

PS: Here is also an update to my CREDITS entry:

Signed-off-by: Bernhard Kaindl <bernhard.kaindl@xxxxxxx>

diff --git a/CREDITS b/CREDITS
index 72b4878..a92c901 100644
@@ -1714,11 +1714,11 @@ S: Tata
S: Hungary

N: Bernhard Kaindl
-E: bkaindl@xxxxxxxxx
-E: edv@xxxxxxxxxxxxxx
+E: bernhard.kaindl@xxxxxxx
D: Author of a menu based configuration tool, kmenu, which
D: is the predecessor of 'make menuconfig' and 'make xconfig'.
-D: digiboard driver update(modularisation work and 2.1.x upd)
+D: Various fixes for the kernel configuration tools
+D: Digiboard driver update (modularisation work and 2.1.x update)
S: Tallak 95
S: 8103 Rein
S: Austria
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/