]> git.baikalelectronics.ru Git - kernel.git/commit
scripts/config: fix assignment of parameters for short version of --*-after options
authorClement Chauplannaz <chauplac@gmail.com>
Sun, 12 May 2013 19:08:52 +0000 (21:08 +0200)
committerYann E. MORIN <yann.morin.1998@free.fr>
Mon, 20 May 2013 12:15:17 +0000 (14:15 +0200)
commitfa0ab9dfb933b67e1f2dbfb3465e369f25dcee1e
treec1eb485d45dee70287ac9ca8dca693e0a91bc65d
parent8d558d708ac7028555343d7c77c3fa7aa5714f99
scripts/config: fix assignment of parameters for short version of --*-after options

When --*-after options are used, two parameters are parsed from the
command-line before the adequate function is called:
  - the `before' option, after which the new option will be inserted,
  - the name of the option to enable/disable/modularise.

With the short version of --*-after options (namely -E, -D, -M), the
parsing step is not performed which leads to processing unset variables.

Add options -E, -D, -M to the test that triggers assignment of parameters
for --*-after options.

Signed-off-by: Clement Chauplannaz <chauplac@gmail.com>
Acked-by: Andi Kleen <ak@linux.intel.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
scripts/config