<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/scripts/kconfig, branch v2.6.28</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.28</id>
<link rel='self' href='https://git.shady.money/linux/atom?h=v2.6.28'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/'/>
<updated>2008-10-26T16:35:05Z</updated>
<entry>
<title>fix allmodconfig breakage</title>
<updated>2008-10-26T16:35:05Z</updated>
<author>
<name>Al Viro</name>
<email>viro@ZenIV.linux.org.uk</email>
</author>
<published>2008-10-26T05:12:34Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=ce97e13e52848c6388598696b7d44748598db759'/>
<id>urn:sha1:ce97e13e52848c6388598696b7d44748598db759</id>
<content type='text'>
If you use KCONFIG_ALLCONFIG (even with empty file) you get broken
allmodconfig/allyesconfig; CONFIG_MODULES gets turned off, with obvious
massive fallout.

Breakage had been introduced when conf_set_all_new_symbols() got used
for allmodconfig et.al.

What happens is that sym_calc_value(modules_sym) done in
conf_read_simple() sets SYMBOL_VALID on both modules_sym and MODULES.
When we get to conf_set_all_new_symbols(), we set sym-&gt;def[S_DEF_USER]
on everything, but it has no effect on sym-&gt;curr for the symbols that
already have SYMBOL_VALID - these are stuck.

Solution: use sym_clear_all_valid() in there.  Note that it makes
reevaluation of modules_sym redundant - sym_clear_all_valid() will do
that itself.

[ Fixes http://bugzilla.kernel.org/show_bug.cgi?id=11512, says Alexey ]

Signed-off-by: Al Viro &lt;viro@zeniv.linux.org.uk&gt;
Cc: Sam Ravnborg &lt;sam@ravnborg.org&gt;
Cc: Roman Zippel &lt;zippel@linux-m68k.org&gt;
Cc: Alexey Dobriyan &lt;adobriyan@gmail.com&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>x86, um: get rid of arch/um/Kconfig.arch</title>
<updated>2008-10-23T05:55:23Z</updated>
<author>
<name>Al Viro</name>
<email>viro@zeniv.linux.org.uk</email>
</author>
<published>2008-08-25T08:51:27Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=61bee20445935ee9802d25c261849440497497d3'/>
<id>urn:sha1:61bee20445935ee9802d25c261849440497497d3</id>
<content type='text'>
Teach scripts/kconfig/Makefile and top-level Makefile that arch/*/Makefile
is allowed to say Kconfig := &lt;whatever I want instead of arch/blah/Kconfig&gt;.
Rewrite arch/um/Kconfig and arch/um/Kconfig.&lt;subarch&gt; so that the latter
would be top-level one (and include the pieces of the former).

Signed-off-by: Al Viro &lt;viro@zeniv.linux.org.uk&gt;
Signed-off-by: H. Peter Anvin &lt;hpa@zytor.com&gt;
</content>
</entry>
<entry>
<title>kconfig: readd lost change count</title>
<updated>2008-09-29T15:03:01Z</updated>
<author>
<name>zippel@linux-m68k.org</name>
<email>zippel@linux-m68k.org</email>
</author>
<published>2008-09-29T03:27:11Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=661b0680f736e628a6da1cc030c201646587d658'/>
<id>urn:sha1:661b0680f736e628a6da1cc030c201646587d658</id>
<content type='text'>
Commit f072181e6403b0fe2e2aa800a005497b748fd284 ("kconfig: drop the
""trying to assign nonexistent symbol" warning") simply dropped the
warnings, but it does a little more than that, it also marks the current
.config as needed saving, so add this back.

Signed-off-by: Roman Zippel &lt;zippel@linux-m68k.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>kconfig: fix silentoldconfig</title>
<updated>2008-09-29T15:03:01Z</updated>
<author>
<name>zippel@linux-m68k.org</name>
<email>zippel@linux-m68k.org</email>
</author>
<published>2008-09-29T03:27:10Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=204c96f609045a8ce84d1dca3e758ee9b0b2a95c'/>
<id>urn:sha1:204c96f609045a8ce84d1dca3e758ee9b0b2a95c</id>
<content type='text'>
Recent changes to oldconfig have mixed up the silentoldconfig handling,
so this fixes that by clearly separating that special mode, e.g.
KCONFIG_NOSILENTUPDATE is only relevant here, the .config is written as
needed.

This will also properly close Bug 11230.

Signed-off-by: Roman Zippel &lt;zippel@linux-m68k.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>kconfig: drop the ""trying to assign nonexistent symbol" warning</title>
<updated>2008-08-04T20:29:37Z</updated>
<author>
<name>Sam Ravnborg</name>
<email>sam@ravnborg.org</email>
</author>
<published>2008-08-04T20:29:37Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=f072181e6403b0fe2e2aa800a005497b748fd284'/>
<id>urn:sha1:f072181e6403b0fe2e2aa800a005497b748fd284</id>
<content type='text'>
They really stand out now that make *config is less chatty - and
they are generally ignored - so drop them.

Signed-off-by: Sam Ravnborg &lt;sam@ravnborg.org&gt;
Cc: Roman Zippel &lt;zippel@linux-m68k.org&gt;
Cc: Adrian Bunk &lt;bunk@kernel.org&gt;
</content>
</entry>
<entry>
<title>kconfig: always write out .config</title>
<updated>2008-08-04T20:18:07Z</updated>
<author>
<name>Sam Ravnborg</name>
<email>sam@ravnborg.org</email>
</author>
<published>2008-08-04T20:18:07Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=22127f246dc37ed5bea0915f7860002ba6d87da7'/>
<id>urn:sha1:22127f246dc37ed5bea0915f7860002ba6d87da7</id>
<content type='text'>
Always write out .config also in the case where config
did not change.
This fixes: http://bugzilla.kernel.org/show_bug.cgi?id=11230

Signed-off-by: Sam Ravnborg &lt;sam@ravnborg.org&gt;
Cc: Josh Boyer &lt;jwboyer@linux.vnet.ibm.com&gt;
Cc: Adrian Bunk &lt;bunk@kernel.org&gt;
</content>
</entry>
<entry>
<title>kconfig: scripts/kconfig/zconf.l: add %option noinput</title>
<updated>2008-07-30T20:29:50Z</updated>
<author>
<name>Adrian Bunk</name>
<email>bunk@kernel.org</email>
</author>
<published>2008-07-16T23:07:59Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=be2be1d59035a28debb22555f103e676a8f74186'/>
<id>urn:sha1:be2be1d59035a28debb22555f103e676a8f74186</id>
<content type='text'>
gcc 4.3 correctly determines that input() is unused and gives the
following warning:

&lt;--  snip  --&gt;

...
  HOSTCC  scripts/kconfig/zconf.tab.o
scripts/kconfig/lex.zconf.c:1628: warning: ‘input’ defined but not used
...

&lt;--  snip  --&gt;

Fix it by adding %option noinput to scripts/kconfig/zconf.l and
regeneration of scripts/kconfig/lex.zconf.c_shipped.

Signed-off-by: Adrian Bunk &lt;bunk@kernel.org&gt;
Cc: Roman Zippel &lt;zippel@linux-m68k.org&gt;
Signed-off-by: Sam Ravnborg &lt;sam@ravnborg.org&gt;
</content>
</entry>
<entry>
<title>kconfig: make defconfig is no longer chatty</title>
<updated>2008-07-25T20:12:51Z</updated>
<author>
<name>Sam Ravnborg</name>
<email>sam@ravnborg.org</email>
</author>
<published>2008-06-30T21:02:59Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=09748e178b6cb8d3b8a748d0159aa7ad8eadcbe1'/>
<id>urn:sha1:09748e178b6cb8d3b8a748d0159aa7ad8eadcbe1</id>
<content type='text'>
make defconfig generated a lot of output
then noone actually read.
Use conf_set_all_new_symbols() to generate the default
configuration and avoid the chatty output.

A typical run now looks like this:
$ make  defconfig
*** Default configuration is based on 'i386_defconfig'
arch/x86/configs/i386_defconfig:13:warning: trying to assign nonexistent symbol SEMAPHORE_SLEEPERS
arch/x86/configs/i386_defconfig:176:warning: trying to assign nonexistent symbol PREEMPT_BKL
...
arch/x86/configs/i386_defconfig:1386:warning: trying to assign nonexistent symbol INSTRUMENTATION
$

As an added benefit we now clearly see the warnings generated
in the start of the process.

Signed-off-by: Sam Ravnborg &lt;sam@ravnborg.org&gt;
Cc: Roman Zippel &lt;zippel@linux-m68k.org&gt;
</content>
</entry>
<entry>
<title>kconfig: make oldconfig is now less chatty</title>
<updated>2008-07-25T20:12:50Z</updated>
<author>
<name>Sam Ravnborg</name>
<email>sam@ravnborg.org</email>
</author>
<published>2008-06-30T20:53:04Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=cd9140e1e73a31fd45f1fd4585260643a2f9ab1d'/>
<id>urn:sha1:cd9140e1e73a31fd45f1fd4585260643a2f9ab1d</id>
<content type='text'>
Previously when running "make oldconfig" we saw all the propmt lines
from kconfig and noone actully read this.

With this patch the user will only see output if there is new symbols.
This will be seen as "make oldconfig" runs which does not generate any output.

A typical run now looks like this:

$ make oldconfig
scripts/kconfig/conf -o arch/x86/Kconfig
$

If a new symbol is found then we restart the config process like this:
$ make oldconfig
scripts/kconfig/conf -o arch/x86/Kconfig
*
* Restart config...
*
*
* General setup
*
Prompt for development and/or incomplete code/drivers (EXPERIMENTAL) [Y/n/?] y
Local version - append to kernel release (LOCALVERSION) []
...

The bahaviour is similar to what we know when running the implicit
oldconfig target "make silentoldconfig".
"make silentoldconfig" are run as part of the kernel build process
if the configuration has changed.

Signed-off-by: Sam Ravnborg &lt;sam@ravnborg.org&gt;
Cc: Roman Zippel &lt;zippel@linux-m68k.org&gt;
</content>
</entry>
<entry>
<title>kconfig: speed up all*config + randconfig</title>
<updated>2008-07-25T20:12:49Z</updated>
<author>
<name>Sam Ravnborg</name>
<email>sam@ravnborg.org</email>
</author>
<published>2008-06-30T20:45:38Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=f443d2eccf077afd8a839cc7ed66cc4d520c5f05'/>
<id>urn:sha1:f443d2eccf077afd8a839cc7ed66cc4d520c5f05</id>
<content type='text'>
Drop the chatty mode when we generate the all*config, randconfig
configurations.
Ths speeds up the process considerably and noone looked
at the output anyway.
This patch uses the conf_set_all_new_symbols() function
just added to kconfig.

Signed-off-by: Sam Ravnborg &lt;sam@ravnborg.org&gt;
Cc: Roman Zippel &lt;zippel@linux-m68k.org&gt;
</content>
</entry>
</feed>
