]> git.baikalelectronics.ru Git - kernel.git/commit
kbuild: do not use scripts/ld-version.sh for checking spatch version
authorMasahiro Yamada <masahiroy@kernel.org>
Sat, 12 Dec 2020 16:54:29 +0000 (01:54 +0900)
committerJulia Lawall <Julia.Lawall@inria.fr>
Sat, 12 Dec 2020 17:31:29 +0000 (18:31 +0100)
commitd32e955f6310d6ce151095fe462ff92d3aa8e363
tree4f2c666ee310afa206dac40dbb7a4acec01da4e5
parent08ddd9fef62b281b1892c11879c861bd4b586ef5
kbuild: do not use scripts/ld-version.sh for checking spatch version

scripts/ld-version.sh was, as its file name implies, originally intended
for the GNU ld version, but is (ab)used for the spatch version too.

Use 'sort -CV' for the version comparison, then coccicheck does not need
to use scripts/ld-version.sh. Fix nsdeps as well.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Signed-off-by: Julia Lawall <Julia.Lawall@inria.fr>
scripts/coccicheck
scripts/nsdeps