<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/scripts/kconfig/zconf.y, branch linux-2.6.23.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.23.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.23.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2007-07-25T19:14:26Z</updated>
<entry>
<title>kconfig: attach help text to menus</title>
<updated>2007-07-25T19:14:26Z</updated>
<author>
<name>Sam Ravnborg</name>
</author>
<published>2007-07-20T22:00:36Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/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: error out if recursive dependencies are found</title>
<updated>2007-05-06T07:20:10Z</updated>
<author>
<name>Sam Ravnborg</name>
</author>
<published>2007-05-06T07:20:10Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=5447d34b080a1e3e312b05a91e87eff4710a1152'/>
<id>urn:sha1:5447d34b080a1e3e312b05a91e87eff4710a1152</id>
<content type='text'>
Sample:
config FOO
	bool "This is foo"
	depends on BAR

config BAR
	bool "This is bar"
	depends on FOO

This will result in following error message:
error: found recursive dependency: FOO -&gt; BAR -&gt; FOO

And will then exit with exit code equal 1 so make will stop.
Inspired by patch from: Adrian Bunk &lt;bunk@stusta.de&gt;

Signed-off-by: Sam Ravnborg &lt;sam@ravnborg.org&gt;
Cc: Adrian Bunk &lt;bunk@stusta.de&gt;
Cc: Roman Zippel &lt;zippel@linux-m68k.org&gt;
</content>
</entry>
<entry>
<title>[PATCH] kconfig: make sym_change_count static, let it be altered by 2 functions only</title>
<updated>2006-12-13T17:05:48Z</updated>
<author>
<name>Karsten Wiese</name>
</author>
<published>2006-12-13T08:34:07Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=bfc10001b11e51b59ac901d17c5f05361bd2351d'/>
<id>urn:sha1:bfc10001b11e51b59ac901d17c5f05361bd2351d</id>
<content type='text'>
Those two functions are
	void sym_set_change_count(int count)
and
	void sym_add_change_count(int count)

All write accesses to sym_change_count are replaced by calls to above
functions.

Variable and changer-functions are moved to confdata.c.  IMO thats ok, as
sym_change_count is an attribute of the .config's change state.

Signed-off-by: Karsten Wiese &lt;fzu@wemgehoertderstaat.de&gt;
Cc: Sam Ravnborg &lt;sam@ravnborg.org&gt;
Cc: Roman Zippel &lt;zippel@linux-m68k.org&gt;
Acked-by: Randy Dunlap &lt;randy.dunlap@oracle.com&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>kconfig: add defconfig_list/module option</title>
<updated>2006-06-09T05:31:30Z</updated>
<author>
<name>Roman Zippel</name>
</author>
<published>2006-06-09T05:12:45Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/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>
</author>
<published>2006-06-09T05:12:44Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/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>
</author>
<published>2005-11-09T05:34:53Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/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: simplify symbol type parsing</title>
<updated>2005-11-09T15:55:54Z</updated>
<author>
<name>Roman Zippel</name>
</author>
<published>2005-11-09T05:34:52Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=3370f9f0d9c7d14bf71aab27fa45c0537f130614'/>
<id>urn:sha1:3370f9f0d9c7d14bf71aab27fa45c0537f130614</id>
<content type='text'>
This simplifies the parser a bit by merging the various symbol types into a
single token and adds the type to the keyword hash.

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: use gperf for kconfig keywords</title>
<updated>2005-11-09T15:55:53Z</updated>
<author>
<name>Roman Zippel</name>
</author>
<published>2005-11-09T05:34:51Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=7a88488bbc231e48a4a88ee2569bc0cc5d706f0a'/>
<id>urn:sha1:7a88488bbc231e48a4a88ee2569bc0cc5d706f0a</id>
<content type='text'>
Use gperf to generate a hash for the kconfig keywords.  This greatly reduces
the size of the generated scanner and makes it easier to extend kconfig.

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: Fix Kconfig performance bug</title>
<updated>2005-11-09T15:55:53Z</updated>
<author>
<name>David Gibson</name>
</author>
<published>2005-11-09T05:34:46Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=3f04e7ddf47a1c821dfaa886161d94774af583fa'/>
<id>urn:sha1:3f04e7ddf47a1c821dfaa886161d94774af583fa</id>
<content type='text'>
When doing its recursive dependency check, scripts/kconfig/conf uses the flag
SYMBOL_CHECK_DONE to avoid rechecking a symbol it has already checked.
However, that flag is only set at the top level, so if a symbol is first
encountered as a dependency of another symbol it will be rechecked every time
it is encountered until it's encountered at the top level.

This patch adjusts the flag setting so that each symbol will only be checked
once, regardless of whether it is first encountered at the top level, or while
recursing down from another symbol.  On complex configurations, this vastly
speeds up scripts/kconfig/conf.  The config in the powerpc merge tree is
particularly bad: this patch reduces the time for 'scripts/kconfig/conf -o
arch/powerpc/Kconfig' by a factor of 40 on a G5.  That's even including the
time to print the config, so the speedup in the actual checking is more likely
2 or 3 orders of magnitude.

Signed-off-by: David Gibson &lt;david@gibson.dropbear.id.au&gt;
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>
</author>
<published>2005-07-28T15:56:25Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/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>
