<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/scripts/kconfig/conf.c, branch v3.9</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=v3.9</id>
<link rel='self' href='https://git.shady.money/linux/atom?h=v3.9'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/'/>
<updated>2013-02-19T12:48:36Z</updated>
<entry>
<title>kbuild: Fix missing '\n' for NEW symbols in yes "" | make oldconfig &gt;conf.new</title>
<updated>2013-02-19T12:48:36Z</updated>
<author>
<name>Ben Hutchings</name>
<email>ben@decadent.org.uk</email>
</author>
<published>2013-02-19T00:24:26Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=62dc989921df2a98d1a73aacd085abe941cb9828'/>
<id>urn:sha1:62dc989921df2a98d1a73aacd085abe941cb9828</id>
<content type='text'>
According to Documentation/kbuild/kconfig.txt, the commands:

    yes "" | make oldconfig &gt;conf.new
    grep "(NEW)" conf.new

should list the new config symbols with their default values.
However, currently there is no line break after each new symbol.  When
kconfig is interactive the user will type a new-line at this point,
but when non-interactive kconfig must print it.

Signed-off-by: Ben Hutchings &lt;ben@decadent.org.uk&gt;
Reference: http://bugs.debian.org/636029
[regid23@nt1.in: Adjusted Ben's work to apply cleanly to this tree]
Reported-and-tested-by: Regid Ichira &lt;regid23@nt1.in&gt;
Reviewed-by: Jonathan Nieder &lt;jrnieder@gmail.com&gt;
Signed-off-by: Michal Marek &lt;mmarek@suse.cz&gt;
</content>
</entry>
<entry>
<title>kconfig: replace 'oldnoconfig' with 'olddefconfig', and keep the old name as an alias</title>
<updated>2012-09-27T16:18:07Z</updated>
<author>
<name>Adam Lee</name>
<email>adam8157@gmail.com</email>
</author>
<published>2012-08-31T17:05:17Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=fb16d8912db5268f29706010ecafff74b971c58d'/>
<id>urn:sha1:fb16d8912db5268f29706010ecafff74b971c58d</id>
<content type='text'>
As 67d34a6a391369269a2e5dba8a5f42cc4cd50231 said, 'oldnoconfig' doesn't
set new symbols to 'n', but instead sets it to their default values.

So, this patch replaces 'oldnoconfig' with 'olddefconfig', stop making
people confused, and keep the old name 'oldnoconfig' as an alias,
because people already are dependent on its behavior with the
counter-intuitive name.

Signed-off-by: Adam Lee &lt;adam8157@gmail.com&gt;
Signed-off-by: Michal Marek &lt;mmarek@suse.cz&gt;
</content>
</entry>
<entry>
<title>kconfig: document oldnoconfig to what it really does in conf.c</title>
<updated>2012-08-31T14:56:51Z</updated>
<author>
<name>Adam Lee</name>
<email>adam8157@gmail.com</email>
</author>
<published>2012-08-17T06:57:28Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=1d52a4a79188e5567b6c55f67e20a4f1043d10d3'/>
<id>urn:sha1:1d52a4a79188e5567b6c55f67e20a4f1043d10d3</id>
<content type='text'>
As 67d34a6a391369269a2e5dba8a5f42cc4cd50231 said, the make target
'oldnoconfig' is a misnomer. It doesn't set new symbols to 'n', but
instead sets it to their default values.

This patch fixes the document in conf.c, and will submit another patch
to replace 'oldnoconfig' to 'olddefconfig'

Signed-off-by: Adam Lee &lt;adam8157@gmail.com&gt;
Signed-off-by: Michal Marek &lt;mmarek@suse.cz&gt;
</content>
</entry>
<entry>
<title>kbuild: all{no,yes,mod,def,rand}config only read files when instructed to.</title>
<updated>2012-05-07T18:51:06Z</updated>
<author>
<name>Eric W. Biederman</name>
<email>ebiederm@xmission.com</email>
</author>
<published>2012-05-07T12:37:45Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=9f420bf0f4a74e404b73b42b7fc3c85c20c64ea7'/>
<id>urn:sha1:9f420bf0f4a74e404b73b42b7fc3c85c20c64ea7</id>
<content type='text'>
Prevent subtle surprises to both people working on the kconfig code
and people using make allnoconfig allyesconfig allmoconfig and
randconfig by only attempting to read a config file if
KCONFIG_ALLCONFIG is set.

Common sense suggests attempting to read the extra config files does
not make sense unless requested.  The documentation says the code
won't attempt to read the extra config files unless requested.
Current usage does not appear to include people depending on the code
reading the config files without the variable being set So do the
simple thing and stop reading config files when passed
all{no,yes,mod,def,rand}config unless KCONFIG_ALLCONFIG environment
variable is set.

Signed-off-by: Eric W. Biederman &lt;ebiederm@xmission.com&gt;
Reported-by: Stephen Rothwell &lt;sfr@canb.auug.org.au&gt;
Signed-off-by: Michal Marek &lt;mmarek@suse.cz&gt;
</content>
</entry>
<entry>
<title>kconfig: Add error handling to KCONFIG_ALLCONFIG</title>
<updated>2012-05-04T22:24:07Z</updated>
<author>
<name>Eric W. Biederman</name>
<email>ebiederm@xmission.com</email>
</author>
<published>2012-04-26T08:51:32Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=5efe241eac80bb534fed0a965684c2d7527af5bf'/>
<id>urn:sha1:5efe241eac80bb534fed0a965684c2d7527af5bf</id>
<content type='text'>
- Only try to read the file specified if KCONFIG_ALL_CONFIG is set to
  something other than the empty string or "1".

- Don't use stat to check the name passed to conf_read_simple so that
  zconf_fopen can find the file in the current directory or in SRCTREE
  removing a extremely source of confusing failure, where KCONFIG_ALL_CONFIG
  was not interpreted with respect to the directory make was called in.

- If conf_read_simple fails complain clearly and stop processing.
  Allowing the simple debugging of typos.

- Clearly document the behavior so it is clear to users which
  values are treated as flags and which values are treated as
  filenames.

Signed-off-by: Eric W. Biederman &lt;ebiederm@xmission.com&gt;
Signed-off-by: Michal Marek &lt;mmarek@suse.cz&gt;
</content>
</entry>
<entry>
<title>kconfig/conf: mark xfgets() private</title>
<updated>2011-07-02T05:04:40Z</updated>
<author>
<name>Arnaud Lacombe</name>
<email>lacombar@gmail.com</email>
</author>
<published>2011-07-02T04:59:41Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=ab63f58f253c3eca620347f5180ca3d6a1b6aa38'/>
<id>urn:sha1:ab63f58f253c3eca620347f5180ca3d6a1b6aa38</id>
<content type='text'>
This function has not much reason to be public. In the mean time, convert
declaration from K&amp;R C to ISO C.

Signed-off-by: Arnaud Lacombe &lt;lacombar@gmail.com&gt;
</content>
</entry>
<entry>
<title>kconfig/conf: add command line options' description</title>
<updated>2011-07-02T05:04:39Z</updated>
<author>
<name>Arnaud Lacombe</name>
<email>lacombar@gmail.com</email>
</author>
<published>2010-11-02T04:26:33Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=32543999f31e8e3a25325cc7c25d98db0c111118'/>
<id>urn:sha1:32543999f31e8e3a25325cc7c25d98db0c111118</id>
<content type='text'>
Signed-off-by: Arnaud Lacombe &lt;lacombar@gmail.com&gt;
</content>
</entry>
<entry>
<title>kconfig/conf: reduce the scope of `defconfig_file'</title>
<updated>2011-07-02T05:04:38Z</updated>
<author>
<name>Arnaud Lacombe</name>
<email>lacombar@gmail.com</email>
</author>
<published>2010-10-14T00:43:28Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=275744cc8da0fd006e8f8fc1090f01dc0296810d'/>
<id>urn:sha1:275744cc8da0fd006e8f8fc1090f01dc0296810d</id>
<content type='text'>
This variable is not used outside of main() so there is not much reason keeping
it global. Ensure it is initialized as gcc has no way to know that normal
execution path expect only one option switch to be given on the command line
(except when we request help). As a result, we always initialize
`defconfig_file' before using it.

Signed-off-by: Arnaud Lacombe &lt;lacombar@gmail.com&gt;
</content>
</entry>
<entry>
<title>kconfig: nuke LKC_DIRECT_LINK cruft</title>
<updated>2011-06-06T19:32:20Z</updated>
<author>
<name>Arnaud Lacombe</name>
<email>lacombar@gmail.com</email>
</author>
<published>2011-06-01T20:14:47Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=5a6f8d2bd9e3392569ed6f29ea4d7210652f929b'/>
<id>urn:sha1:5a6f8d2bd9e3392569ed6f29ea4d7210652f929b</id>
<content type='text'>
This interface is not (and has never been ?) used by any frontend, just get rid
of it.

Signed-off-by: Arnaud Lacombe &lt;lacombar@gmail.com&gt;
</content>
</entry>
<entry>
<title>kconfig: annotate non-trivial fall-trough</title>
<updated>2011-06-06T19:32:10Z</updated>
<author>
<name>Arnaud Lacombe</name>
<email>lacombar@gmail.com</email>
</author>
<published>2011-05-31T16:30:26Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=d8fc320079b46cf462897148f48d4a63f37f56ce'/>
<id>urn:sha1:d8fc320079b46cf462897148f48d4a63f37f56ce</id>
<content type='text'>
Signed-off-by: Arnaud Lacombe &lt;lacombar@gmail.com&gt;
</content>
</entry>
</feed>
