<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel/linux.git/scripts/kconfig/streamline_config.pl, branch v3.0.75</title>
<subtitle>Linux kernel stable tree (mirror)</subtitle>
<id>https://git.radix-linux.su/kernel/linux.git/atom?h=v3.0.75</id>
<link rel='self' href='https://git.radix-linux.su/kernel/linux.git/atom?h=v3.0.75'/>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/'/>
<updated>2012-01-26T01:24:47+00:00</updated>
<entry>
<title>kconfig/streamline-config.pl: Fix parsing Makefile with variables</title>
<updated>2012-01-26T01:24:47+00:00</updated>
<author>
<name>Steven Rostedt</name>
<email>srostedt@redhat.com</email>
</author>
<published>2012-01-13T22:53:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=adc0186cfa38e2736048a638681db511e65e51fd'/>
<id>urn:sha1:adc0186cfa38e2736048a638681db511e65e51fd</id>
<content type='text'>
commit 364212fddaaa60c5a64f67a0f5624ad996ecc8a0 upstream.

Thomas Lange reported that when he did a 'make localmodconfig', his
config was missing the brcmsmac driver, even though he had the module
loaded.

Looking into this, I found the file:
drivers/net/wireless/brcm80211/brcmsmac/Makefile
had the following in the Makefile:

MODULEPFX := brcmsmac

obj-$(CONFIG_BRCMSMAC)  += $(MODULEPFX).o

The way streamline-config.pl works, is parsing all the
 obj-$(CONFIG_FOO) += foo.o
lines to find that CONFIG_FOO belongs to the module foo.ko.

But in this case, the brcmsmac.o was not used, but a variable in its place.

By changing streamline-config.pl to remember defined variables in Makefiles
and substituting them when they are used in the obj-X lines, allows
Thomas (and others) to have their brcmsmac module stay configured
when it is loaded and running "make localmodconfig".

Reported-by: Thomas Lange &lt;thomas-lange2@gmx.de&gt;
Tested-by: Thomas Lange &lt;thomas-lange2@gmx.de&gt;
Cc: Arend van Spriel &lt;arend@broadcom.com&gt;
Signed-off-by: Steven Rostedt &lt;rostedt@goodmis.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
</entry>
<entry>
<title>kconfig/streamline-config.pl: Simplify backslash line concatination</title>
<updated>2012-01-26T01:24:47+00:00</updated>
<author>
<name>Steven Rostedt</name>
<email>srostedt@redhat.com</email>
</author>
<published>2012-01-13T22:50:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=e5303c25bfacd745f6c6b99a2604ef4e11926c34'/>
<id>urn:sha1:e5303c25bfacd745f6c6b99a2604ef4e11926c34</id>
<content type='text'>
commit d060d963e88f3e990cec2fe5214de49de9a49eca upstream.

Simplify the way lines ending with backslashes (continuation) in Makefiles
is parsed. This is needed to implement a necessary fix.

Tested-by: Thomas Lange &lt;thomas-lange2@gmx.de&gt;
Signed-off-by: Steven Rostedt &lt;rostedt@goodmis.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
</entry>
<entry>
<title>trivial: Fix Steven's Copyright typos</title>
<updated>2011-02-08T22:14:31+00:00</updated>
<author>
<name>Uwe Kleine-König</name>
<email>u.kleine-koenig@pengutronix.de</email>
</author>
<published>2011-01-24T20:12:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=cce1dac871f387d0f3da81440d85bd387d8fd5a6'/>
<id>urn:sha1:cce1dac871f387d0f3da81440d85bd387d8fd5a6</id>
<content type='text'>
OK, the copyright allows you to write a copy, still I think the lawyers
prefer the correct spelling.

Signed-off-by: Uwe Kleine-König &lt;u.kleine-koenig@pengutronix.de&gt;
LKML-Reference: &lt;1295899921-11333-1-git-send-email-u.kleine-koenig@pengutronix.de&gt;
Signed-off-by: Steven Rostedt &lt;rostedt@goodmis.org&gt;
</content>
</entry>
<entry>
<title>kconfig: Have streamline_config process menuconfigs too</title>
<updated>2010-10-29T05:07:23+00:00</updated>
<author>
<name>Steven Rostedt</name>
<email>srostedt@redhat.com</email>
</author>
<published>2010-10-29T02:21:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=8ef17fa2ef8be74b946e725c2afb0e2a54981da1'/>
<id>urn:sha1:8ef17fa2ef8be74b946e725c2afb0e2a54981da1</id>
<content type='text'>
Some menuconfigs in the Kconfig files have prompts and dependencies.
Currently, streamline_config misses these, and this can cause
streamline_config to keep modules enabled that should not be, and
even worse, not enable those that should.

This patch makes streamline_config process menuconfigs just like it
would process a config.

Reported-by: member graysky &lt;graysky@archlinux.us&gt;
Signed-off-by: Steven Rostedt &lt;rostedt@goodmis.org&gt;
</content>
</entry>
<entry>
<title>kconfig: Fix streamline_config to read multi line deps in Kconfig files</title>
<updated>2010-10-29T05:07:10+00:00</updated>
<author>
<name>Steven Rostedt</name>
<email>srostedt@redhat.com</email>
</author>
<published>2010-10-29T02:13:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=20d190473328b90755eb2434cf2d26b73a53ef23'/>
<id>urn:sha1:20d190473328b90755eb2434cf2d26b73a53ef23</id>
<content type='text'>
I noticed that some Kconfig files have multi line dependencies
that continue with a backslash. Those dependencies on the next
line will be missed by streamline_config.

For example:

config CS89x0
	tristate "CS89x0 support"
	depends on NET_ETHERNET &amp;&amp; (ISA || EISA || MACH_IXDP2351 \
		|| ARCH_IXDP2X01 || MACH_MX31ADS)

The "|| ARCH_IXDP2X01 || MACH_MX31ADS)" will not be processed.

This patch adds code to handle this case.

Signed-off-by: Steven Rostedt &lt;rostedt@goodmis.org&gt;
</content>
</entry>
<entry>
<title>kconfig: Fix missing declaration of variable $dir in streamline_config.pl</title>
<updated>2010-10-29T05:04:16+00:00</updated>
<author>
<name>hiromu</name>
<email>hiromu1996@gmail.com</email>
</author>
<published>2010-08-17T10:49:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=cf5a189d4a02efb3712cfb424452f4ce3ab7c4a2'/>
<id>urn:sha1:cf5a189d4a02efb3712cfb424452f4ce3ab7c4a2</id>
<content type='text'>
On Fri, Aug 17, 2010 at 01:43PM +0800, Américo Wang wrote:
&gt; Acked-by: WANG Cong &lt;xiyou.wangcong@gmail.com&gt;
&gt;
&gt; BTW, I think we should add "use strict;" too.

Then I added "use strict;" to streamline_config.pl, I saw another
warning.

&gt; Global symbol "$dir" requires explicit package name at
scripts/kconfig/streamline_config.pl line 286.
&gt; Global symbol "$dir" requires explicit package name at
scripts/kconfig/streamline_config.pl line 287.
&gt; Global symbol "$dir" requires explicit package name at
scripts/kconfig/streamline_config.pl line 288.

Then I added "my $dir;" to line 285.

Cc: Américo Wang &lt;xiyou.wangcong@gmail.com&gt;
Cc: Toralf Foerster &lt;toralf.foerster@gmx.de&gt;
Cc: KAMEZAWA Hiroyuki &lt;kamezawa.hiroyu@jp.fujitsu.com&gt;
Cc: YOSHIFUJI Hideaki &lt;yoshfuji@linux-ipv6.org&gt;
Signed-off-by: Hiromu Yakura &lt;hiromu1996@gmail.com&gt;
LKML-Reference: &lt;1282042158.7160.9.camel@hiromu-Macbook&gt;

[ changed to just add my in front of $dir instead of new line ]

Signed-off-by: Steven Rostedt &lt;rostedt@goodmis.org&gt;
</content>
</entry>
<entry>
<title>kconfig: Fix variable name typo %prompts in streamline_config.pl</title>
<updated>2010-10-29T05:04:14+00:00</updated>
<author>
<name>hiromu yagura</name>
<email>hiromu1996@gmail.com</email>
</author>
<published>2010-08-15T04:13:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=ccece60ac69608c496b07c0d31a68894db0a22b3'/>
<id>urn:sha1:ccece60ac69608c496b07c0d31a68894db0a22b3</id>
<content type='text'>
When I added "use strict;" to streamline_config.pl, I saw the following
warnings:

&gt; Global symbol "%prompt" requires explicit package name at
scripts/kconfig/streamline_config.pl line 183.
&gt; Global symbol "%prompt" requires explicit package name at
scripts/kconfig/streamline_config.pl line 368.

The declaration of %prompt was incorrect, and should have been %prompts.

Cc: Toralf Foerster &lt;toralf.foerster@gmx.de&gt;
Cc: KAMEZAWA Hiroyuki &lt;kamezawa.hiroyu@jp.fujitsu.com&gt;
Cc: YOSHIFUJI Hideaki &lt;yoshfuji@linux-ipv6.org&gt;
Signed-off-by: Hiromu Yakura &lt;hiromu1996@gmail.com&gt;
LKML-Reference: &lt;1281845597.11566.5.camel@camp10-laptop&gt;
Signed-off-by: Steven Rostedt &lt;rostedt@goodmis.org&gt;
</content>
</entry>
<entry>
<title>kconfig: Make localmodconfig handle environment variables</title>
<updated>2010-10-29T05:03:42+00:00</updated>
<author>
<name>Steven Rostedt</name>
<email>srostedt@redhat.com</email>
</author>
<published>2010-10-29T04:56:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=4908980b241bc639b71ef47b727b4bc7c0174afe'/>
<id>urn:sha1:4908980b241bc639b71ef47b727b4bc7c0174afe</id>
<content type='text'>
The commit 838a2e55e6a4e9e8a10451ed2ef0f7a08dabdb04
 kbuild: migrate all arch to the kconfig mainmenu upgrade

Broke make localmodconfig. The reason was that it added a
environment variable to the kconfig source, which the
streamline_config.pl could not handle.

This patch changes streamline_config.pl to handle kconfig sources
using environment variables in their names.

Cc: Arnaud Lacombe &lt;lacombar@gmail.com&gt;
Cc: Sam Ravnborg &lt;sam@ravnborg.org&gt;
Cc: Michal Marek &lt;mmarek@suse.cz&gt;
Signed-off-by: Steven Rostedt &lt;rostedt@goodmis.org&gt;
</content>
</entry>
<entry>
<title>kconfig: Hide error output in find command in streamline_config.pl</title>
<updated>2010-05-28T14:34:41+00:00</updated>
<author>
<name>Toralf Förster</name>
<email>toralf.foerster@gmx.de</email>
</author>
<published>2010-05-26T18:22:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=17431928194b36a0f88082df875e2e036da7fddf'/>
<id>urn:sha1:17431928194b36a0f88082df875e2e036da7fddf</id>
<content type='text'>
Finding the list of Makefiles in streamline-config should not report errors.

Also move the "chomp" to the @makefiles array instead of doing it in the
for loop. This is more efficient, and does not make it any less readable
by C programmers.

Signed-off-by: Toralf Foerster &lt;toralf.foerster@gmx.de&gt;
LKML-Reference: &lt;201005262022.02928.toralf.foerster@gmx.de&gt;
Signed-off-by: Steven Rostedt &lt;rostedt@goodmis.org&gt;
</content>
</entry>
<entry>
<title>kconfig: Fix typo in comment in streamline_config.pl</title>
<updated>2010-05-28T14:34:07+00:00</updated>
<author>
<name>Toralf Foerster</name>
<email>toralf.foerster@gmx.de</email>
</author>
<published>2010-05-28T08:25:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=1d1d1feafd5d42e9e1312d42973e661582e51704'/>
<id>urn:sha1:1d1d1feafd5d42e9e1312d42973e661582e51704</id>
<content type='text'>
Signed-off-by: Toralf Foerster &lt;toralf.foerster@gmx.de&gt;
LKML-Reference: &lt;201005281025.52753.toralf.foerster@gmx.de&gt;
Signed-off-by: Steven Rostedt &lt;rostedt@goodmis.org&gt;
</content>
</entry>
</feed>
