An alternative kernel configuration system

Anuradha Ratnaweera (anuradha@gnu.org)
Tue, 8 Jan 2002 11:33:33 +0600


After hearing that Linus likes data to be `distributed' over the kernel tree
and config siles `owned' by people (unlike a single Configure.help), I started
a simple configuration system for the Linux kernel.

I just got a configuration file format worked out which looks more or less like
apt package lists on Debian - simple, yet powerful.

More than all, it is very readable.

It is easy to write tools to parse these configuration files.

Here is an example configuration item:

symbol: SOUND_OSS
depends: SOUND
# conflicts:
# implied-by:
type: tristate
menu-item: sound_oss
menu-caption: Sound card support
# menu-depends:
menu-parent: sound
description:
OSS is the Open Sound System suite of sound card drivers. They make
sound programming easier since they provide a common API. Say Y or M
here (the module will be called sound.o) if you haven't found a
driver for your sound card above, then pick your driver from the
list below.

include drivers/sound/sb.conf
# other OSS sound driver files included here

Currently, I am in the process of converting CML1 files in the 2.5.2-pre9 tree
to this system and am expecting to get the dependencies from the CML2 system.
I also like to have the menus look like the CML1 so that users won't feel a
difference at all.

The plan is to write C programs (no python ;)) that would read the config
symbols and menu items into a balanced binary tree and invoke suitable front
ends (tty, curses, X-TCL or X/GTK).

More details are available at:

http://www.bee.lk/people/anuradha/kernelconf/

No software nor config files are available yet. This mail is just a note to
inform that some work is going on.

Regards,

Anuradha

NB: I would like to work on it 24 hrs a day, but my undergrad exams are from
15 to 28 :-(

-- 

Debian GNU/Linux (kernel 2.4.16-xfs)

Being overloaded is the sign of a true Debian maintainer. -- JHM on #Debian

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/