MAKEALL: fix get_target_arch() to adjust to '-' in Status field
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Mon, 6 Apr 2015 02:12:28 +0000 (11:12 +0900)
committerTom Rini <trini@konsulko.com>
Tue, 7 Apr 2015 12:41:10 +0000 (08:41 -0400)
commitbf678dfd426f0bc2eb6488fb56acc57d39d07b95
tree9253501f3c96dcd13c46b6085f06917a9147cd0d
parentcffcd2861310855130db52c93f7bf4d9b511741d
MAKEALL: fix get_target_arch() to adjust to '-' in Status field

Since the Kconfig conversion, boards.cfg scanned by MAKEALL is
generated by tools/genboardscfg.py.  Every board is supposed to have
its own MAINTAINERS that contains maintainer and status information,
but, in fact, MAINTAINERS is missing from some boards.

For such boards, the first field, Status, is filled with '-'.
It causes a problem for "set" command, which ignores '-' in its
arguments.  Consequently, get_target_arch() returns a wrong field
and MAKEALL fails to get a correct toolchain.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
MAKEALL