[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kbuild-devel
Subject:    [kbuild-devel] New keyword suggestion - 'module'
From:       Jeff Smith <whydoubt () yahoo ! com>
Date:       2004-12-31 3:42:44
Message-ID: 20041231034244.81167.qmail () web54304 ! mail ! yahoo ! com
[Download RAW message or body]

I have a suggestion for an additional keyword to the Kconfig system: 'module'.
I believe I am capable of making the necessary changes to the config scripts in
scripts/kconfig.  I am just a sucker for abuse and wanted see if people had
any (hopefully constructive) thoughts to add.

In the help sections you often see something like "If you select M, the module
name will be xyz123."  Often this is buried in the middle of a dense paragraph.

1. Module names should be more visible.
2. Seeing that phrase (or variations of it) over and over again feels redundant.
3. If you are using 'make xconfig', you don't really select 'M'.  You select the
    graphical equivalent.
4. Having the module name on its own line with the 'module' keyword would make
    it easier to determine which entries don't state a module name when they
    aught to.
5. Consistency

Here is an example of how one entry from drivers/input/Kconfig would change.
The text of the first paragraph of help could probably use some re-wording, but
that can be addressed later.

========================================================================
 config INPUT_EVDEV
 	tristate "Event interface"
 	depends on INPUT
+	module evdev
 	help
 	  Say Y here if you want your input device events be accessible
 	  under char device 13:64+ - /dev/input/eventX in a generic way.
-
-	  To compile this driver as a module, choose M here: the
-	  module will be called evdev.
 
========================================================================

 -- Jeff Smith

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
kbuild-devel mailing list
kbuild-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kbuild-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic