* Kernel configurator request
@ 2003-01-06 17:25 John Bradford
2003-01-06 17:54 ` Tomas Szepe
0 siblings, 1 reply; 3+ messages in thread
From: John Bradford @ 2003-01-06 17:25 UTC (permalink / raw)
To: linux-kernel; +Cc: szepe
Traditionally, kernel configurators have produced .config files like
this:
#
# Automatically generated make config: don't edit
#
[Very general options]
#
# Code maturity level options
#
[Code maturity level options]
#
# General setup
#
[General setup options]
..etc...
My kernel bug database parses .config files, and currently, if it
detects comments, (which don't appear to be commented out options), it
uses them to present a sorted list of options to the user. (If there
are no comments, it remains uncategorised).
The problem is that at the moment the first, very general options, get
categorised under "Automatically generated make config: don't edit".
Obviously I can work around this, but it would seem to me to be better
to have the kernel configurators generate .config files like this:
#
# Automatically generated make config: don't edit
#
#
# Very general options
#
[Very general options]
#
# Code maturity level options
#
[Code maturity level options]
#
# General setup
#
[General setup options]
..etc...
John.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Kernel configurator request
2003-01-06 17:25 Kernel configurator request John Bradford
@ 2003-01-06 17:54 ` Tomas Szepe
2003-01-09 18:41 ` John Bradford
0 siblings, 1 reply; 3+ messages in thread
From: Tomas Szepe @ 2003-01-06 17:54 UTC (permalink / raw)
To: John Bradford; +Cc: linux-kernel
> [john@grabjohn.com]
>
> Obviously I can work around this, but it would seem to me to be better
> to have the kernel configurators generate .config files like this:
>
> #
> # Automatically generated make config: don't edit
> #
>
> #
> # Very general options
> #
> [Very general options]
[snip]
John,
AFAIK all you have to do to make this reality is add a "comment" clause
where you need it.
--
Tomas Szepe <szepe@pinerecords.com>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Kernel configurator request
2003-01-06 17:54 ` Tomas Szepe
@ 2003-01-09 18:41 ` John Bradford
0 siblings, 0 replies; 3+ messages in thread
From: John Bradford @ 2003-01-09 18:41 UTC (permalink / raw)
To: Tomas Szepe; +Cc: linux-kernel
[-- Attachment #1: Type: text/plain, Size: 430 bytes --]
> > Obviously I can work around this, but it would seem to me to be better
> > to have the kernel configurators generate .config files like this:
> >
> > #
> > # Automatically generated make config: don't edit
> > #
> >
> > #
> > # Very general options
> > #
> > [Very general options]
>
> [snip]
>
> John,
>
> AFAIK all you have to do to make this reality is add a "comment" clause
> where you need it.
Excellent...
John.
[-- Attachment #2: ASCII text --]
[-- Type: text/plain, Size: 300 bytes --]
--- linux-2.5.55-orig/arch/i386/Kconfig 2003-01-09 18:34:19.000000000 +0000
+++ linux-2.5.55/arch/i386/Kconfig 2003-01-09 18:39:34.000000000 +0000
@@ -3,6 +3,8 @@
# see Documentation/kbuild/kconfig-language.txt.
#
+comment "General options"
+
mainmenu "Linux Kernel Configuration"
config X86
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2003-01-09 18:33 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-01-06 17:25 Kernel configurator request John Bradford
2003-01-06 17:54 ` Tomas Szepe
2003-01-09 18:41 ` John Bradford
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox