kbuild: dummy-tools: adjust to scripts/cc-version.sh
authorMasahiro Yamada <masahiroy@kernel.org>
Tue, 9 Mar 2021 16:25:45 +0000 (01:25 +0900)
committerMasahiro Yamada <masahiroy@kernel.org>
Thu, 11 Mar 2021 05:52:54 +0000 (14:52 +0900)
commitf9bc754be475582e2cc44296f7de0aaedbdbefeb
tree36ef3c87d6bdc7479488f1bd6dbb208eead83b60
parentbf3c255150619b71badb328c4dab48401a7ed62d
kbuild: dummy-tools: adjust to scripts/cc-version.sh

Commit aec6c60a01d3 ("kbuild: check the minimum compiler version in
Kconfig") changed how the script detects the compiler version.

Get 'make CROSS_COMPILE=scripts/dummy-tools/' back working again.

Fixes: aec6c60a01d3 ("kbuild: check the minimum compiler version in Kconfig")
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Reviewed-by: Nathan Chancellor <nathan@kernel.org>
Tested-by: Nathan Chancellor <nathan@kernel.org>
Acked-by: Miguel Ojeda <ojeda@kernel.org>
scripts/dummy-tools/gcc