kbuild: clean up scripts/gcc-version.sh
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Fri, 1 Mar 2019 07:10:22 +0000 (16:10 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Mon, 4 Mar 2019 13:35:04 +0000 (22:35 +0900)
commitfa7295ab69a32d2bea0fc67ef7e1a2a4c324db1b
tree9bbdee61416024cc83401395eebe47d6c65b504b
parentd3a918c659ed0998ac668de3973e81bab81dde74
kbuild: clean up scripts/gcc-version.sh

Now that the Kconfig is the only user of this script, we can drop
unneeded code.

Remove the -p option, and stop prepending the output with zero,
so that Kconfig can directly use the output from this script.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
init/Kconfig
scripts/Kconfig.include
scripts/gcc-version.sh