]> git.baikalelectronics.ru Git - uboot.git/commit
scripts/setlocalversion: sync with linux 5.8
authorRasmus Villemoes <rasmus.villemoes@prevas.dk>
Tue, 25 Aug 2020 15:28:39 +0000 (17:28 +0200)
committerTom Rini <trini@konsulko.com>
Thu, 27 Aug 2020 19:55:18 +0000 (15:55 -0400)
commit07d8dde94d82dc339b2b7af461e5aec4b6a384d8
treea6b8663e5d156f85846d187248597888043e0d3e
parentd28b5ebc5a878016017cad613d561c5b3a2da3a8
scripts/setlocalversion: sync with linux 5.8

The linux changes since v3.16 are

78283edf2c01 kbuild: setlocalversion: print error to STDERR
b24413180f56 License cleanup: add SPDX GPL-2.0 license identifier to files with no license
6147b1cf1965 scripts/setlocalversion: git: Make -dirty check more robust
8ef14c2c41d9 Revert "scripts/setlocalversion: git: Make -dirty check more robust"
ff64dd485730 scripts/setlocalversion: Improve -dirty check with git-status --no-optional-locks
7a82e3fa28f1 scripts/setlocalversion: clear local variable to make it work for sh
991b78fbd223 scripts: setlocalversion: fix a bashism
3c96bdd0ebfa scripts: setlocalversion: replace backquote to dollar parenthesis

and it's ff64dd485730 that is the motivation for this sync. It fixes
false positive "-dirty" added to the version string when building with
Yocto
(https://lists.openembedded.org/g/openembedded-core/message/137702).

There has been one U-Boot specific patch since this was synced with
linux 3.16: 1975348dc272 (scripts: setlocalversion: safely extract
variables from auto.conf using awk).  Keep these changes applied.

Signed-off-by: Rasmus Villemoes <rasmus.villemoes@prevas.dk>
[trini: Re-add 1975348dc272 and reword message]
Signed-off-by: Tom Rini <trini@konsulko.com>
scripts/setlocalversion