2002-01-08 05:34:34

by Anuradha Ratnaweera

[permalink] [raw]
Subject: An alternative kernel configuration system


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


2002-01-08 07:10:04

by Anuradha Ratnaweera

[permalink] [raw]
Subject: Re: An alternative kernel configuration system

On Tue, Jan 08, 2002 at 11:33:33AM +0600, Anuradha Ratnaweera wrote:
>
> More details are available at:
>
> http://www.bee.lk/people/anuradha/kernelconf/

I have also uploaded the same page to

http://www.lklug.pdn.ac.lk/~anuradha/kernelconf/

This page is slightly more up to date.

Cheers,

Anuradha

--

Debian GNU/Linux (kernel 2.4.16-xfs)

I haven't lost my mind -- it's backed up on tape somewhere.