<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/scripts/kconfig, branch v3.3</title>
<subtitle>Linux kernel source tree</subtitle>
<id>https://git.amat.us/linux/atom/scripts/kconfig?h=v3.3</id>
<link rel='self' href='https://git.amat.us/linux/atom/scripts/kconfig?h=v3.3'/>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/'/>
<updated>2012-01-16T22:35:34Z</updated>
<entry>
<title>Merge branch 'kconfig' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild</title>
<updated>2012-01-16T22:35:34Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@linux-foundation.org</email>
</author>
<published>2012-01-16T22:35:34Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=287b901dcadd7eb3c5aa93b679bbad4058814921'/>
<id>urn:sha1:287b901dcadd7eb3c5aa93b679bbad4058814921</id>
<content type='text'>
* 'kconfig' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild:
  menuconfig: fix a regression when canceling the prompt dialog at exit
  kbuild: Fix compiler warning with assertion when calling 'fwrite'
  Improve update-po-config output
  menuconfig: let make not report error when not save configuration
  merge_config.sh: fix bug in final check
  merge_config.sh: whitespace cleanup
  merge_config.sh: use signal names compatible with dash and bash
  kconfig: add merge_config.sh script
  kconfig: use xfwrite wrapper function to silence warnings
  kconfig: fix set but not used warnings
  kconfig: fix warnings by specifing format arguments
</content>
</entry>
<entry>
<title>menuconfig: fix a regression when canceling the prompt dialog at exit</title>
<updated>2012-01-16T13:40:16Z</updated>
<author>
<name>Li Zefan</name>
<email>lizf@cn.fujitsu.com</email>
</author>
<published>2012-01-16T07:57:39Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=30c4eaafac80cc110efa66d2dfc551386eefdf53'/>
<id>urn:sha1:30c4eaafac80cc110efa66d2dfc551386eefdf53</id>
<content type='text'>
This commit fixes a bug, while introducing a new one..

commit 7203ddbd4be9720649e47d756a001e0c7d7f8ae2
Author: Wang YanQing &lt;udknight@gmail.com&gt;
Date:   Thu Jan 12 11:31:32 2012 +0800

    menuconfig: let make not report error when not save configuration

Pressing ESC should cancel the yes/no dialog and return back to
the main menu, but not exit from menuconfig.

Signed-off-by: Li Zefan &lt;lizf@cn.fujitsu.com&gt;
Acked-by: Wang YanQing &lt;udknight@gmail.com&gt;
Signed-off-by: Michal Marek &lt;mmarek@suse.cz&gt;
</content>
</entry>
<entry>
<title>kbuild: Fix compiler warning with assertion when calling 'fwrite'</title>
<updated>2012-01-14T23:17:18Z</updated>
<author>
<name>Arnaud Lacombe</name>
<email>lacombar@gmail.com</email>
</author>
<published>2011-11-23T18:05:53Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=37ae2d5998aa29d8bf52f124199a21341bc6d18d'/>
<id>urn:sha1:37ae2d5998aa29d8bf52f124199a21341bc6d18d</id>
<content type='text'>
Reinhard Tartler discovered a corner case of calling xfwrite() where the
length of the string is zero.

Arnaud Lacombe suggested to use assertion for the corner case, as
fwrite(3) is currently used:

 1) in comment printers. Empty comment are not allowed.
 2) in a callback passed to expr_print(), where the string printed is
    either NULL OR non-empty.
 3) in the lexer, auto-generated, and unused.

I feel using assertion is a good solution:

 1) It cleanly takes care of the above-mentioned corner case.
 2) It can be easily disabled by defining NDEBUG.
 3) It asserts xfwrite() is simply a wrapper for fwrite().

Reported-by: Reinhard Tartler &lt;Reinhard.Tartler@informatik.uni-erlangen.de&gt;
Signed-off-by: Arnaud Lacombe &lt;lacombar@gmail.com&gt;
Signed-off-by: Jean Sacren &lt;sakiwit@gmail.com&gt;
Signed-off-by: Michal Marek &lt;mmarek@suse.cz&gt;
</content>
</entry>
<entry>
<title>Improve update-po-config output</title>
<updated>2012-01-14T23:13:53Z</updated>
<author>
<name>Peter Foley</name>
<email>pefoley2@verizon.net</email>
</author>
<published>2011-12-18T23:15:16Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=e2aef4d33ac43ec45e4fc2903288030d7f464832'/>
<id>urn:sha1:e2aef4d33ac43ec45e4fc2903288030d7f464832</id>
<content type='text'>
Make the V=0 output from update-po-config be aligned correctly.
Also remove an outdated comment and add a "GEN" statement.

Signed-off-by: Peter Foley &lt;pefoley2@verizon.net&gt;
Signed-off-by: Michal Marek &lt;mmarek@suse.cz&gt;
</content>
</entry>
<entry>
<title>menuconfig: let make not report error when not save configuration</title>
<updated>2012-01-14T20:54:32Z</updated>
<author>
<name>Wang YanQing</name>
<email>udknight@gmail.com</email>
</author>
<published>2012-01-12T03:31:32Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=c55ac154019f628b42316bc21545ee1b2bee3db6'/>
<id>urn:sha1:c55ac154019f628b42316bc21545ee1b2bee3db6</id>
<content type='text'>
I find every time when I choice the 'NO' button at the dialog
which let me choice whether to save the configuration before exit
menuconfig, it always report the blow:

" GEN     /mnt/sda7/home/build/test/Makefile
  HOSTCC  scripts/kconfig/mconf.o
  HOSTLD  scripts/kconfig/mconf
scripts/kconfig/mconf Kconfig

Your configuration changes were NOT saved.

make[2]: *** [menuconfig] Error 1
make[1]: *** [menuconfig] Error 2
make: *** [sub-make] Error 2 "

This patch repair it.

Signed-off-by: Wang YanQing &lt;udknight@gmail.com&gt;
Acked-by: Davidlohr Bueso &lt;dave@gnu.org&gt;
Signed-off-by: Michal Marek &lt;mmarek@suse.cz&gt;
</content>
</entry>
<entry>
<title>merge_config.sh: fix bug in final check</title>
<updated>2012-01-14T20:44:29Z</updated>
<author>
<name>John Stultz</name>
<email>john.stultz@linaro.org</email>
</author>
<published>2012-01-10T23:41:15Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=320d41bb1597799669bab28a047f9868dd754aca'/>
<id>urn:sha1:320d41bb1597799669bab28a047f9868dd754aca</id>
<content type='text'>
Arnaud Lacombe pointed out the final checking that the requested configs
were included in the final .config was broken.

The example was that if you had a fragment that disabled
CONFIG_DECOMPRESS_GZIP applied to a normal defconfig, there would be no
final warning that CONFIG_DECOMPRESS_GZIP was acutally set in the final
.config.

This bug was introduced by me in v3 of the original patch, and the
following patch reverts the invalid change.

Signed-off-by: John Stultz &lt;john.stultz@linaro.org&gt;
Reported-by: Arnaud Lacombe &lt;lacombar@gmail.com&gt;
Cc: Darren Hart &lt;dvhart@linux.intel.com&gt;
Cc: Michal Marek &lt;mmarek@suse.cz&gt;
Cc: Arnaud Lacombe &lt;lacombar@gmail.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Michal Marek &lt;mmarek@suse.cz&gt;
</content>
</entry>
<entry>
<title>merge_config.sh: whitespace cleanup</title>
<updated>2012-01-14T20:44:29Z</updated>
<author>
<name>Darren Hart</name>
<email>dvhart@linux.intel.com</email>
</author>
<published>2012-01-10T23:41:12Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=c0c0cda276b796e9c9710672b3bb4a737dbb4900'/>
<id>urn:sha1:c0c0cda276b796e9c9710672b3bb4a737dbb4900</id>
<content type='text'>
Fix whitespace usage in the clean_up routine.

Signed-off-by: Darren Hart &lt;dvhart@linux.intel.com&gt;
Acked-by: John Stultz &lt;john.stultz@linaro.org&gt;
Cc: Michal Marek &lt;mmarek@suse.cz&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Michal Marek &lt;mmarek@suse.cz&gt;
</content>
</entry>
<entry>
<title>merge_config.sh: use signal names compatible with dash and bash</title>
<updated>2012-01-14T20:44:29Z</updated>
<author>
<name>Darren Hart</name>
<email>dvhart@linux.intel.com</email>
</author>
<published>2012-01-10T23:41:10Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=041b78c89b1fe68f44c45e8b6cc6c9f8ea8f0e4c'/>
<id>urn:sha1:041b78c89b1fe68f44c45e8b6cc6c9f8ea8f0e4c</id>
<content type='text'>
The SIGHUP SIGINT and SIGTERM names caused failures when running
merge_config.sh with the dash shell.  Dropping the "SIG" component makes
the script work in both bash and dash.

Signed-off-by: Darren Hart &lt;dvhart@linux.intel.com&gt;
Acked-by: John Stultz &lt;john.stultz@linaro.org&gt;
Cc: Michal Marek &lt;mmarek@suse.cz&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Michal Marek &lt;mmarek@suse.cz&gt;
</content>
</entry>
<entry>
<title>kconfig: add merge_config.sh script</title>
<updated>2012-01-14T20:44:28Z</updated>
<author>
<name>john stultz</name>
<email>johnstul@us.ibm.com</email>
</author>
<published>2012-01-10T23:41:08Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=4b5f72145e3ba85e38240dba844ebe1fcbb73713'/>
<id>urn:sha1:4b5f72145e3ba85e38240dba844ebe1fcbb73713</id>
<content type='text'>
After noticing almost every distro has their own method of managing config
fragments, I went looking at some best practices, and wanted to try to
consolidate some of the different approaches so this fairly simple
infrastructure can be shared (and new distros/build systems don't have to
implement yet another config fragment merge script).

This script is most influenced by the Windriver tools used in the Yocto
Project, reusing some portions found there.

This script merges multiple config fragments, warning on any overridden
values.  It then sets any unspecified values to their default, then
finally checks to make sure no specified value was dropped due to
unsatisfied dependencies.

I'm sure this implementation won't work for everyone, and I expect it will
need to evolve to adapt for various use cases.  But I think its a
reasonable starting point.

Cc: Sam Ravnborg &lt;sam@ravnborg.org&gt;
Cc: Greg Thelen &lt;gthelen@google.com&gt;
Cc: Reinhard Tartler &lt;Reinhard.Tartler@informatik.uni-erlangen.de&gt;
Cc: Dmitry Fink &lt;Dmitry.Fink@palm.com&gt;
Cc: Darren Hart &lt;dvhart@linux.intel.com&gt;
Cc: Eric B Munson &lt;ebmunson@us.ibm.com&gt;
Cc: Bruce Ashfield &lt;Bruce.Ashfield@windriver.com&gt;
Cc: Michal Marek &lt;mmarek@suse.cz&gt;
Signed-off-by: John Stultz &lt;john.stultz@linaro.org&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Michal Marek &lt;mmarek@suse.cz&gt;
</content>
</entry>
<entry>
<title>kconfig/streamline-config.pl: Fix parsing Makefile with variables</title>
<updated>2012-01-13T23:01:48Z</updated>
<author>
<name>Steven Rostedt</name>
<email>srostedt@redhat.com</email>
</author>
<published>2012-01-13T22:53:40Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=364212fddaaa60c5a64f67a0f5624ad996ecc8a0'/>
<id>urn:sha1:364212fddaaa60c5a64f67a0f5624ad996ecc8a0</id>
<content type='text'>
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;
Cc: stable@vger.kernel.org
Signed-off-by: Steven Rostedt &lt;rostedt@goodmis.org&gt;
</content>
</entry>
</feed>
