<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/scripts/kconfig/menu.c, branch v2.6.24</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/
</subtitle>
<id>https://git.shady.money/linux/atom?h=v2.6.24</id>
<link rel='self' href='https://git.shady.money/linux/atom?h=v2.6.24'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/'/>
<updated>2007-10-20T04:25:45Z</updated>
<entry>
<title>Revert "kconfig: tristate choices with mixed tristate and boolean values"</title>
<updated>2007-10-20T04:25:45Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@woody.linux-foundation.org</email>
</author>
<published>2007-10-20T04:25:45Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=e8b8c977734193adedf2b0f607d6252c78e86394'/>
<id>urn:sha1:e8b8c977734193adedf2b0f607d6252c78e86394</id>
<content type='text'>
This reverts commit a5bf3d891a6a0fb5aa122792d965e3774108b923.

David Brownell notes that this causes a regression visible in the
drivers/usb/gadget Kconfig file:

  "That Kconfig hasn't changed (other than adding new drivers), and it's
   worked that way for several years now ...  so the issue seems to be
   changes in menuconfig/kconfig/etc semantics.

   The issue is that when USB_GADGET=m, it's no longer possible to
   configure peripheral controller drivers as modules ...  the
   controller drivers can now only be configured for static linkage.

   It should be making a choice of one of the controller drivers which
   could work on the target system, and allow that driver to be linked
   either as a module (ok iff USB_GADGET=m) or statically."

Reverting this commit resolves the problem, and also fixes a second
problem that David noticed: various dependent options couldn't be enabled.

Tested-and-reported-by: David Brownell &lt;david-b@pacbell.net&gt;
Cc: Randy Dunlap &lt;rdunlap@xenotime.net&gt;
Cc: Jan Beulich &lt;jbeulich@novell.com&gt;,
Cc: Andrew Morton &lt;akpm@linux-foundation.org&gt;,
Cc: Sam Ravnborg &lt;sam@ravnborg.org&gt;,
Cc: Roman Zippel &lt;zippel@linux-m68k.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>kconfig: tristate choices with mixed tristate and boolean values</title>
<updated>2007-10-12T19:20:33Z</updated>
<author>
<name>Jan Beulich</name>
<email>jbeulich@novell.com</email>
</author>
<published>2007-10-02T20:46:49Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=a5bf3d891a6a0fb5aa122792d965e3774108b923'/>
<id>urn:sha1:a5bf3d891a6a0fb5aa122792d965e3774108b923</id>
<content type='text'>
Change kconfig behavior so that mixing bool and tristate config settings in
a choice is possible and has the desired effect of offering just the
tristate options individually if the choice gets set to M, and a normal
boolean selection if the choice gets set to Y.

Signed-off-by: Jan Beulich &lt;jbeulich@novell.com&gt;
Cc: Roman Zippel &lt;zippel@linux-m68k.org&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Sam Ravnborg &lt;sam@ravnborg.org&gt;
</content>
</entry>
<entry>
<title>kconfig: attach help text to menus</title>
<updated>2007-07-25T19:14:26Z</updated>
<author>
<name>Sam Ravnborg</name>
<email>sam@ravnborg.org</email>
</author>
<published>2007-07-20T22:00:36Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=03d29122738f0bd81afd44b1f566e64ebf8d06fe'/>
<id>urn:sha1:03d29122738f0bd81afd44b1f566e64ebf8d06fe</id>
<content type='text'>
Roman Zippel wrote:
&gt; A simple example would be
&gt; help texts, right now they are per symbol, but they should really be per
&gt; menu, so archs can provide different help texts for something.

This patch does this and at the same time introduce a few API
funtions used to access the help text.

The relevant api functions are introduced in the various frontends.

Signed-off-by: Sam Ravnborg &lt;sam@ravnborg.org&gt;
Cc: Roman Zippel &lt;zippel@linux-m68k.org&gt;
</content>
</entry>
<entry>
<title>kconfig: correct minor typo in Kconfig warning message.</title>
<updated>2007-05-02T18:58:12Z</updated>
<author>
<name>Robert P. J. Day</name>
<email>rpjday@mindspring.com</email>
</author>
<published>2007-04-30T19:44:27Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=1e093ecd4a850ad61b93d84c221e342a67ea9d56'/>
<id>urn:sha1:1e093ecd4a850ad61b93d84c221e342a67ea9d56</id>
<content type='text'>
Correct a minor spelling mistake in a Kconfig warning message.

Signed-off-by: Robert P. J. Day &lt;rpjday@mindspring.com&gt;
Signed-off-by: Sam Ravnborg &lt;sam@ravnborg.org&gt;
</content>
</entry>
<entry>
<title>kconfig: warn about leading whitespace for menu prompts</title>
<updated>2006-06-09T14:28:07Z</updated>
<author>
<name>Roman Zippel</name>
<email>zippel@linux-m68k.org</email>
</author>
<published>2006-06-09T05:12:48Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=f001f7f89689d3226678ab3986f3a486f54aa069'/>
<id>urn:sha1:f001f7f89689d3226678ab3986f3a486f54aa069</id>
<content type='text'>
Kconfig does its own indentation of menu prompts, so warn about and ignore
leading whitespace.  Remove also a few unnecessary newlines after other
warning prints.

Signed-off-by: Roman Zippel &lt;zippel@linux-m68k.org&gt;
Signed-off-by: Andrew Morton &lt;akpm@osdl.org&gt;
Signed-off-by: Sam Ravnborg &lt;sam@ravnborg.org&gt;
</content>
</entry>
<entry>
<title>kconfig: add defconfig_list/module option</title>
<updated>2006-06-09T05:31:30Z</updated>
<author>
<name>Roman Zippel</name>
<email>zippel@linux-m68k.org</email>
</author>
<published>2006-06-09T05:12:45Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=face4374e288372fba67c865eb0c92337f50d5a4'/>
<id>urn:sha1:face4374e288372fba67c865eb0c92337f50d5a4</id>
<content type='text'>
This makes it possible to change two options which were hardcoded sofar.
1. Any symbol can now take the role of CONFIG_MODULES
2. The more useful option is to change the list of default file names,
   which kconfig uses to load the base configuration if .config isn't
   available.

Signed-off-by: Roman Zippel &lt;zippel@linux-m68k.org&gt;
Signed-off-by: Andrew Morton &lt;akpm@osdl.org&gt;
Signed-off-by: Sam Ravnborg &lt;sam@ravnborg.org&gt;
</content>
</entry>
<entry>
<title>kconfig: add symbol option config syntax</title>
<updated>2006-06-09T05:31:30Z</updated>
<author>
<name>Roman Zippel</name>
<email>zippel@linux-m68k.org</email>
</author>
<published>2006-06-09T05:12:44Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=f6a88aa86027bdecfc74ef7c6bf6c68233e86bb3'/>
<id>urn:sha1:f6a88aa86027bdecfc74ef7c6bf6c68233e86bb3</id>
<content type='text'>
This adds the general framework to the parser to define options for config
symbols with a syntax like:

config FOO
	option bar[="arg"]

Signed-off-by: Roman Zippel &lt;zippel@linux-m68k.org&gt;
Signed-off-by: Andrew Morton &lt;akpm@osdl.org&gt;
Signed-off-by: Sam Ravnborg &lt;sam@ravnborg.org&gt;
</content>
</entry>
<entry>
<title>[PATCH] kconfig: improve error handling in the parser</title>
<updated>2005-11-09T15:55:54Z</updated>
<author>
<name>Roman Zippel</name>
<email>zippel@linux-m68k.org</email>
</author>
<published>2005-11-09T05:34:53Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=a02f0570ae201c495ee991b959bb974af18f35cc'/>
<id>urn:sha1:a02f0570ae201c495ee991b959bb974af18f35cc</id>
<content type='text'>
Add a few error tokens to the parser to catch common errors and print more
descriptive error messages.

Signed-off-by: Roman Zippel &lt;zippel@linux-m68k.org&gt;
Cc: Sam Ravnborg &lt;sam@ravnborg.org&gt;
Signed-off-by: Andrew Morton &lt;akpm@osdl.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
</content>
</entry>
<entry>
<title>[PATCH] kconfig: allow variable argumnts for range</title>
<updated>2005-11-09T15:55:53Z</updated>
<author>
<name>Roman Zippel</name>
<email>zippel@linux-m68k.org</email>
</author>
<published>2005-11-09T05:34:49Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=4cf3cbe2a9682242cd38897914b1f2a95f1db7e4'/>
<id>urn:sha1:4cf3cbe2a9682242cd38897914b1f2a95f1db7e4</id>
<content type='text'>
This allows variable arguments in the range option for int and hex config
symbols.

Signed-off-by: Roman Zippel &lt;zippel@linux-m68k.org&gt;
Cc: Sam Ravnborg &lt;sam@ravnborg.org&gt;
Signed-off-by: Andrew Morton &lt;akpm@osdl.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
</content>
</entry>
<entry>
<title>[PATCH] kconfig: trivial cleanup</title>
<updated>2005-07-28T21:19:01Z</updated>
<author>
<name>blaisorblade@yahoo.it</name>
<email>blaisorblade@yahoo.it</email>
</author>
<published>2005-07-28T15:56:25Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=fb7f6ff614f3ead2ca41bb4a348b9ea431d95176'/>
<id>urn:sha1:fb7f6ff614f3ead2ca41bb4a348b9ea431d95176</id>
<content type='text'>
Replace all menu_add_prop mimicking menu_add_prompt with the latter func. I've
had to add a return value to menu_add_prompt for one usage.

I've rebuilt scripts/kconfig/zconf.tab.c_shipped by hand to reflect changes
in the source (I've not the same Bison version so regenerating it wouldn't
have been not a good idea), and compared it with what Roman itself did some
time ago, and it's the same.

So I guess this can be finally merged.

Signed-off-by: Paolo 'Blaisorblade' Giarrusso &lt;blaisorblade@yahoo.it&gt;
Signed-off-by: Sam Ravnborg &lt;sam@ravnborg.org&gt;
</content>
</entry>
</feed>
