kconfig: add CONFIG_LOCALVERSION and CONFIG_LOCALVERSION_AUTO

Copy Kconfig options from "init/Kconfig" of Linux v3.16 tag
and adjust some parts of the help document.

Move CONFIG_SPL, CONFIG_TPL, ... etc. to "Boot images" menu.

Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
scripts: refetch scripts/setlocalversion from Linux 3.16

Now we have CONFIG_LOCALVERSION and CONFIG_LOCALVERSION_AUTO
in Kconfig so we can use scripts/setlocalversion without
any adjustment.  Copy it from Linux 3.16 as is.

Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
kconfig: add CONFIG_CC_OPTIMIZE_FOR_SIZE

Copy the Kconfig option from "init/Kconfig" of Linux v3.16 tag
and adjust the help document.

Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
kconfig: move
cosmetic: Kconfig: fix a typo

Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
kconfig: add CONFIG_CROSS_COMPILE

Copy from Linux Kernel (with a few adjustments in comments).
tools: move_config
scripts/Lindent: import from Linux 3.16

Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
README.kconfig: add initial version of Kconfig document

Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Series-cc: sjg
Series-cc: trini
Commit-notes:

Please point out if my English is strange, there is something unclear,
or something important is missing.

END
doc: delete README.ARM-SoC

This document is too old and useless.

Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
doc: README.SPL: adjust for Kbuild and Kconfig

Reflect the latest build system to doc/README.SPL.

Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
kconfig: make multiconfig.py compatible with Python 2.4

The statements "with ... as ..." and "except ... as ..."
are available in Python 2.6 or lator.
Do not use them to support older version of Python.
Tested on Python 2.4.6.

Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Series-cc: Yan, Miao <Miao.Yan@windriver.com>
Series-cc: trini
Series-cc: sjg
Series-version: 2
Series-changes: 2
  - Fix git-description.  s/exception/except/

Series-prefix: RFC
Cover-letter:
Make Python scripts compatible with older versions

It was reported by Miao Yan that the kconfig-related Python scripts
are not working on Python 2.4.

Do we have any consensus in terms of Python version requirement?

This series avoids using "with ... as ..." and "except ... as ..."
statements.  But "with ... as ..." is used everywhere in buildman,
which means buildman requires at least Python 2.6.

It is true we hope tools can work on broad range of versions,
but it also means we have more restrictions when writing Python scripts.

I have no idea which version we should expect at least.
Your comments are welcome.

END
tools: make genboardscfg.py compatible with Python 2.5

The statement "exception ... as ..." can be used in Python 2.6
or lator. Avoid using it.
Tested on Python 2.5.6.

Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Series-changes: 2
  - Fix git-description.  s/exception/except/