Re: [PATCH 1/3] kbuild: add clang-version.sh
From: Nick Desaulniers
Date: Wed Nov 29 2017 - 12:39:39 EST
+# clang-version [-p] clang-command
+#
+# Prints the compiler version of `command' in a canonical 4-digit form
small nit: `command` should be `clang-command`, but its just a comment
(maybe the maintainer can make that change when/if applying).
The conditional at the end to see if $with_patchlevel using "x" is
odd, but this is what scripts/gcc-version.sh does and this patch does
work as expected.
Tested-by: Nick Desaulniers <ndesaulniers@xxxxxxxxxx>