lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20081030210434.GA1519@uranus.ravnborg.org>
Date:	Thu, 30 Oct 2008 22:04:34 +0100
From:	Sam Ravnborg <sam@...nborg.org>
To:	Alexey Dobriyan <adobriyan@...il.com>
Cc:	linux-kernel@...r.kernel.org, zippel@...ux-m68k.org, akpm@...l.org,
	linux-kbuild <linux-kbuild@...r.kernel.org>
Subject: Re: [PATCH] Add module_name Kconfig shortcut

On Tue, Oct 28, 2008 at 03:46:04AM +0300, Alexey Dobriyan wrote:
> As correctly noticed in bug 11446 (http://bugzilla.kernel.org/show_bug.cgi?id=11446)
> "To compile this driver as a module, blah-blah" boilerplate is being
> copy-pasted to death with slight variations.
> 
> Add Kconfig token "module_name" to supply module's name. Example:
> 
> 	config FOO
> 		tristate "foo"
> 		module_name foo
> 		---help---
> 		  foo
> 
> Print module's name as following on menuconfigs help screen (press 'h'):
> 
> 	Module name: foo
> 
> 8139too driver converted to show real-life example.
> 
> P.S.: menuconfig only, no checking wrt modular/standalone code et al.

Hi Alexey.

This is a baby step towards moving simple module stuff to Kconfig.
This is the way we want to go when someone cooks up proper support for that.

But we should do it in one go so when someone decide to visit the
8139too driver then they can do a full conversion to the "keep all
module definition in Kconfig" in one step.

Please see a few mails from Roman Zippel outlining his ideas.
I do not recall the details but I do recall that he suggested
to name the source files in Kconfig.

And when we do it we shall at least support it in menuconfig and xconfig.
config and gconfig can come later.

config and gconfig shall at least generate a correct config but may not
show all relavent info.

	Sam

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ