commit | 4b4b6a05568b40bd1c71ea4849e9ada1290d827e | [log] [tgz] |
---|---|---|
author | Martin Hundebøll <martin@geanix.com> | Wed May 03 12:23:39 2023 +0200 |
committer | Tom Rini <trini@konsulko.com> | Mon May 15 14:08:44 2023 -0400 |
tree | a7a195ecb46c93006d6466b56ecf18bf76a8f7fa | |
parent | bc352c8575c3aada919c9d02f79d6c90fc423d27 [diff] |
scripts: dtc-version: support git version strings too Building dtc from git causes the version number to start with a 'v' (e.g. v1.7.0). printf then fails to parse 'v1' as a decimal value, and prints '000700' instead of '010700'. Subsequently, the build fails, because '000700' is less than the required '010400' version. Signed-off-by: Martin Hundebøll <martin@geanix.com>