forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-10 748e4f3d702def1a4bff191e0cf93b6a05340f01
kernel/scripts/clang-version.sh
....@@ -1,14 +1,10 @@
11 #!/bin/sh
22 # SPDX-License-Identifier: GPL-2.0
33 #
4
-# clang-version [-p] clang-command
4
+# clang-version clang-command
55 #
6
-# Prints the compiler version of `clang-command' in a canonical 4-digit form
7
-# such as `0500' for clang-5.0 etc.
8
-#
9
-# With the -p option, prints the patchlevel as well, for example `050001' for
10
-# clang-5.0.1 etc.
11
-#
6
+# Print the compiler version of `clang-command' in a 5 or 6-digit form
7
+# such as `50001' for clang-5.0.1 etc.
128
139 compiler="$*"
1410