]> git.sur5r.net Git - u-boot/commit
scripts: fix binutils-version.sh
authorMasahiro Yamada <yamada.m@jp.panasonic.com>
Thu, 25 Dec 2014 02:09:44 +0000 (11:09 +0900)
committerTom Rini <trini@ti.com>
Mon, 29 Dec 2014 21:31:23 +0000 (16:31 -0500)
commit73c25753060c58e4c339fba306ed0ded0c335748
treeecd520fb3a5a03bd98c9b6f0ec77b93e54d8d0ba
parent914627fe1c575112cd2aa14ab83cfa249e6810d6
scripts: fix binutils-version.sh

The current binutils-version.sh expects the version string at the end
of the first line.  It turned out to not work with Linaro toolchain:
It has "Linaro 2014.09" at the back.

To fix this issue, let's parse the word right after the close
parenthesis.

Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Reported-by: York Sun <yorksun@freescale.com>
Acked-by: Dirk Behme <dirk.behme@gmail.com>
scripts/binutils-version.sh