<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/scripts/config, branch v3.9</title>
<subtitle>Linux kernel source tree</subtitle>
<id>https://git.amat.us/linux/atom/scripts/config?h=v3.9</id>
<link rel='self' href='https://git.amat.us/linux/atom/scripts/config?h=v3.9'/>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/'/>
<updated>2012-12-14T13:16:10Z</updated>
<entry>
<title>scripts/config: Fix wrong "shift" for --keep-case</title>
<updated>2012-12-14T13:16:10Z</updated>
<author>
<name>Hiroshi Doyu</name>
<email>hdoyu@nvidia.com</email>
</author>
<published>2012-12-14T06:47:59Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=c6ba8d06ecfc1dadcf7f1b54960cf9332ba5ae8d'/>
<id>urn:sha1:c6ba8d06ecfc1dadcf7f1b54960cf9332ba5ae8d</id>
<content type='text'>
Remove wrong "shift" for --keep-case. There is always "shift" at
beginning of while-loop. No need "shift" at --keep-case just before
"continue" to process next argument.

Now the following works as expected:

./scripts/config -e aAa -k -e bBb -e cCc &amp;&amp; tail -3 .config
CONFIG_AAA=y
CONFIG_bBb=y
CONFIG_cCc=y

Signed-off-by: Hiroshi Doyu &lt;hdoyu@nvidia.com&gt;
Signed-off-by: Michal Marek &lt;mmarek@suse.cz&gt;
</content>
</entry>
<entry>
<title>Merge branch 'misc' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild</title>
<updated>2012-07-30T18:23:37Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@linux-foundation.org</email>
</author>
<published>2012-07-30T18:23:37Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=f6774cbcad7aa21ac0d4fc92a5e4deae901f6534'/>
<id>urn:sha1:f6774cbcad7aa21ac0d4fc92a5e4deae901f6534</id>
<content type='text'>
Pull misc kbuild changes from Michal Marek:
 "This is the non-critical part of kbuild for v3.6-rc1:

   - Two new coccinelle semantic patches
   - New scripts/tags.sh regexp
   - scripts/config improvements that I mistakenly applied here instead
     of in the kconfig branch (but there are no conflicts)
   - Debian packaging fixes"

* 'misc' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild:
  scripts/tags.sh: Teach [ce]tags about libtraceeevent error codes
  scripts/coccinelle: list iterator variable semantic patch
  scripts/coccinelle: Find threaded IRQs requests which are missing IRQF_ONESHOT
  deb-pkg: Add all Makefiles to header package
  deb-pkg: Install linux-firmware-image in versioned dir
  scripts/config: add option to undef a symbol
  scripts/config: allow alternate prefix to config option symbol
  scripts/config: add option to not upper-case symbols
</content>
</entry>
<entry>
<title>scripts/config: fix double-quotes un-escaping</title>
<updated>2012-07-26T10:20:01Z</updated>
<author>
<name>Yann E. MORIN</name>
<email>yann.morin.1998@free.fr</email>
</author>
<published>2012-07-15T20:37:35Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=1925a276afa78c305dacb7f2da11825bffecad44'/>
<id>urn:sha1:1925a276afa78c305dacb7f2da11825bffecad44</id>
<content type='text'>
When reporting a string value, only the first double-quote was
un-escaped. We need to un-escape all escaped double-quotes.

Signed-off-by: "Yann E. MORIN" &lt;yann.morin.1998@free.fr&gt;
Signed-off-by: Michal Marek &lt;mmarek@suse.cz&gt;
</content>
</entry>
<entry>
<title>scripts/config: add option to undef a symbol</title>
<updated>2012-06-28T08:38:54Z</updated>
<author>
<name>Yann E. MORIN</name>
<email>yann.morin.1998@free.fr</email>
</author>
<published>2012-06-07T23:48:57Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=d5bfb6b3814b2c9cd83e9395a60fc4b4e42a242d'/>
<id>urn:sha1:d5bfb6b3814b2c9cd83e9395a60fc4b4e42a242d</id>
<content type='text'>
It is currently possible to enable, disable or modularise
a symbol. Also, an undefined symbol is reported as such.

Add a new command to undefine a symbol, by removing the
corresponding line from the .config file.

Signed-off-by: "Yann E. MORIN" &lt;yann.morin.1998@free.fr&gt;
Signed-off-by: Michal Marek &lt;mmarek@suse.cz&gt;
</content>
</entry>
<entry>
<title>scripts/config: allow alternate prefix to config option symbol</title>
<updated>2012-06-28T08:38:54Z</updated>
<author>
<name>Yann E. MORIN</name>
<email>yann.morin.1998@free.fr</email>
</author>
<published>2012-06-07T23:48:56Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=f5ef2f7bf2e389f5c94d69e09268356f4c2b8220'/>
<id>urn:sha1:f5ef2f7bf2e389f5c94d69e09268356f4c2b8220</id>
<content type='text'>
While the Linux kernel uses 'CONFIG_' as a prefix to the config options
symbols, many projects that use kconfig may use different prefixes, or
even none at all.

If the CONFIG_ environment variable is set, use it as the prefix (empty
is a valid prefix). Otherwise, use the default prefix 'CONFIG_'.

This matches the support for alternate prefixes in scripts/kconfig/lkc.h,
which uses the same logic (albeit with a C define instead of an environment
variable).

Signed-off-by: "Yann E. MORIN" &lt;yann.morin.1998@free.fr&gt;
Signed-off-by: Michal Marek &lt;mmarek@suse.cz&gt;
</content>
</entry>
<entry>
<title>scripts/config: add option to not upper-case symbols</title>
<updated>2012-06-28T08:38:54Z</updated>
<author>
<name>Yann E. MORIN</name>
<email>yann.morin.1998@free.fr</email>
</author>
<published>2012-06-07T23:48:55Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=4edc7e32affd40ceb06ba58ff55e4664396b24c7'/>
<id>urn:sha1:4edc7e32affd40ceb06ba58ff55e4664396b24c7</id>
<content type='text'>
Currently, scripts/config mangles the config option symbols to always
be upper-case.

While the Linux kernel almost exclusively uses upper-case symbols, there
are still a few symbols with lower-case which this script can not handle:

  $ grep -r -E '^[[:space:]]*config[[:space:]]+[^[:space:]]*[[:lower:]][^[:space:]=.]*$' . |wc -l
  173
(that's roughly 1.3% of the symbols in 3.5-rc1)

Eg.:
  ./arch/arm/Kconfig:config VFPv3
  ./arch/powerpc/platforms/Kconfig.cputype:config 40x
  ./arch/x86/Kconfig:config SCx200HR_TIMER
  ./drivers/video/console/Kconfig:config FONT_8x8
  ./drivers/video/Kconfig:config NTSC_640x480

Also, other projects that use kconfig may allow for lower- or mixed-case
symbols, and may find easier to reuse this script than implement each
their own (potentially flawed) logic. For such a use-case, see:
    http://marc.info/?l=linux-kbuild&amp;m=133409932115848&amp;w=2

This patch adds a new option to keep the given case, and keep the current
default to upper-case the symbols.

Signed-off-by: "Yann E. MORIN" &lt;yann.morin.1998@free.fr&gt;
Signed-off-by: Michal Marek &lt;mmarek@suse.cz&gt;
</content>
</entry>
<entry>
<title>scripts/config: properly report and set string options</title>
<updated>2012-05-15T22:13:11Z</updated>
<author>
<name>Yann E. MORIN</name>
<email>yann.morin.1998@free.fr</email>
</author>
<published>2012-04-09T12:49:10Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=d6686da814c884e341d3bd8aa54947c91cb678be'/>
<id>urn:sha1:d6686da814c884e341d3bd8aa54947c91cb678be</id>
<content type='text'>
Currently, scripts/config removes the leading double-quote from
string options, but leaves the trailing double-quote.

Also, double-quotes in a string are escaped, but scripts/config
does not unescape those when printing

Finally, scripts/config does not escape double-quotes when setting
string options.

Eg. the current behavior:
    $ grep -E '^CONFIG_FOO=' .config
    CONFIG_FOO="Bar \"Buz\" Meh"
    $ ./scripts/config -s FOO
    Bar \"Buz\" Meh"
    $ ./scripts/config --set-str FOO 'Alpha "Bravo" Charlie'
    $ grep -E '^CONFIG_FOO=' .config
    CONFIG_FOO="Alpha "Bravo" Charlie"

Fix those three, giving this new behavior:
    $ grep -E '^CONFIG_FOO=' .config
    CONFIG_FOO="Bar \"Buz\" Meh"
    $ ./scripts/config -s FOO
    Bar "Buz" Meh
    $ ./scripts/config --set-str FOO 'Alpha "Bravo" Charlie'
    $ grep -E '^CONFIG_FOO=' .config
    CONFIG_FOO="Alpha \"Bravo\" Charlie"

Signed-off-by: "Yann E. MORIN" &lt;yann.morin.1998@free.fr&gt;
Acked-by: Andi Kleen &lt;andi@firstfloor.org&gt;
Signed-off-by: Michal Marek &lt;mmarek@suse.cz&gt;
</content>
</entry>
<entry>
<title>kbuild: add numeric --set-val option to scripts/config</title>
<updated>2010-12-15T14:44:31Z</updated>
<author>
<name>Jonas Aaberg</name>
<email>jonas.aberg@stericsson.com</email>
</author>
<published>2010-12-15T07:37:00Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=f0a6332ce221614fbd0731af92f668892fa4b700'/>
<id>urn:sha1:f0a6332ce221614fbd0731af92f668892fa4b700</id>
<content type='text'>
Add new option to scripts/config for changing .config numeric values

Acked-by: Linus Walleij &lt;linus.walleij@stericsson.com&gt;
Signed-off-by: Jonas Aaberg &lt;jonas.aberg@stericsson.com&gt;
Signed-off-by: Michal Marek &lt;mmarek@suse.cz&gt;
</content>
</entry>
<entry>
<title>Kconfig: fix single letter command in scripts/config</title>
<updated>2010-11-25T14:51:42Z</updated>
<author>
<name>Andi Kleen</name>
<email>ak@linux.intel.com</email>
</author>
<published>2010-11-05T11:06:05Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=45f53cc90e8f0e46ab024d0bc1de49ebee0dc583'/>
<id>urn:sha1:45f53cc90e8f0e46ab024d0bc1de49ebee0dc583</id>
<content type='text'>
The one letter commands in scripts/config didn't work and always
printed usage. Fix this here.

Cc: erick@openchill.org
Reported-by: erick@openchill.org
Signed-off-by: Andi Kleen &lt;ak@linux.intel.com&gt;
Signed-off-by: Michal Marek &lt;mmarek@suse.cz&gt;
</content>
</entry>
<entry>
<title>kbuild: add generic --set-str option to scripts/config</title>
<updated>2009-06-14T20:48:08Z</updated>
<author>
<name>Michal Marek</name>
<email>mmarek@suse.cz</email>
</author>
<published>2009-05-25T14:43:27Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=1f990cf94559e0a7363d56aade1d5dc6c515b60b'/>
<id>urn:sha1:1f990cf94559e0a7363d56aade1d5dc6c515b60b</id>
<content type='text'>
Signed-off-by: Michal Marek &lt;mmarek@suse.cz&gt;
Signed-off-by: Sam Ravnborg &lt;sam@ravnborg.org&gt;
</content>
</entry>
</feed>
